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

  • Autronica Repeater panel BU-BV-420G2
  • Autronica Maritime gas alarm control panel kit BS-420MG
  • Autronica SD CARD REPLACEMENT IN BC-440, BC-420, BS-420, BS-430 AND BU-BV-420
  • Autronica Operator panel BS-430G2
  • Autronica Controller rack unit BC-440G2
  • Autronica Controller BC-420G2
  • Autronica Fire and gas alarm control panel BS-420G
  • Autronica AutroSafe 4 integrated fire and gas (IFG) panels
  • Autronica POWER CABINET BP-405
  • Autronica Fire brigade loop panel BU-110
  • Autronica Information loop panel BV-110
  • Autronica Repeater Panel BU-BV-420
  • Autronica Operator Panel BS-430
  • Autronica Controller rack unit BC-440
  • Autronica Controller BC-420
  • Autronica MARITIME STD. SOLUTIONS BS-420M (CABINETS AND MOUNTING PLATES)
  • Autronica FIRE ALARM CONTROL PANEL BS-420
  • Autronica Mimic cabinet BUR-200, for maritime installations
  • Autronica MIMIC DRIVER BUR-200
  • Autronica INFORMATION PANEL BV-210
  • Autronica FIRE BRIGADE PANEL BU-210
  • Autronica BS-211 REPEATER PANEL
  • Autronica BS-200M FIRE ALARM CONTROL PANEL
  • Autronica FIRE ALARM CONTROL PANEL - BS-200
  • CTI 2556 16-Channel Isolated Thermocouple Input Module
  • CTI 2557-A 16-Channel RTD Input Module
  • CTI 2500S-27-1750 Slice I/O, Ethernet, RS232/485, 900MHz, 2DIO / 4UAI / 2AI (MATURE)
  • CTI 2500S-26-1750 Slice I/O, Ethernet, RS232/485, 900MHz, 8DIO / 2UAI (MATURE)
  • CTI 2500S-23-1750 Slice I/O, Ethernet, RS232/485, 900MHz, 4DI / 4DO / 2UAI / 2AO (MATURE)
  • Beckhoff ELM3504-0030 | EtherCAT Terminal, 4-channel analog input, measuring bridge
  • Beckhoff ELM3504-0000 | EtherCAT Terminal, 4-channel analog input, measuring bridge
  • Beckhoff ELM3502-0030 | EtherCAT Terminal, 2-channel analog input, measuring bridge
  • Beckhoff ELM3502-0000 | EtherCAT Terminal, 2-channel analog input, measuring bridge
  • Beckhoff ELM3348-0033 | EtherCAT Terminal, 8-channel analog input, temperature
  • Beckhoff ELM3348-0030 | EtherCAT Terminal, 8-channel analog input, temperature
  • Beckhoff ELM3348-0003 | EtherCAT Terminal, 8-channel analog input, temperature, thermocouple
  • LENZE Cabinet PC series Industrial PCs
  • LENZE Embedded Line series Industrial PCs
  • LENZE Command Station series Industrial PCs
  • LENZE 3200 C Controller
  • HIMA H6200A DIN rail Safety Analog Isolation Module Transmitter Circuit
  • Eaton CORPORATION IQMESIIN1 METER
  • Eaton DT223UGK Heavy duty double-throw non-fused safety switch
  • Eaton 5884-1400 6-Digit Dual Preset Control W/ Batch Control
  • Eaton 1023843 Power Circuit Board 94V
  • EATON ES4P-221-DRXD1 24VDC NSMP
  • Eaton DH222NWK heavy duty fusible safety switch
  • Eaton Touch Panel 10.1 inch XV-303-10-C00-A00-1C
  • Eaton RDF200J-3 Bussmann series RDF fused rotary disconnect switch
  • EATON CORPORATION A200M2CACD A200 NEMA Motor Control
  • Eaton SPD160208Y3J Surge Protection Device
  • EATON CORPORATION SPD160208Y3K SURGE SUPPRESSOR
  • EATON DILM400/22 (RA250) 200KW Coil Voltage/Coil 110-250V 40-60Hz/DC
  • Eaton XV-430-10TVB-1-10 139902 Touch Panel
  • EATON CORPORATION D820MPM HMI
  • EATON PXG900 Power Xpert Insight Gateway 900
  • Eaton Durant 5882-7 Digital Counter loc2D3
  • EATON AXCELIS 1220-0012-0002 DISK VACUUM DI CONTROLLER
  • Eaton 1383B-6501 80 Series Photoelectric Sensor Head
  • Eaton FDC2100L Series C molded case switch
  • Eaton XV-430-10TVB-1-10 139902 Touch Panel
  • Eaton FD3200L circuit breaker
  • Eaton Touch Screen Control Panel X-152-D6-10TVRC-10
  • EATON VICKERS EEA-PAM-523-A-32 02-326001 POWER AMPLIFIER
  • Saacke Seavis HMI 03 EATON XV-102-B6-35TQR-1AL-PLC HMI Touch Panel
  • EATON MTL E05016 DIGITAL INPUT EUROCARD E05516-2134
  • Eaton HFD3150 3P 150A 600VAC Circuit Breaker
  • Eaton HMIVU06CUNB1 HMi Operator Interface, RS-232, 5.6"
  • Cutler-Hammer/ Eaton Panelmate PowerPro 5785 with cables LCD monitor
  • Eaton D100CA40 40 I/O Micro PLC 115VAC Input Triac Output
  • EATON CUTLER HAMMER 66D2032GX1 MP-3000 PROTECTION RELAY
  • EATON R9L3200FJ Rotary Disconnect Switch
  • EATON CORPORATION E51CLT16PCU Switch
  • Aerotech Modular System Control Console
  • Aerotech TV Series Transformers
  • Aerotech TM5 Transformer Module (500 watts)
  • Aerotech TM3 Transformer Module
  • Aerotech UFM Noise Filter Module
  • Aerotech MFM10-2 Motor filter module
  • Aerotech MFM10-1 Motor filter module
  • Aerotech MPG Handwheel Pendant
  • Beckhoff ELM3348-0000 | EtherCAT Terminal, 8-channel analog input, temperature
  • Beckhoff ELM3344-0033 | EtherCAT Terminal, 4-channel analog input, temperature
  • Beckhoff ELM3344-0030 | EtherCAT Terminal, 4-channel analog input, temperature
  • Beckhoff ELM3344-0003 | EtherCAT Terminal, 4-channel analog input, temperature
  • Beckhoff ELM3344-0000 | EtherCAT Terminal, 4-channel analog input, temperature
  • Beckhoff ELM3246-0000 | EtherCAT Terminal, 6-channel analog input, temperature
  • Beckhoff ELM3244-0000 | EtherCAT Terminal, 4-channel analog input, temperature
  • Beckhoff ELM3148-0000 | EtherCAT Terminal, 8-channel analog input, multi-function
  • Beckhoff ELM3146-0000 | EtherCAT Terminal, 6-channel analog input, multi-function
  • Beckhoff ELM3144-0000 | EtherCAT Terminal, 4-channel analog input, multi-function
  • Beckwith Electric M-5072 Retrofit Kit For M-4272 Digital Motor Bus Transfer System
  • Beckwith Electric M-3919A Graphic Display Unit/ Human Machine Interface
  • Beckwith Electric M-4172 Digital Motor Bus Transfer System
  • Beckwith Electric M-3904B Remote Monitoring Module
  • Beckwith Electric M-3410A Intertie/Generator Protection Relay
  • Beckwith Electric B-1612 Adapter
  • Beckwith Electric B-1652 Adapter
  • Beckwith Electric B-1685 Adapter
  • Beckwith Electric M-2035 Analog to Digital Interface Module
  • Beckwith Electric B-2291 Digital Input Guard
  • Beckwith Electric M-2406 Recloser Control Adapter Chassis
  • Beckwith Electric M-3908 Universal Contact Input Adapter
  • Beckwith Electric M-3801D IPS Plot Software
  • Beckwith Electric M-7651A D-PAC
  • Beckwith Electric M-2979 Recloser Control Cabinet
  • Beckwith Electric M-0359 SYNCROCLOSER MOD512
  • Beckwith Electric M-2001C-6ELFA Tap Changer Controller Voltage Regulator Control
  • Beckwith Electric M-0124 TERMINAL BOARD ADAPTER PLATE 13 POS
  • Beckwith Pride M-0296C 3ph Programmable Relay
  • Beckwith Electric M-0388 Syncrocloser Check Relay
  • M-0170A AC Current Relay Beckwith Electric
  • Beckwith Electric Intertie Protection M-3520 Instruction Manual
  • M-3311 M-3311 7113 BECKWITH ELECTRIC TRANSFORMER PROTECTION RELAY
  • Pride M-0296b 3 phase Programmable Relay Beckwith Electric Co
  • Beckwith Electric M3310 Integrated Transformer Protection Panel
  • Beckwith M-0145 First Customer Protector
  • Beckwith Electric M-0296C 3 phase Programmabel Relay
  • Beckwith Electric M-0389 VOLTAGE VERIFIER
  • M-3425 M-3425-A1DE BECKWITH ELECTRIC GENERATOR PROTECTION RELAY SL
  • Beckwith Electric M-0420 Multifunction Relay Protection Module 48VDC
  • M-3430 M-3430M0D515 BECKWITH ELECTRIC GENERATOR PROTECTION RELAY
  • Beckwith Electric Tapchanger Control M-0067E
  • Beckwith M-2001D-6L4S20C0S0X Tap Changer Control Surplus
  • BECKWITH ELECTRIC M3425A-STD1 Generator Protection 85-280VDC
  • Beckwith Electric High Speed Sync-Check Relay #M-0245C Mod #22 (NIB)
  • Beckwith Electric M-7679 R-PAC
  • Beckwith Electric TAPCHANGER CONTROL M-2001C-6SL