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

  • CTI 2500S-27-1550 Slice I/O, RS232/485, 2DIO / 4UAI / 2AI (MATURE)
  • CTI 2500S-26-1550 Slice I/O, RS232/485, 8DIO / 2UAI
  • CTI 2500S-23-1550 Slice I/O, RS232/485, 4DI / 4DO / 2UAI / 2AO
  • CTI 2500-RIO-A RS485 Remote Base Controller
  • CTI 2515-A 100-Watt AC/DC Power Supply with Redundancy Support
  • CTI 2515 100-Watt AC Power Supply (MATURE - replaced by 2515-A)
  • CTI 2513-A 75-Watt DC Power Supply with Redundancy Support
  • CTI 2513 75-Watt 24VDC Power Supply
  • CTI 2512-A 75-Watt AC/DC Power Supply with Redundancy Support
  • CTI 2512 75-Watt AC/DC Power Supply
  • CTI 2510 125 VDC Power Supply (MATURE - Replaced by 2512)
  • CTI 2559-FCAL Precision Calibration Connector
  • CTI 2596 8/16-Point DC Output Module
  • CTI 2589-A 8/16/32-Point Universal Discrete Input Module
  • CTI 2588-8 8-Point Universal Discrete Input Module (MATURED - replaced by 2589-B)
  • CTI 2585 16-Point TTL/Word Input Module
  • CTI 2582 16-Point Isolated 125 VDC Input Module
  • CTI 2581 16-Point Isolated 12-56 VDC Input Module
  • CTI 2580 16-Point Isolated 95-132 VAC Input Module
  • Basler Electric Model KT3B Voltage Regulator 2920-00-300-9212, 90 24700 101
  • Basler Electric BE1-67 Ground Directional Overcurrent Protective Relay
  • Basler Electric BE1810/U-2 Solid State Frequency Relay BE1810
  • Basler Electric 9105100106 UFOV-250A Under Freq./Overvoltage Protector
  • Basler Electric 9289902106 Circuit Board Rev A
  • Basler Electric BE1-51 SOLID STATE TIME OVERCURRENT RELAY K2EW7MA1N0F
  • Basler Electric BE3-49R-5I5A1 9320500101 TEMPERATURE RELAY
  • Basler Electric BE1-51-K1E-Z1P-A0N0F / BE151K1EZ1PA0N0F Time Overcurrent Relay
  • Basler Electric 9121000106 MANUAL VOLTAGE CONTROL
  • Basler Electric BE1-50 INSTANTANEOUS OVERCURRENT RELAY BE1-50-51B-106
  • Basler Electric STATIC VOLTAGE REGULATOR SR32A-2B15B3E
  • Basler Electric BE1-51A-K2E-W7M-B1N1A SOLID STATE TIME OVERCURRENT RELAY
  • Basler Electric SR4A2B06B3A STATIC VOLTAGE REGULATOR SR4A
  • Basler Electric 801A193F02 Hammond
  • Basler Electric 902290-103 PRP 320 synchronous motor pull-out relay 120-480VAC
  • Basler Electric BE1-24 A1E F1J D1S0F Solid-State Volts Per Hertz Relay
  • Basler Electric BE132R E1EE1RAON1F POWER RELAY T245579
  • Basler Electric 9022900-103 6-7VA 60HZ UTC-1689057 synchronous motor pull-out relayBasler Electric 9022900-103 6-7VA 60HZ UTC-1689057 synchronous motor pull-out relay
  • Basler Electric BE1-79M 9170111102 PLUG ADAPTER
  • Basler Electric DECS 125-15-B2C DIGITAL EXCITATION CONTROL SYSTEM
  • Basler Electric BE 13693 002 Transformer
  • Basler Electric BE1-79A Reclosing Relay
  • Basler Electric 9-1051-00-105 OVERLOAD PROTECTION MODULE
  • Basler Electric SR8A2B07B3A Static Voltage Regulator
  • 307-2552 RELAY-O/U VOLT Basler Electric Model BE4-27/59
  • Basler Electric 9088800102 VERI SYNC RELAY PRS 250
  • Basler Electric Static Voltage Regulator SR32A2B05B3E
  • Basler Electric BE1-50G1EA1CH0N0F / BE150G1EA1CH0N0F
  • Basler Electric 9174700-100 EXCITATION LIMITER GENERATOR
  • Basler Electric BE1-25 M1E A6R A5R1F T243705 SYNC-CHECK RELAY
  • Basler Electric 9319700103 BE3-27T/59T-3A1N3 Ac Voltage Relay
  • Basler Electric Static Voltage Regulator SR8A2B10B3AX SVR Module 120V 9060200126
  • Basler Electric SSR 125-12 Static Voltage Regulator
  • Basler Electric BE3-32-3AC Relay, Reverse Power A/C 9 1376 00 105
  • Basler Electric PRS 250 VERI-SYNC RELAY |7A 250VAC
  • Basler Electric SR4A-2B15B3E STATIC VOLTAGE REGULATOR
  • Basler Electric 9170818100 Solid State Protective Relay
  • Basler Electric KR2F Generator Voltage Regulator 9056600100
  • Basler Electric BE1-50 INSTANTANEOUS OVERCURRENT RELAY BE1-50-51B-214
  • BASLER BE1-CDS CURRENT DIFFERENTIAL SYSTEM
  • Basler Firing Circuit Chassis IFM-150
  • Basler Electric BE1-60 Voltage Balance C1F A1P D0C3F Solid Relay
  • Basler Electric 8650C80G01 Isolation Transducer PCB Board
  • Basler 87T Transformer Differential Relay
  • Basler Electric Power Transformer BE-6868 5950007559202
  • Basler Electric SCP-250-G-60 VAR POWER FACTOR CONTROLLER MODEL
  • Basler Electric BE1-51 Time Overcurrent Relay
  • Basler Electric DECS-150 AVR 1NS2V1N1S Voltage Regulator
  • Basler Electric BE3-49R-5K5A1 9320500103 TEMPERATURE RELAY
  • Basler Electric BE 20035 001 Transformer BE20035001
  • Basler Electric Company BE 02727 001 Transformer
  • Basler Electric BE127 Under Voltage Relay BE 127
  • Basler Electric CBS377 CURRENT BOOST SYSTEM 9109600102
  • Basler Electric BE1-87G GENERATOR DIFFERENTIAL RELAY P/N 9170818100
  • Basler Electric SR4A2B16 SVR STATIC VOLTAGE REGULATOR
  • Basler Electric BE1-11 Generator Power Supply
  • Basler Electric Overcurrent Relay BE1 50 51M 104
  • Basler Electric 9148100106 MOC3502 250VDC 0.25A
  • Basler Electric SR8A2B15B3A Static Voltage Regulator
  • Basler Electric IFM-105 Firing Circuit Chassis Assembly 9324100105
  • Basler Electric SR4A2B05B3A Static Voltage Regulator
  • Basler Electric PRS 250 Veri-Sync Relay 9088800102
  • Basler Electric BE1-50 F2EA1PA0N0F INSTANTANEOUS OVERCURRENT RELAY 373
  • Basler Electric BE151G1EB6PB0N0F Time Overcurrent Relay
  • Basler BE1-59 Electric Over Voltage Relay
  • Basler Electric 277 STATIC PROGRAMMABLE POWERLINE CARRIER CHANNEL AABC7
  • Basler Electric BE1-25 M1E A6R A5R1F T245576 SYNC-CHECK RELAY
  • Basler Electric SR4A1B07B3A Retrofit Voltage Regulator
  • Basler Electric KR7FFX STATIC VOLTAGE REGULATOR 840V
  • Basler Electric MODEL EL200-7 90-660VAC 7A
  • Basler Electric PRP210-1 REVERSE POWER RELAY 9056300102
  • Basler Electric 9289901106 Digital Board
  • Basler Electric DECS100 VOLTAGE REGULATOR DECS100A01
  • Basler Electric BE1-50G2FA1PH0N0F Overcurrent Relay
  • Basler Electric MOC2199 9072300-335 125/250VDC .5A/.25A
  • Basler Electric BE-15482-001 / BE15482001
  • Basler Electric LSP4-7 / LSP47 Processor Board
  • Basler Electric SCP 250-G-60 VAR/Power Factor Controller 9 1100 00 109
  • Basler Electric BE146N Negative Sequence Overcurrent Relay
  • Basler Electric 9168700107, APR63-5 Automatic Voltage Regulator
  • Basler 9507900107 SR8A RetrofitStatic Voltage Regulator Retrofit 50/60Hz 240v
  • Beckhoff EL3692-0030 | EtherCAT Terminal, 2-channel analog input, resistance
  • Beckhoff EL3692 | EtherCAT Terminal, 2-channel analog input, resistance
  • Beckhoff EL3681-0030 | EtherCAT Terminal, 1-channel analog input, multimeter
  • Beckhoff EL3681 | EtherCAT Terminal, 1-channel analog input, multimeter
  • Beckhoff EL3632 | EtherCAT Terminal, 2-channel analog input, IEPE/accelerometer, 16 bit, 50 ksps
  • Beckhoff EL3621-0020 | EtherCAT Terminal, 1-channel analog input
  • Beckhoff EL3612-0020 | EtherCAT Terminal, 2-channel analog input, current
  • Beckhoff EL3612 | EtherCAT Terminal, 2-channel analog input, current
  • Beckhoff EL3602-0020 | EtherCAT Terminal, 2-channel analog input, voltage
  • Beckhoff EL3602-0010 | EtherCAT Terminal, 2-channel analog input, voltage
  • Beckhoff EL3602-0002 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff EL3602 | EtherCAT Terminal, 2-channel analog input, voltage
  • Beckhoff EL3483-0060 | EtherCAT Terminal, 3-channel analog input, mains monitor
  • Beckhoff EL3483 | EtherCAT Terminal, 3-channel analog input, mains monitor
  • Beckhoff EL3475-0200 | EtherCAT Terminal, 12-channel analog input, 4-port, multi-function
  • Beckhoff EL3475 | EtherCAT Terminal, 12-channel analog input, 4-port, multi-function
  • Beckhoff EL3453-0120 | EtherCAT Terminal, 3-channel analog input, power measurement
  • Beckhoff EL3453-0100 | EtherCAT Terminal, 3-channel analog input, power measurement
  • Beckhoff EL3453-0090 | EtherCAT Terminal, 3-channel analog input, power measurement
  • Beckhoff EL3453-0030 | EtherCAT Terminal, 3-channel analog input, power measurement
  • Beckhoff EL3453-0020 | EtherCAT Terminal, 3-channel analog input, power measurement
  • Beckhoff EL3453 | EtherCAT Terminal, 3-channel analog input, power measurement
  • Beckhoff EL3446-0011 | EtherCAT Terminal, 6-channel analog input, current
  • Beckhoff EL3446 | EtherCAT Terminal, 6-channel analog input, current
  • Beckhoff EL3444 | EtherCAT Terminal, 4-channel analog input, current, 10 A AC/DC
  • Beckhoff EL3443-0020 | EtherCAT Terminal, 3-channel analog input, power measurement
  • Beckhoff EL3443-0013 | EtherCAT Terminal, 3-channel analog input, power measurement
  • Beckhoff EL3443-0011 | EtherCAT Terminal, 3-channel analog input, power measurement