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

  • Basler Electric BE1-851 Overcurrent Relay Mechanism G5B2S0N
  • Basler Electric BE1-851 Overcurrent Relay H5A2S1N
  • Basler Electric DECS 125-15-B2C5 DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric PLA2400-12GM / PLA240012GM
  • Basler Electric BE1-50/51B-235 / BE15051B235 Self-Powered Time Overcurrent Relay
  • Basler Electric BE1-25 M9FA6PN4N0F / BE125M9FA6PN4N0F
  • Basler Electric BE1-27/59 UNDERVOLTAGE T238468
  • Basler Electric BE1-32R POWER RELAY, STYLE: D1EE1PA0N0F
  • Basler Electric BE1-32R ~ BE1-E1P-BON0F Protective Relay
  • Basler Electric BE1-32R POWER RELAY ONAN 0307-2661-09 B2EE1PA0N1F
  • Basler Electric Solid State Protective Relay BE1-32R E1EA1OA0N0F
  • Basler Electric Solid State Protective Relay BE1-32R Style B2ED1PB0N0F
  • Basler Electric Solid State Protective Relay BE1-32R STYLE C3ED1TA0S1F
  • Basler Electric C2EE1PA0N1F BE1-32R NSMP
  • Basler Electric BE1-32R PROTECTIVE RELAY STYLE A1E E1P BOS1P BE132R
  • Basler Electric BE1-32R Power Relay B3E E1R A0N1F
  • Basler Electric BE1-32R Power Solid State Relay, Style E2E A10 A0N0F
  • Basler Electric BE1-32R Power Relay A2E D1R A0N0F
  • Basler Electric Power Relay BE1-32R Style #: D3E E1R A0N1F
  • Basler Electric Power Relay BE1-32R D1E A1P A0N1F
  • Basler Electric BE1-32R Power Relay B2EE1PA0N1F Rev. AD
  • Basler Electric BE1-32R Power Solid State Relay F1F E1K A4N1F
  • Basler Electric BE1-700 Digital Protective Relay
  • Basler Electric BE1-700 E0N2X1N Digital Protective Relay
  • Basler Electric GROUND FAULT OVERVOLTAGE RELAY BE1-59N
  • Basler Electric BE1-851 / 887DB / 9289900180 DIFFERENTIAL RELAY
  • Basler Electric BE10493002 NSMP
  • Basler Electric SR4A2B01B3A / SR4A2B01B3A Static Voltage Regulator
  • Basler Electric BE1-51AK2EW7MB1NOF / BE151AK2EW7MB1NOF
  • Basler Electric EL 200-7 / EL2007 MINIMUM/MAXIMUM EXCITATION LIMITER
  • Basler Electric BE1-25 M9FA6PN4N0F / BE125M9FA6PN4N0F Sync-Check Relay
  • Alfa Laval M3 Gasketed plate heat exchanger
  • Alfa Laval TS35 Gasketed plate heat exchanger
  • Alfa Laval TL35 Gasketed plate heat exchanger
  • Alfa Laval TS20 Gasketed plate heat exchanger
  • Alfa Laval T2 Gasketed plate heat exchanger
  • Alfa Laval T15 Gasketed plate heat exchanger
  • Alfa Laval TL15 Gasketed plate heat exchanger
  • Alfa Laval TS6 Gasketed plate heat exchanger
  • Alfa Laval TL10 Gasketed plate heat exchanger
  • Alfa Laval T45 Gasketed plate heat exchanger
  • Alfa Laval TS50 Gasketed plate heat exchanger
  • Alfa Laval TL6 Gasketed plate heat exchanger
  • Alfa Laval T35 Gasketed plate heat exchanger
  • Alfa Laval T5 Gasketed plate heat exchanger
  • Alfa Laval T50 Gasketed plate heat exchanger
  • Alfa Laval TL3 Gasketed plate heat exchanger
  • Alfa Laval T25 Gasketed plate heat exchanger
  • Alfa Laval T10 Gasketed plate heat exchanger
  • Alfa Laval T6 Gasketed plate heat exchanger
  • Beckwith Electric M-2324C Adapter Panel
  • Beckwith Electric M-2278 Adapter Panel
  • Beckwith Electric M-2326 Adapter Panel
  • Beckwith Electric M-2356B Adapter Panel
  • Beckwith Electric M-2355B Adapter Panel
  • Beckwith Electric M-2347 Adapter Panel
  • Beckwith Electric M-2264B Adapter Panel
  • Beckwith Electric M-2148 Adpapter Panel
  • Beckwith Electric M-2355Q Adapter Panel
  • Beckwith Electric M-5329 Three-Phase LTC Backup Control
  • Beckwith Electric M-0127A and M-0170A AC Current Relays
  • Beckwith Electric M-2293B Adapter Panel
  • Beckwith Electric M-2069 Adapter Panel
  • Basler Electric BEI-79A1AA5CA3M1F / BEI79A1AA5CA3M1F Reclosing Relay
  • Basler Electric Negative Sequence Voltage Relay BE1-47N E3FD1PC2S0F
  • Basler Electric BE1-47NE3EE10A0N0F Negative Sequence Voltage Relay
  • Basler Electric BE1-47N STYLE E3ED1PA0N0F Negative Sequence Voltage Relay
  • Basler Electric Negative Sequence Voltage Relay BE1-47N E3FE1PC3N3F
  • Basler Electric Negative Sequence Voltage Relay BE1-47N STYLE E3FD1PD2N4F
  • Basler Electric Negative Sequence Voltage Relay BE1-47N Style E3FE1PC3T4F
  • Basler Electric Negative Sequence Voltage Relay BE1-47N E3FD1PC2N3F
  • Basler Electric Negative Sequence Voltage Relay BE1-47N E3FA1PC1N3F
  • Basler Electric BE1-47NE3EA1PB0N1F / BE147NE3EA1PB0N1F
  • Basler Electric Solid State Protective Relay BE1-47N Voltage Phase Sequence
  • Basler Electric LEROY SOMER DECS-100 9287500132 DIGITAL EXCITATION CONTROL SYSTE
  • Basler Electric DECS-100-A05 Automatic Voltage Regulator for Engine Generator
  • Basler Electric DECS-100-B11 Automatic Voltage Regulator Automatic Voltage Regulator
  • Basler Electric DECS-100-B01 DIGITAL EXCITATION CONTROLLER
  • Rolls-Royce R02TCN-E0L3-00 Remote controller
  • Basler Electric DECS-100, Digital Excitation Control System
  • Basler Electric DECS100 VOLTAGE REGULATOR DECS-100-A01
  • Automatic Voltage Regulator DECS-100-B15 for Basler Electric Generator Durable
  • Basler Electric SSR125-12 STATIC VOLTAGE REGUALTOR 9185900102
  • Basler Electric SSR 32-12 STATIC VOLTAGE REGULATOR 9185900100
  • Basler Electric BE1-CDS240 CURRENT DIFFERENTIAL SYSTEM 5A 50/60HZ
  • Basler Electric BEI-871 High Impedance Bus Differential Relay
  • Basler Electric BE1-851 Overcurrent Relay G5A1S1N
  • Basler Electric BE1-32O/U, Protective Relay
  • Basler Electric BE1-50F2EA1PA0N0F NSMP
  • Basler Electric F3EE1PA0N1F BE1-40Q NSMP
  • Basler Electric BE1-40Q Loss of Excitation Relay Module F3E E10 B1S1F
  • Basler Electric BE1-40Q Loss Of Excitation Relay BE140Q F3EE1RA1N1F
  • Basler Electric BE1-67 / BE167 DIRECTIONAL OVERCURRENT RELAY
  • Basler Electric BE1-25/79TR Reclosing Relay BE1 25 79TR
  • Basler Electric Contact Expansion Module CEM-2020
  • Basler Electric MVC-300 MANUAL VOLTAGE CONTROL UNIT 9121000106
  • Basler Electric KR2FF Voltage Regulator 9 1163 00 109
  • Basler Electric BE1-81O/UT3EE1YA9S0F / BE181OUT3EE1YA9S0F
  • Basler Electric BE1-87G-G1E-A1K-A0N0F / BE187GG1EA1KA0N0F
  • Basler Electric BE1-47NE3EA1PA0N2F / BE147NE3EA1PA0N2F
  • Basler Electric BE1-81-T1E-E1C-B0N1F / BE181T1EE1CB0N1F
  • Basler Electric BE1-25 SYNC-CHECK RELAY M1E A7P A5N3F
  • Basler Electric BE1-40Q Solid State Protective Relay/ Loss Of Excitation Relay
  • Basler Electric OVERCURRENT RELAY, BE1-50/51M-104
  • Basler Electric MVC 232 MANUAL VOLTAGE CONTROL 9037000103
  • Basler Electric SSE-N 250-9 KW Shunt Static Exciter-Regulator
  • Basler Electric, Solid State Protective Relay, BE1-60
  • Basler Electric SR4A-2B15B3A Static Voltage Regulator 120vac Includes U6250MKG1L
  • Basler Electric BE1-50BF Breaker Failure Relay
  • Basler Electric BE1A1HF1JD1S2F / BE1A1HF1JD1S2F
  • Basler Electric BE1-81O/UT3EE1JA7N2F / BE181OUT3EE1JA7N2F
  • Basler Electric EXCITER DIODE MONITOR EDM-200
  • Basler Electric DECS125-15-B2C5 DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric OVER CURRENT RELAY 9252000107
  • Eaton Sag Ride-Through power conditioner
  • Eaton Sag Ride-Through power conditioner
  • Eaton Power-Sure 800
  • Eaton Power-Sure 700
  • Eaton Power-Suppress 600
  • Eaton T100H-2500-5HC PWR SUPPRESS T100 HW 2.5KVA, 50 HZ, 55DEG C MAX
  • Eaton T100H-1800 PWR SUPPRESS T100 HW 1.8KVA
  • Eaton 9468-ET IS Ethernet Isolator
  • Eaton 9466-ETA IS Ethernet Managed Switch
  • Eaton 9466-ET IS Ethernet Managed Switch
  • Eaton 9465-ETA-S-SC IS Media Converter Single-mode
  • Eaton 9465-ET-M-ST IS Media Converter Multimode
  • Eaton 9465-ET-S-SC IS Media Converter Single-mode
  • Eaton 9465-ET-M-SC IS Media Converter Multimode