Power Engineering 
K-JIANG
NameDescriptionContent
Current Location:

A-B ASCll Data Transfer to theSLC 500M BASlC Module(Series B)

From:A-B | author:Mr.Chen | Time :2024-11-23 | 209 view: | 🔊 Click to read aloud ❚❚ | Share:

Because of the variety of uses for this information, the user of and

those responsible for applying this information must satisfy

themselves as to the acceptability of each application and use of the

program. In no event will Allen-Bradley Company be responsible or

liable for indirect or consequential damages resulting from the use or

application of this information.

The illustrations, charts, and examples shown in this document are

intended solely to illustrate the principles of programmable

controllers and some of the methods used to apply them. Particularly

because of the many requirements associated with any particular

application, Allen-Bradley Company cannot assume responsibility or

liability for actual use based upon the illustrative uses and applications.

No patent liability is assumed by Allen-Bradley Company with

respect to use of information, circuits, equipment, or software

described in this text.

Reproduction of the contents of this document, in whole or in part,

without written permission of Allen-Bradley Company is prohibited.

Introduction

This application note demonstrates how to transfer ASCII data to an

SLC 5/02 or later processor by using a remote SLC 500 BASIC

module. An example shows how to transfer a maximum of 10

ASCII characters to an SLC 5/03 processor.

General Information

M-files cannot be accessed from a module in a remote I/O chassis.

Therefore, the BASIC module (Catalog Number 1746-BAS) is

limited to its 8 input and 8 output image words for data transfer

between itself and the SLC 5/02 or later processor. The first three

words of the I/O image are reserved for handshake bits, status, and

character count respectively. So, only 5 input and 5 output words are

available for actual data transfers. In addition, since a total of 8

words of image are used, they must be block transferred because

they do not fit in the image allocated in the Remote I/O Adapter

module (Catalog Number 1747-ASB).

To keep the BASIC programming to a minimum and the throughput

to a maximum, CALL 22 is used to transfer data from PRT1 on the

BASIC module to the SLC 5/03 processor in this case. CALL 22

operates on an interrupt basis, so the throughput of data from PRT1

to the backplane is 10 ms or less. To calculate overall throughput for

your specific system, consult your Remote I/O Adapter User Manual

(Publication 1747-6.13) and your Remote I/O Scanner User Manual

(Publication 1747-6.6).

If you also wish to transfer data from a SLC 5/02 or later processor

to a BASIC module in a remote I/O chassis, please refer to the

BASIC Language Reference Manual (Publication 1746-6.3) and

refer to the section on CALL 23.

Description of the Application Example

This application example transfers up to 10 ASCII characters to the

SLC 5/03 processor. Each data packet less than 10 characters must

be terminated with a carriage return character (13 decimal) in order

to alert the BASIC module to transfer the data to the backplane. This

termination character may actually be any unique character. If you

require a different termination character, simply replace the “13” in

line 150 of the BASIC program with the decimal equivalent of the

new termination character.

Hardware and Software Configuration Information

N7:50 to N7:52 are the control words for the BTR function. N7:53

to N7:55 are the control words for the BTW function. For this

example, the following values must be placed in these words prior to

executing the ladder logic program:

• N7:50 – Must set bit 7 of this word to make it a BTR

• N7:51 – BT length, set to decimal 8

• N7:52 – RIO address (R, G, S), set to 100 decimal

• N7:53 – Must be sure bit 7 is a 0 to make it a BTW

• N7:54 – BT length, set to decimal 1 (only one word required to

transfer handshake bits).

• N7:55 – RIO address (R, G, S), set to 100 decimal

For this application example, the Remote I/O Adapter module is

configured as a logical rack 1, starting group 0,  logical rack size.

