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

  • Beckwith Electric M-0067E Tapchanger Control
  • Beckwith Electric M-2001D Digital Tapchanger Control
  • Beckwith Electric M-2001C Digital Tapchanger Control
  • Beckwith Electric B-1500 Battery Backup Power
  • Beckwith Electric B-2083 SmartBank Three Phase Junction Box
  • Beckwith Electric M-2017 Capacitor Bank Discharge Tool
  • Beckwith Electric M-2980A Weatherproof Capacitor Control Cabinet
  • Beckwith Electric M-6283A Three Phase Digital Capacitor Bank Control
  • Beckwith Electric M-6280A Digital Capacitor Bank Control
  • Beckwith Electric M-4272 Digital Motor Bus Transfer System
  • Beckwith Electric M-3420 Generator Protection Relay
  • Beckwith Electric M‑0193B Syncrocloser® Unit
  • Beckwith Electric M-3520 Intertie Protection Relay
  • Basler Electric BE1-25 Sync-check Protective Relay
  • Basler Electric RDP-110 REMOTE DISPLAY PANEL
  • Basler Electric SSR 125-12 VOLTAGE REGULATOR 9185900102 WITH MODULE 9261500101
  • Basler Electric BE1-851 OVERCURRENT PROTECTION RELAY MECHANISM G3A1S1N
  • Basler Electric 149D930G02 / 149D930G02
  • Basler Electric BE1-81O/UT3EE1LB7S1F / BE181OUT3EE1LB7S1F Digital Frequency Relay
  • Basler Electric BE1-51/27CA1EZ10A0N0F / BE15127CA1EZ10A0N0F Time Overcurrent Relay
  • Basler Electric 149D956G02 / 149D956G02
  • Basler Electric BE1-51A / BE151A Overcurrent Relay
  • Basler Electric BE1-40Q-F3E-E10-A0N0F / BE140QF3EE10A0N0F
  • Basler Electric RDP-110-S1 Generator Annuciator
  • Basler Electric DECS-300 DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric - DECS-200-1C - Digital Excitation Control System
  • Basler Electric DECS125-15 Digital Excitation Control System with Power Module
  • Basler Electric BE1-87G Variable Percentage Differential Relay
  • Basler Electric BE1-11 Protection System I5A3M2P2N0EA00
  • Basler Electric / Kohler BE1-11g Generator Protection Relay G5A3M2J2N0E000
  • Basler Electric BE1-81O/UT3ED1JA7N2F / BE181OUT3ED1JA7N2F
  • Basler Electric BE1-81O/UT3EE1YB7N1F / BE181OUT3EE1YB7N1F
  • Basler Electric DECS-200 -1L DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric DECS 125-15-B2C1 V.2.0.9 DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric 9507900205 SSR Retrofit Static Voltage Regulator
  • Basler Electric BE2000E Digital Volatge Regulator
  • BASLER DECS-250-CN1CN1N DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric DGC-2020 Digital Genset Generator Controller Panel Enclosure
  • Basler Electric BE1-81O/UT3ED1LA7N0F / BE181OUT3ED1LA7N0F
  • Basler Electric BE1-81O/UT3EE1YA9S0F / BE181OUT3EE1YA9S0F
  • Basler Electric BE1-81O/UT3EE1YA6N1F / BE181OUT3EE1YA6N1F
  • Basler Electric DECS125-15 DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric BE1-951 OverCurrent Protect System
  • Basler Electric BE1-700V Digital Protective Relay N3N2X1N
  • APR63-5 Basler Electric Automatic Voltage Regulator
  • Basler BE1-851 overcurrent relay
  • Basler Electric BE1-87T Transformer Differential Relay Module
  • Basler Electric DECS-200-1L Digital Excitation Control System
  • Basler Electric 9310300100 DECS-300 Digital Excitation Control System
  • Basler Electric SSE-N 125-4.5KW SHUNT EXCITER REGULATOR
  • Basler Electric DGC-2020HD-5NS1DNSBA Digital Genset Controller
  • Basler Electric BE1-81-O/UT3EE1JB7N1F / BE181OUT3EE1JB7N1F
  • Basler Electric BE1-81T1EE1WA0N1F / BE181T1EE1WA0N1F
  • Basler Electric BE1-25M1EA6PN5R1F / BE125M1EA6PN5R1F
  • Basler Electric BE1-GPS Generator Protection System
  • Basler Electric DECS-250-LN1SN1N DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric DECS-250 - CN2CN 1N Digital Excitation Control System Unit
  • Basler Electric Relay BE1-50/51B-207 Overcurrent Relay
  • Basler Electric DECS-300-C0N0 DIGITAL EXCITATION CONTROL SYSTEM
  • DECS-200-1C Digital Excitation Control System
  • Basler Electric DECS-200N-C1 Negative Forcing Digital Excitation Control System
  • Basler Electric DECS-200 Digital Excitation Control System
  • Basler Electric DECS-250 DIGITAL EXCITATION CONTROL SYSTEM DECS-250-LN1CN1N
  • Basler Electric DECS-250 LN2SA1D Digital Excitation Control System Unit
  • Basler Electric BE1-87T-A1E-A1J-D0S1F / BE187TA1EA1JD0S1F
  • Basler Electric BE1-11-G6D1M0J2P0E000 / BE111G6D1M0J2P0E000
  • Basler Electric BE1-GPS100-E4N1H1N / BE1GPS100E4N1H1N
  • Eaton Omnex T300-000272 T300 Series Remote Controller
  • EATON ELPRO 450U-E Wireless Ethernet Modem Model: 450U-E-L-440-W
  • Eaton JD3225 Series C complete molded case circuit breaker
  • Eaton HMP-HM64 Crouse-Hinds series MTL HART backplane
  • EATON VICKERS EEA-PAM-523-A-32 02-326001 POWER AMPLIFIER
  • Eaton HTP-SC16M / MTL Hart Multiplexor Connection Unit
  • Eaton XV-152-D6-10TVR-10 150609 Touch Panel
  • Eaton S801+ soft starter S801+N66N3S-MA
  • Eaton Series C complete molded case circuit breaker EHD3015L
  • Eaton V200M4CJC NEMA starter, Space SVG reversing starter
  • EATON CORPORATION CAN-16DI/P / CAN16DIP
  • Eaton Soft Starter S801+N66N3S
  • Eaton Soft Starter S801+N66N3S
  • Eaton XV-303-70-B00-A00-1B Base HMI XV300 Single Ethernet
  • EATON XV-303-70-B00-A00S07 / XV-303-70-B00-A00S07
  • EATON CUTLER-HAMMER MP-3010 SAFETY RELAY 66D2205G01 MP-3000
  • EATON CUTLER HAMMER 92-02123-00 7600C OPERATOR INTERFACE PANELMATE BLIND NODE EP
  • EATON CORPORATION HMCP150T4CBP10 CIRCUIT BREAKER
  • Eaton 142531 XV-102-D6-57TVR-10 Touch Panel
  • EATON ELECTRIC CAN-16DO/0.5A-PK 140254 CanOpen digital output 0.5A
  • EATON XV-102-B5-35TQR-10-PLC 140021 XV102B535TQR10PLC
  • EATON MP-3000 66D2032GX1 NSNP
  • Eaton HFD3150 3P 150A 600VAC Circuit Breaker
  • Eaton Cutler-Hammer HFD3030 6639C86G87 3 Pole 30A 600V Circuit Breaker
  • Moeller XV-230-57CNN-1-13-1 HMI PLC Panel Touchscreen 5.7" Operator Terminal
  • EATON CEAG CU CG-S , 40071360300 Control Unit
  • EATON SDN90186 MOTOR CONTROL CENTER
  • Eaton HMCP150U4 molded case circuit breaker accessory motor protection
  • Eaton 7801C57 Digitrip Optimizer Hand Held Programmer
  • Eaton HMCP400R5 HMCP400R5 Circuit Breaker
  • Eaton MP-3000 Motor Protection Relay
  • Eaton MFD-CP8-NT Central processing unit/power supply unit
  • Eaton WL-35717F Vacuum Interrupter WL35717F
  • 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