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 | 285 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.

  • EATON VICKERS EEA-PAM-535-A-32 AMPLIFIER CARD KFDG4V-5 2326003
  • Eaton Cutler-Hammer FP5000-00 / FP5200-00 66D2041G11
  • Westinghouse IQ-504A Cutler Hammer Eaton IQ-504 120VAC Modular Overload Relay
  • Alstom Alspa Breakout Fuse Board 1SNL491237R010 0 Plat Surville Fusible AIT016
  • Eaton CHNSURGE Residential Surge Protector Part Number 68D8077H06 120/240V
  • ABB CT-MFS.21 1SVR630010R020 0 Multifunction Time Relay Din Rail Mount
  • Siemens 6ES7 222-1BF22-0XA0 8 Channel Digital Output
  • Phoenix Contact EEM-MA790-R - Measuring device 1576595
  • Phoenix Contact EEM-MA390-R-24DC - Measuring device 1576594
  • Phoenix Contact EEM-MA391-R - Measuring device 1576585
  • Phoenix Contact EEM-MA390-R - Measuring device 1576552
  • Phoenix Contact CATAN DALI MM4 DOI8 - Data interface 1371363
  • Phoenix Contact CMU-DC-20A-S/UDM - Current monitoring 1761792
  • Phoenix Contact PSR-MC55-3NO-1NC-24DC-PI - Safety relays 1734500
  • Phoenix Contact PSR-MC92-2NO-1NC-24DC-PI - Safety relays 1735098
  • Phoenix Contact PSR-MC73-5NO-1DO-24DC-PI - Safety relays 1734498
  • Phoenix Contact PSR-MC82-5NO-1NC-1DO-24DC-PI - Extension module 1734496
  • Phoenix Contact PSR-MC32-3NO-1NC-24-230UC-PI - Safety relays 1734495
  • Phoenix Contact PSR-MC92-2NO-1NC-24DC-SC - Safety relays 1735099
  • Phoenix Contact PSR-MC80-3NO-1NC-24DC-PI - Extension module 1790082
  • Phoenix Contact PSR-MC55-3NO-1NC-24DC-SC - Safety relays 1734499
  • Phoenix Contact PSR-MC80-3NO-1NC-24DC-SC - Extension module 1790080
  • Phoenix Contact AXL SE DOR8 ISO - Digital module 1768310
  • Phoenix Contact AXL F IF SECC 1F - Communication module 1833102
  • Phoenix Contact AXC F 2152 - Controller 2404267
  • Phoenix Contact AXC F 1252 - Controller 1646469
  • Phoenix Contact AXL E IOL DIO8 M8 3M - Digital module 1480993
  • Phoenix Contact AXL E IOL DI8 M8 3M - Digital module 1480994
  • Phoenix Contact AXL E EC DI8 DO8 EF M12 6M-L - Digital module 1504557
  • Phoenix Contact AXL E EC DI16 M12 6M-L - Digital module 1504559
  • Phoenix Contact AXL E EC DIO16 M12 6M-L - Digital module 1504558
  • Phoenix Contact PTS 1,5/ 2-PH-5,0 CLIP-B - PCB connector 1831879
  • Phoenix Contact PTS 1,5/ 4-PH-5,0 CLIP-B - PCB connector 1751973
  • Phoenix Contact PTS 1,5/ 6-PH-5,0 CLIP-B - PCB connector 1831880
  • Phoenix Contact AXL E IOL AI4 M12 3M - Analog module 1743420
  • Jumo 401001/999 0 - 16 Bar Pressure Transducer 4-20ma Atlas Copco 108-90492-52
  • Phoenix Contact Mini MCR-PTB-SP Power Terminal Block 2864147
  • Phoenix Contact 2866378 Quint-PS-24DC/ 24DC/10 24V 10 A Power Supply
  • Phoenix Contact Mini MCR-SL-RPS-I-I Repeating Power Supply 2864422
  • Hirschmann RS2-3TX/2FX EEC Rail Switch Industrial Ethernet Switch
  • Hirschmann RS20 Rail Switch 4 RJ 45 RS20-0400T1T1S DAEHH05.0.02
  • Hirschmann RS20 Rail Switch 6 RJ45 2 Fiber RS20-0800M2M2S DAEHH04.2.05
  • EKF CN4-BELL CN4-96-BELL Quad Ethernet Controller Alstom Alspa
  • Napa Echlin TP412 Ignition Control Module
  • Siemens 214-2AD23-0XB0 Simatic S7-200 PLC
  • Alstom RP132 Fiber Converter IR186-2 Alspa
  • Alstom Wire Fault Detection Module C1003100 WFD127 Alspa
  • ABB SACE T6N 800 3 Phase 480V 600A Circuit Breaker
  • Pfiffner Current Transformer Part Number HIER464920P000 2
  • EPRO MMS 6350D Turbine Overspeed Monitoring Alstom Alspa
  • Areva P122 A00F112CAA 31089147 Over Current Relay Alstom
  • Emerson DM6421 Analog Current Output Card
  • Emerson DM6431 Time Proportional Output Card
  • Emerson DM6373 Pulse Count input Card (Vortex)
  • Emerson DM6381 Weigh Scale Interface Card
  • Emerson DM6411 Analog Voltage Output Card
  • B&R X20cDI4375 X20 digital input module
  • B&R X20cDI4371 X20 digital input module
  • B&R X20cHB8884 X20 Compact link selector
  • B&R X20cPS8002 X20 power supply module
  • B&R X20cHB8880 X20 hub base module
  • B&R X20cHB8815 X20 POWERLINK - TCP/IP gateway
  • B&R X20cPS3300 X20 power supply module
  • B&R X20cPS2100 X20 power supply module
  • B&R X20cBT9100 X2X Link bus transmitter
  • B&R X20cBR9300 X20 bus receiver
  • B&R X20cCS1030 X20 electronics module communication
  • B&R X20cCS1020 X20 electronics module communication
  • B&R X20cIF2181-2 X20 coated interface module
  • B&R X20cIF10X0 X20 coated interface module
  • B&R X20cIF10D1-1 X20 coated interface module
  • B&R X20cIF1082-2 X20 interface module
  • B&R X20cIF1072 X20 interface module
  • B&R X20cIF1030 X20 interface module
  • B&R X20cIF10E3-1 X20 interface module
  • B&R X20cIF10D3-1 X20 interface module
  • B&R X20cIF1063-1 X20 interface module
  • B&R X20cIF1061-1 X20 interface module
  • B&R X20cIF1041-1 interface module
  • B&R X20cIF1041-1 interface module
  • B&R X20cHB2886 Hub expansion module
  • B&R X20cHB2885 Hub expansion module
  • B&R X20cHB2881 Hub expansion module
  • B&R X20cHB2880 Hub expansion module
  • B&R X20cHB1881 Hub expansion module
  • B&R X20cBB82 System modules for expandable bus controllers
  • B&R X20cBC8084 Expandable bus controllers
  • B&R X20cBC8083 Expandable bus controllers
  • B&R X20cBC1083 Expandable bus controllers
  • B&R X20cPS9400 Supply for the bus controller
  • Triconex 3723X Analog Input Input Module with HART
  • GE IS420ESWAH5A Mark VIe IONet Switch
  • GE IS420ESWAH4A Mark VIe IONet Switch
  • GE IS420ESWAH2A Mark VIe IONet Switch
  • Basler Electric BE1-25, Sync-Check Relay
  • Basler Electric BE1-50/51 Plug and Play and Retrofit Relays
  • Basler Electric BE1-50/51M, Self-Powered Time Overcurrent Relay
  • Basler Electric BE1-50/51B, Self-Powered Time Overcurrent Relay
  • Basler Electric BE1-11m, Motor Protection System
  • Basler Electric BE1-11t, Transformer Protection System
  • Basler Electric BE1-11d, DC Power Protection System
  • Basler Electric BE1-11i, Intertie Protection System
  • Basler Electric BE1-11g, Generator Protection System
  • Basler Electric BE1-11f, Feeder Protection System
  • Basler Electric BE1-700V, Voltage Only Digital Protective Relay
  • Basler Electric ES-25, Sync-Check Relay
  • Basler Electric ES-27, Undervoltage Relay
  • Basler Electric ES-27/59, Under/Overvoltage Relay
  • Basler Electric ES-32, Reverse Power Relay
  • Basler Electric ES-37, Undercurrent Relay
  • Basler Electric ES-37/51, Under/Overcurrent Relay
  • Basler Electric ES-47, Phase Sequence Relay
  • Basler Electric ES-47N, Phase Balance Relay
  • Basler Electric ES-47N/27, Phase Balance/Undervoltage Relay
  • Basler Electric ES-49, Temperature Relay
  • Basler Electric ES-51, Overcurrent Relay
  • Basler Electric ES-55, Power Factor Relay
  • Basler Electric ES-59, Overvoltage Relay
  • Basler Electric ES-74V, DC Voltage Sensing Relay
  • Basler Electric ES-81O, Overfrequency Relay
  • Basler Electric ES-81O/U, Over/Underfrequency Relay
  • Basler Electric ES-81U, Underfrequency Relay
  • Basler Electric DECS-250-CN1SN1N Digital Excitation Control System
  • Beckhoff EL2622-0010 EtherCAT Terminal, 2-channel relay output
  • Beckhoff EL2622 | EtherCAT Terminal, 2-channel relay output
  • Beckhoff EL2612 | EtherCAT Terminal, 2-channel relay output, 125 V AC, 30 V DC, 0.5 A AC, 2 A DC
  • Beckhoff EL2602-0010 EtherCAT Terminal, 2-channel relay output
  • Beckhoff EL2602 | EtherCAT Terminal, 2-channel relay output, 230 V AC, 30 V DC, 5 A