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 | 356 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 PXR-PCAM IL120009EN Ethernet (Modbus TCP)
  • Eaton PXR-ECAM-MTCP IL0131132EN Ethernet (Modbus TCP)
  • Eaton MTL PAC8000 8507-BI-DP BIM and 8701-CA-BI Carrier PROFIBUS DP Bus Interface Module and Carrier
  • Eaton EBR-Z high impedance bus differential relay
  • Eaton EBR-3000 high impedance bus differential relay
  • Eaton EGR5000 generator relay
  • Eaton EDR-5000 Distribution Protection Relay
  • Eaton F810 Redundant fieldbus power for Foxboro I/A series™ control system
  • Eaton 5073E-T 7-Port + 3-Combo Port Gigabit Managed Ethernet Switch
  • Eaton 2080E-T 8-Port Managed Ethernet Switch
  • Eaton 1080E-T 8-Port Ethernet switch
  • Eaton 1050E-T 5-Port Basic Ethernet Switch
  • Eaton TD150048EN Power Xpert energy meter series
  • Eaton NZMH2-4-A200 NZM complete molded case circuit breaker
  • Eaton NZMH3-AE600-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-AF250-NA NZM complete molded case circuit breaker
  • Eaton NZMN4-AEF600-NA NZM complete molded case circuit breaker
  • Eaton NZMH4-AE1250-S1 NZM complete molded case circuit breaker
  • Eaton NZMH4-AE1600 NZM complete molded case circuit breaker
  • Eaton NZMN2-A125-NA NZM complete molded case circuit breaker
  • Eaton NZMH4-AE1200-NA NZM complete molded case circuit breaker
  • Eaton NZMH2-VEF200-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMH2-AF175-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMB1-AF70-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-AF70-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-A80-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMH2-A63-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-AF15-NA NZM complete molded case circuit breaker
  • Eaton NZMN2-A40-NA NZM complete molded case circuit breaker
  • Eaton NZMH3-AE250-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-S125-BT-CNA NZM complete molded case circuit breaker
  • Eaton NZMN2-VEF150-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-AF40-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMB1-A100-NA NZM complete molded case circuit breaker
  • Eaton NZMN2-VE250-SVE NZM complete molded case circuit breaker
  • Eaton NZMH2-A160-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMN3-AE400-NA NZM complete molded case circuit breaker
  • Eaton NZMH3-VE600-NA NZM complete molded case circuit breaker
  • Eaton NZMN3-VE600-NA NZM complete molded case circuit breaker
  • Eaton NZMN1-AF60-NA NZM complete molded case circuit breaker
  • Eaton NZMB1-AF20-NA NZM complete molded case circuit breaker
  • Eaton NZMH3-AEF600-NA NZM complete molded case circuit breaker
  • Eaton NZMN4-VE1200-NA NZM complete molded case circuit breaker
  • Eaton NZMB1-S26-CNA NZM complete molded case circuit breaker
  • Eaton NZMN2-AF25-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-AF60-BT-NA NZM complete molded case circuit breaker
  • Eaton N4-4-1400-S15-DC NZM complete molded case circuit breaker
  • Eaton NZMH4-AEF1000-NA NZM complete molded case circuit breaker
  • ABB UAA326A04 HIEE300024R4 Unitrol Excitation Programmable Board
  • Eaton NZMN4-VE1000-NA NZM complete molded case circuit breaker
  • Eaton NZMH2-AF90-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-A50-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMB1-A40 NZM complete molded case circuit breaker
  • Eaton NZMH2-4-A32 NZM complete molded case circuit breaker
  • Eaton NZMB1-AF35-NA NZM complete molded case circuit breaker
  • Eaton NZMN1-AF40-NA NZM complete molded case circuit breaker
  • Eaton NZMH2-A40-SVE NZM complete molded case circuit breaker
  • Eaton NZMB2-S100-BT-CNA NZM complete molded case circuit breaker
  • Eaton NZMB1-A20-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-A40-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-S160 NZM complete molded case circuit breaker
  • Eaton NZMH2-AF40-NA NZM complete molded case circuit breaker
  • Eaton NZMB1-A40-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-AF100-NA NZM complete molded case circuit breaker
  • Eaton NZMN3-VE630-SVE NZM complete molded case circuit breaker
  • Eaton NZMN2-A80-NA NZM complete molded case circuit breaker
  • Eaton NZMH2-A20-NA NZM complete molded case circuit breaker
  • Eaton NZMN1-A80-NA NZM complete molded case circuit breaker
  • Eaton NZMN1-A63-NA NZM complete molded case circuit breaker
  • Eaton NZMH2-VE100-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMH2-VE100-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMN3-AE400 NZM complete molded case circuit breakerv
  • Eaton NZMH2-A80-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMN3-AEF250-NA NZM complete molded case circuit breaker
  • Eaton NZMN1-AF25-NA NZM complete molded case circuit breaker
  • Eaton NZMN2-A100-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-AF15-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMN1-AF100-NA NZM complete molded case circuit breaker
  • Eaton NZMB1-A80-NA NZM complete molded case circuit breaker
  • Eaton NZMN1-AF70-NA NZM complete molded case circuit breaker
  • Eaton NZMN1-A25 NZM complete molded case circuit breaker
  • Eaton NZMH2-A20 complete molded case circuit breaker
  • Eaton NZMB1-AF110-NA complete molded case circuit breaker
  • Eaton NZMB1-AF90-NA complete molded case circuit breaker
  • Eaton NZMN4-VEF800-NA complete molded case circuit breaker
  • Eaton NZMN2-AF125-BT-NA complete molded case circuit breaker
  • Eaton NZMH2-AF15-BT-NA complete molded case circuit breaker
  • Eaton NZMN3-AE400-T complete molded case circuit breaker
  • Eaton NZMH3-AE400-T-S1 complete molded case circuit breaker
  • Eaton NZMB1-M40 NZM complete molded case circuit breaker
  • Eaton NZMH2-AF60-NA NZM complete molded case circuit breaker
  • Eaton NZMN4-VEF1200-NA NZM complete molded case circuit breaker
  • Eaton NZMH2-AF25-BT-NA NZM complete molded case circuit breaker
  • Eaton NZMB2-AF150-BT-NA NZM complete molded case circuit breaker
  • Eaton Moeller NZM10-400N Circuit Breaker NZM10400N
  • EATON XV-102-B5-35TQR-10-PLC / Version: 04 Touch Panel
  • EATON XV-102-D0-70TWR-10 TOUCH PANEL, PN:142535, 24VDC 0.4A, NNB
  • EATON PXM4251A1BB Power Xpert meter 4000
  • EATON GHG5124407R3001 CROUSE HINDS SERIES WALL SOCKET
  • EATON CORPORATION KRP-C-1100SP FUSE
  • EATON DURANT 57151-400 RATE METER 57151400
  • EATON CGLINE + WEB-controller 400 71 361 055
  • Eaton OFT-10W01 CGLine+Web-Controller 400 71 777997-J
  • Eaton Cutler-Hammer 2D78559G01 Rev.11A, Universal RTD Module
  • EATON MOELLER DILM250/22(RA250) contactor
  • EATON MTL E05016 DIGITAL INPUT EUROCARD E05516-2134
  • Eaton Moeller EL-5073E-T 7-Port + 3-Combo Port Gigabit Managed Ethernet Switch
  • EATON MTL RELCOM F880-CL-PS
  • EATON DURANT 5886-7400 PROGRAMMABLE COUNTER 58867-400 58867400
  • Eaton A200M3CX A200 NEMA motor control
  • Eaton Durant 57751-40A Eclipse Series digital panel mount meter 120 VAC
  • EATON N5LSIG DIGITRIP 520 TRIP UNIT 2A11799G11
  • Basler Electric MOC2107 / MOC2107 Motor Operated Potentiometer
  • Basler Electric 9125600102 / 9125600102
  • Basler Electric BE1-81T1EE1EA2N0F / BE181T1EE1EA2N0F
  • Basler Electric 9 1861 00 101 Current Boost System Model CBS 320
  • Basler Electric 91747C0115 Minimum/Maximum Excitation Limiter
  • Basler Electric 91747C0114 Minimum/Maximum Excitation Limiter
  • Basler Electric Phase Directional Overcurrent Relay #BE1-Z2JA0N2F
  • Basler Electric KR7F VOLTAGE REGULATOR 9116200100
  • Basler Electric BE1-51 SOLID STATE TIME OVERCURRENT RELAY H3EZ1SA0C6F
  • Basler Electric 90 17709 112 STATIC VOLTAGE REGULATOR CONTROL BOARD
  • Basler Electric AVC63-4 / AVC634 Voltage Regulator
  • Basler Electric 9 1049 04 100 PC BOARD
  • Basler Electric SR4A-2B03B3A Static Voltage Regulator SR4A2B03B3A
  • Basler Electric SR8A-2B15B3A Static Voltage Regulator
  • NIB Basler Electric BE1-79A Reclosing Relay
  • Basler Electric DCQA-103 DCQC104-1 CMX-7D Circuit Board