Also, 1-slot addressing and 57.6K baud is used.

  • Motorola MVME2604761 Ethernet Controller Board
  • MOTOROLA-84-W8865B01B Wireless communication module
  • MOTOROLA-84-W8973B01A Wireless communication module
  • MVIP-301 Motorola IP-Serial Module
  • MVME2431 Motorola VME Processor Module
  • MVME162-223 Motorola Embedded Controller
  • MOTOROLA Controller Board 01-W3324F
  • Motorola BOARD 466023
  • Motorola 01-W3324F-12A Memory Expansion Module
  • Motorola VME172PA-652SE VME Embedded Controller
  • Motorola MVME335-2 Interface Board
  • Motorola MVME335 Interface Board
  • MVME147SRF Motorola MPU VME Module
  • Motorola MVME705B 6-Channel Serial Transition Module
  • Motorola MVME712A/AM I/O transition module
  • Mitsubishi MXF100-16-N32 MX-F model MELSEC MX Controller
  • Mitsubishi MXF100-8-N32 MX-F model MELSEC MX Controller
  • Mitsubishi MXR500-128 Programmable Automation Controllers MELSEC
  • Mitsubishi MXR300-64 Programmable Automation Controllers MELSEC
  • Mitsubishi MXR300-32 Programmable Automation Controllers MELSEC
  • Mitsubishi MXR300-16 Programmable Automation Controllers MELSEC
  • Mitsubishi MXR500-256 Programmable Automation Controllers MELSEC
  • Mitsubishi MI2012-W-CL Industrial Computer MELIPC Series
  • Mitsubishi MI2012-W Industrial Computer MELIPC Series
  • Mitsubishi MI3321G-W Industrial Computer MELIPC Series
  • Mitsubishi MI5122-VW Industrial Computer MELIPC Series
  • Mitsubishi MI2332-W Industrial Computer MELIPC Series
  • Mitsubishi MI2532-W Industrial Computer MELIPC Series
  • Mitsubishi GU-G04 GCU04AB-130 Commutated Thyristor Board
  • Mitsubishi QX81 Digital Input Module
  • Mitsubishi Electric MELSEC-Q PLC Input Module
  • QD77MS4 Mitsubishi | Simple Motion Module for 4 Axes
  • QY81P | Mitsubishi Digital Output Module
  • QD62D - Mitsubishi High-Speed Counter
  • QD62E - Mitsubishi High-Speed Counter
  • QD62 - Mitsubishi High-Speed Counter
  • MITSUBISHI MELSEC NET/MINI-S3 UNIT A1SJ71PT32-S3
  • Mitsubishi A1SJ61BT11 Data Link Unit
  • Mitsubishi A1SJ61BT11 Data Link Unit
  • HG-KR43K Mitsubishi servo motor
  • Mitsubishi Electric Mr-S11-200-Z37 Servo Drive
  • Mitsubishi Gate Commutated Thyristor device GU-D04
  • Mitsubishi R28TB Relay terminal block module
  • MITSUBISHI A1S68DAV - I-O Units
  • MITSUBISHI A1S65B-S1 Melsec-A Base Unit
  • Eaton F304-BAR-10 Pack of 10 4 way spur bars (two F304-BARs required for each F304)
  • Eaton F300-BAR-5 Pack of 5 trunk bars
  • Eaton FS32 Fieldbus Surge Protector
  • Eaton F300-A01-5 Trunk-spur partition -pack of 5
  • Eaton F312-PC 12 way Megablock - spring-clamp terminals -including F97 terminator
  • Eaton F308-PC 8 way Megablock - spring-clamp terminals-including F97 terminator
  • Eaton F304-PC 4 way Megablock - spring-clamp terminals-including F97 terminator
  • Eaton F312 12 way Megablock - screw terminals- including F97 terminator
  • Eaton F308 8 way Megablock - screw terminals - includingF97 terminator
  • Eaton F304 4 way Megablock - screw terminals- includingF97 terminator
  • Eaton F11-YK2 Fieldbus F11 Power Hub with fieldbus cables
  • Eaton F11 Fieldbus Power Hub
  • Eaton BA484DF-F Fieldbus intrinsically safe display, field mounting, for FOUNDATION fieldbus™ H1
  • Eaton BA414DF-F-FM Fieldbus intrinsically safe display, field mounting, FM
  • Eaton BA414DF-F-D Fieldbus intrinsically safe display, field mounting, ATEX Dust
  • Eaton BA414DF-F Fieldbus intrinsically safe display, field mounting, ATEX Gas
  • Eaton F898 Termination board for F809F-PLUS
  • Eaton F888 Termination board for F809F-PLUS for use with Yokogawa ALF111
  • Eaton F809F-Plus-eEDDL Enhanced EDDL - diagnostic module interface
  • Eaton F809F-Plus Diagnostic Module for FOUNDATION fieldbus™ H1
  • Eaton THR7000 35 mm DIN Rail, 1m length
  • WAGO MCS 231-302/037-000 MOD F-CONN W/LOCKING DEVICE
  • WAGO VDE0611 Surge Protection Device
  • WAGO 2787-2358 Switching Power Supply
  • WAGO 2787-2357 Switching Power Supply
  • WAGO 2787-2157 Switching Power Supply
  • WAGO 2787-2154 Switching Power Supply
  • WAGO 2787-2135 Switching Power Supply
  • 2787-2134 WAGO Corporation | Power Supplies
  • WAGO 2787-2348 Switching Power Supply
  • WAGO 2787-2347 Switching Power Supply
  • WAGO 2787-2346 Switching Power Supply
  • WAGO 2787-2344 Switching Power Supply
  • WAGO 2787-2448 Switching Power Supply
  • WAGO 2787-2147 Switching Power Supply
  • 2787-2146 WAGO Corporation | Power Supplies
  • 2787-2144 | Wago 2787 DIN Rail Power Supply
  • Eaton EAFR-101 Arc Flash Relay
  • Eaton MTL4521 | MTL 1-Channel Loop Powered Solenoid/Alarm Driver
  • MTL MTL4532 Pulse Isolator
  • Eaton MTL5516C Switch Proximity Detector
  • Pulse Isolator MTL5532 MTL Instrument From Switch Proximity Detector
  • MTL Instruments MTL4511 Switch/Proximity Detector
  • MTL5511 isolated barrier safety barrier
  • MTL5544 | MTL Instruments | Repeater Power Supply
  • MTL4541B | MTL Instruments | Repeater Power Supply
  • MTL4544D | MTL Instrument | Repeater Power Supply
  • MTL4521 |MTL Instruments| Loop Powered Solenoid/Alarm Driver
  • Eaton ETL7000 Heavy Duty DIN rail end stop
  • Eaton A103 8-drop AS-i Megablock with integrated SpurGuard™ short circuit protection
  • Eaton A101 4-drop AS-i Megablock with integrated SpurGuard™ short circuit protection
  • Eaton MTL5544AS Analogue Input Modules
  • Eaton MTL5544A Analogue Input Modules
  • Eaton MTL4544AS Analogue Input Modules
  • Eaton MTL4544A Analogue Input Modules
  • Eaton MTL5541AS Analogue Input Modules
  • Eaton MTL5541A Analogue Input Modules
  • Eaton MTL4541AS Analogue Input Modules
  • Eaton MTL4541A Analogue Input Modules
  • ICS Triplex T8226 Power Supply Modules
  • ICS Triplex T8225 Power Supply Modules
  • ICS Triplex T8224 Power Supply Modules
  • ICS Triplex T8223 Power Supply Modules
  • ICS Triplex T8222 Power Supply Modules
  • ICS Triplex T8220 Power Supply Modules
  • ICS Triplex T8202 I/O Power Supply Chassis
  • ICS Triplex T8201 I/O Power Supply Chassis
  • ICS Triplex T8200 I/O Power Supply Chassis
  • ICS TRIPLEX TC-201-02-4M5 Trusted I/O Companion Slot Cable
  • ICS Triplex TC-301-02-4M5 Local Expansion Cable Supplier
  • ICS TRIPLEX TC-314-03-xmx Expander Electrical Extension Cable (UL)
  • ICS TRIPLEX TC-314-02-xmx Expander Electrical Extension Cable
  • ICS TRIPLEX TC-313-03-xmx Local Expansion Cable Assembly
  • ICS TRIPLEX TC-313-02-xmx Local Expansion Cable Assembly
  • ICS TRIPLEX TC-312-03-xmx Local Expansion Cable Assembly
  • ICS TRIPLEX TC-312-02-xmx Local Expansion Cable Assembly
  • ICS TRIPLEX TC-311-03 Local Expansion Cable Assembly
  • ICS TRIPLEX TC-311-02 Local Expansion Cable Assembly
  • ICS TRIPLEX TC-310-03 Output Smart Slot Jumper Cable
  • ICS TRIPLEX TC-310-02 Output Smart Slot Jumper Cable from Digital Output Module (T8472)
  • ICS TRIPLEX TC-308-03 Output Smart Slot Jumper Cable (UL)
  • ICS TRIPLEX TC-308-02 Output Smart Slot Jumper Cable
  • ICS TRIPLEX TC-306-03 Input Smart Slot Jumper Cable (UL)