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 | 333 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 1023843 Power Board B20098140711 A5
  • Eaton PDG23F0125VFFJ Power Defense molded case circuit breaker
  • Eaton 9130 1KVA Marine Filter Pn 1029424 Rev 002 220/230/240VAC 50/60Hz 1603
  • Eaton/Dynamatic 15-871-6 AF5000+ Power Supply Board P-CTR 158716
  • EATON D80JE22A PNEUMATIC TIMER SER.A2
  • Eaton - Cutler Hammer PXM1000MB15-1 PXM 1000 METER; DISPLAY; 5A; 100-415AC/1
  • Eaton Cutler Hammer IQDP-4000 IQ DP-4000 66D2040G03
  • Eaton F801 8 Segment Redundant Fieldbus Power Supply
  • Eaton PXM-4KUPG Power Xpert Meter 4000 to 6000 license upgrade key
  • Eaton PX-PMBC Panel mounting bracket assembly required for reduced graphic display rear clearance
  • Eaton PX-PMBB Panel mounting bracket assembly for retrofitting a graphic display to an IQ analyzer cutout
  • Eaton PX-PMBA Panel mounting bracket assembly for back-to-back meter to graphic display mounting
  • Eaton PXMCE-B Communications expansion card: Ethernet 100FX, 10/100T, RS-485, RS-232
  • Eaton PXMIO-B Digital I/O card: 8 digital input, 2 solid-state output, 3 relay output
  • Eaton PXD-MMG Graphic display module
  • Eaton PXM4051A1AB Power Xpert meter 4000
  • Eaton / Cutler Hammer PXM4000 PXM4051A1BB
  • Basler Electric BE1-59-A4E-E1C-A0N0F / BE159A4EE1CA0N0F Over Voltage Relay
  • Basler Electric SR4A-2B05A3E Static Voltage Regulator SR4A2B05A3E
  • Basler Electric 9-0723-00-130 / 9072300130
  • Basler Electric BE1-79MA10A6JC0L0F / BE179MA10A6JC0L0F
  • Basler Electric CBS-377 CURRENT BOOST SYSTEM PART NO 91096001
  • Basler Electric SR4A1B05A3A Static Voltage Regulator 480v-ac 62.5v-dc 10va
  • Basler Electric BE159N A7ED1JC0S0F Solid State BE159N-0 Protective Relay
  • Basler Electric BE1-51 SOLID STATE TIME OVERCURRENT RELAY K2EW6MB1N0F
  • Basler Electric BE1-50 INSTANTANEOUS OVERCURRENT RELAY BE1-50 Style G4EA1RG0N0F
  • Basler Electric BE1A-25-M1G-A6T-N4V1F Sync-Check Relay
  • Basler Electric SR8A2B10B1A STATIC VOLTAGE REGULATOR
  • BASLER TIME OVERCURRENT RELAY BE1-51A SOLID STATE 1 PH
  • Basler Electric SSR 125-12 STATIC VOLTAGE REGULATOR 9185900102
  • Westinghouse 2374A07G03 Power Supply Basler Electric 90-73900-102
  • 9400200117 - Basler Electric - CONTROL POWER UNIT - 12/24VDC 20WATT
  • Basler Electric Static Voltage Regulator SR32A2B05B3E
  • Basler Electric SR8A2B06B3A Static Voltage Regulator / SR8A2BO6B3A
  • Basler Electric BE1-51 SOLID STATE TIME OVERCURRENT RELAY B1EZIPB1N0F
  • Basler Electric BE1-50 INSTANTANEOUS OVERCURRENT RELAY BE1-50-51B-219
  • Basler Electric BE1-51 SOLID STATE TIME OVERCURRENT RELAY K1EW6MB0N0F
  • Basler Electric SBO226 Excitation Support System
  • Basler Electric SBO225 Excitation Support System
  • Basler Electric BE1-51 SOLID STATE TIME OVERCURRENT RELAY K1EZ1PA0N0F
  • Basler Electric MOC3502 | 90-72300-116 MOTOR POTENTIOMETER
  • Woodward 1751-6058 4 Channel MPU Transformer Module
  • Basler Electric 2D80367G23 DXCB De-Excitation Module 1200V 5000A Excite
  • Basler Electric SSR 63-12-9185900101 Static Voltage Regulator
  • Basler Electric BE1-51 SOLID STATE TIME OVERCURRENT RELAY K1EW5MB0N0F
  • Basler Electric MODEL SSR 125-12NF STATIC VOLTAGE REGULATOR 9 1859 00 106
  • Basler Electric Breaker Protection Relay BE1-BPR 9272000315
  • Basler Electric SBO224 Excitation Support System
  • Basler Electric SSR 63-12 Static Voltage Regulator 9 1859 00 101 46534AB
  • Basler Electric AEM-2020 ANALOG EXPANSION MODULE
  • Basler Electric BE 25231-001 Transformer BE25231001
  • Basler Electric PSS-100-Y5 Power Sys Stabilizer dampening oscillations 0.1-5.0Hz
  • Basler Electric BE1-87G-S1A-A1C-A0N0 Variable Percentage Differential Relay
  • Basler Electric SR8A-2B06B3E Static Voltage Regulator SR8A2B06B3E
  • Basler Electric SOLID STATE FREQUENCY CONTROLLER SCP-210 /SCP210 P/No:9095400100
  • Basler Electric BE1-59-A3E-A1J-N1N3F / BE159A3EA1JN1N3F Over Voltage Relay
  • Basler Electric SBO223 Excitation Support System
  • Basler Electric P/N 9 2011 11 100 BRACKET MOUNTED TERMINAL UNIT
  • Basler Electric P/N 9 2011 11 100 BRACKET MOUNTED TERMINAL UNIT
  • Basler Electric voltage regulator P/n: 9 1606 00 101
  • Basler Electric Current Boost System | Model No. CBS-377 P/N 9109600102
  • Basler Electric 8650C72 Exciter Control Module Pcb Board Rev 5
  • Basler Electric 9252000258 Be1-50/51b Overcurrent Relay
  • Basler Electric SR8A-2B01B3A Static Voltage Regulator SR8A2B01B3A
  • Basler Electric SR4A-2B01B3E Static Voltage Regulator SR4A2B01B3E
  • Basler Electric 9017709102 PC Board
  • Basler Electric 9066800102 Excitation Support Systems 9066800-102
  • Beckhoff ELX3152-0090 | EtherCAT Terminal, 2-channel analog input, current
  • Beckhoff ELX3158 | EtherCAT Terminal, 8-channel analog input, current, 4…20 mA
  • Beckhoff ELX3152 | EtherCAT Terminal, 2-channel analog input, current
  • Beckhoff ELM3704-1001 | EtherCAT Terminal, 4-channel analog input, multi-function
  • Beckhoff ELM3704-0020 | EtherCAT Terminal, 4-channel analog input, multi-function
  • Beckhoff ELM3704-0001 | EtherCAT Terminal, 4-channel analog input, multi-function
  • Beckhoff ELM3704-0000 | EtherCAT Terminal, 4-channel analog input, multi-function
  • Beckhoff ELM3702-0101 | EtherCAT Terminal, 2-channel analog input, multi-function
  • Beckhoff ELM3702-0000 | EtherCAT Terminal, 2-channel analog input, multi-function
  • Beckhoff ELM3604-0002 | EtherCAT Terminal, 4-channel analog input, IEPE/accelerometer
  • Beckhoff ELM3604-0000 | EtherCAT Terminal, 4-channel analog input, IEPE/accelerometer
  • Beckhoff ELM3602-0032 | EtherCAT Terminal, 2-channel analog input, IEPE/accelerometer
  • Beckhoff ELM3602-0030 | EtherCAT Terminal, 2-channel analog input, IEPE/accelerometer
  • Beckhoff ELM3602-0002 | EtherCAT Terminal, 2-channel analog input, IEPE/accelerometer
  • Beckhoff ELM3602-0000 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff ELM3544-0000 | EtherCAT Terminal, 4-channel analog input, measuring bridge
  • Beckhoff ELM3542-0000 | EtherCAT Terminal, 2-channel analog input, measuring bridge
  • ENOTEC GAS ANALYZER SYSTEM OXITEC 5000 SME-53310000
  • 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