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

  • Beckhoff EL3142 | EtherCAT Terminal, 2-channel analog input, current
  • Beckhoff EL3141 | EtherCAT Terminal, 1-channel analog input, current
  • Beckhoff EL3124-0090 | EtherCAT Terminal, 4-channel analog input, current
  • Beckhoff EL3124 | EtherCAT Terminal, 4-channel analog input, current
  • Beckhoff EL3122 | EtherCAT Terminal, 2-channel analog input, current
  • Beckhoff EL3121 | EtherCAT Terminal, 1-channel analog input, current
  • Beckhoff EL3114 | EtherCAT Terminal, 4-channel analog input, current
  • Beckhoff EL3112-0011 | EtherCAT Terminal, 2-channel analog input, current
  • Beckhoff EL3112 | EtherCAT Terminal, 2-channel analog input, current
  • Beckhoff EL3111 | EtherCAT Terminal, 1-channel analog input, current
  • Beckhoff EL3104 | EtherCAT Terminal, 4-channel analog input
  • Beckhoff EL3102 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff EL3101 | EtherCAT Terminal, 1-channel analog input
  • Beckhoff EL3068 | EtherCAT Terminal, 8-channel analog input
  • Beckhoff EL3064 | EtherCAT Terminal, 4-channel analog input
  • Beckhoff EL3062-0030 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff EL3062 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff EL3061 | EtherCAT Terminal, 1-channel analog input
  • Beckhoff EL3058 | EtherCAT Terminal, 8-channel analog input
  • Beckhoff EL3054 | EtherCAT Terminal, 4-channel analog input
  • Beckhoff EL3052 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff EL3051 | EtherCAT Terminal, 1-channel analog input
  • Beckhoff EL3048 | EtherCAT Terminal, 8-channel analog input
  • Beckhoff EL3044 | EtherCAT Terminal, 4-channel analog input
  • Beckhoff EL3042 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff EL3041 | EtherCAT Terminal, 1-channel analog input
  • Beckhoff EL3024 | EtherCAT Terminal, 4-channel analog input
  • Beckhoff EL3022 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff EL3021 | EtherCAT Terminal, 1-channel analog input
  • Beckhoff EL3014 | EtherCAT Terminal, 4-channel analog input
  • Beckhoff EL3012 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff EL3008-0005 | EtherCAT Terminal, 8-channel analog input, voltage, ±5 V, 16 bit, cascaded
  • Beckhoff EL3008-0003 | EtherCAT Terminal, 8-channel analog input, voltage, ±3 V, 16 bit, cascaded
  • Beckhoff EL3008 | EtherCAT Terminal, 8-channel analog input, voltage, ±10 V, 12 bit, single-ended
  • Beckhoff EL3004 | EtherCAT Terminal, 4-channel analog input
  • Beckhoff EL3002 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff EL3001 | EtherCAT Terminal, 1-channel analog input
  • Beckhoff EL4374 | EtherCAT Terminal, 2-channel analog input + 2-channel analog output
  • Beckhoff ED3174 | EtherCAT Terminal, 4-channel analog input, multi-function
  • Basler Electric SR4A, Retrofit Voltage Regulator
  • Basler Electric SR9A, Retrofit Voltage Regulator
  • Basler Electric SR8A, Retrofit Voltage Regulator
  • Basler Electric SR6A, Retrofit Voltage Regulator
  • Basler Electric SSR63-12, Retrofit Voltage Regulator
  • Basler Electric DECS-250E, Digital Excitation Control System
  • Basler Electric DECS-250N, Digital Excitation Control System with Negative Forcing
  • Basler Electric BE1-FLEX, Protection, Automation, and Control System
  • Basler Electric DGC-2020ES, Digital Genset Controller
  • Basler Electric DECS-450, Digital Excitation Control System
  • Basler Electric IDP-1500 Interactive Display Panel
  • Basler Electric DXCB-2 De-Excitation/Crowbar Module
  • Basler Electric FGD-2 Field Ground Detector
  • Basler Electric DECS-2100 Digital Excitation Control System
  • Basler Electric AVC63-12, Voltage Regulator
  • Basler Electric VRM-2020, Voltage Regulation Module
  • Basler Electric DECS-150, Digital Excitation Control System
  • Basler Electric DGC-2020HD, Digital Genset Controller
  • Basler Electric CEM-2020, Contact Expansion Module
  • Basler Electric AEM-2020, Analog Expansion Module
  • Basler Electric Power Isolation Transformer – 640 VA, 50-400 Hz, 240/480 416/480 600 Vac Primary (BE10647)
  • Basler Electric Power Isolation Transformer – 720 VA, 50-400 Hz, 80 Vac Primary (BE25825)
  • Basler Electric Power Isolation Transformer – 720 VA, 50-60 Hz, 240/480 600 Vac Primary (BE22207)
  • Basler Electric Power Isolation Transformer – 900 VA, 50-60 Hz, 240/480 600 Vac Primary (BE18674)
  • Basler Electric DECS-400 to DECS-450 Transition Plate (9597106100)
  • Basler Electric Top Mount Enclosure for DGC-2020ES
  • Basler Electric Ethernet Switch (41133)
  • Basler Electric Field Isolation Transducer, with Cable Assembly (9372900101)
  • Basler Electric DECS Free Wheeling Diode Module (9293600101)
  • Basler Electric Control Power Transformer (120Vac) to power two DECS units (BE31449001)
  • Basler Electric ICRM-7, Inrush Current Reduction Module (9387900103)
  • Basler Electric ICRM-15, Inrush Current Reduction Module (9387900104)
  • Basler Electric ESD-202, Energy Storage Device (9290500100)
  • Basler Electric ESD-201, Energy Storage Device (9110600101)
  • Beckhoff ED3172 | EtherCAT Terminal, 2-channel analog input, multi-function
  • Beckhoff EL3172-0020 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff EL3172 | EtherCAT Terminal, 2-channel analog input
  • Beckhoff ED3078 | EtherCAT Terminal, 8-channel analog input
  • Beckhoff EL3078 | EtherCAT Terminal, 8-channel analog input
  • Beckhoff ED3074 | EtherCAT Terminal, 4-channel analog input
  • Beckhoff EL3074 | EtherCAT Terminal, 4-channel analog input
  • Beckhoff ED3072 | EtherCAT Terminal, 2-channel analog input
  • EATON CORPORATION BA43P RELAY
  • EATON CORPORATION FE700VA POWER SUPPLY
  • EATON CORPORATION JDB2225 CIRCUIT BREAKER
  • Eaton XP-503-21-A10-A00-1V Interface Panel 174479 Ver06 24Vdc 1.7A (8.6.8)
  • EATON 142530 XV-102-D0-57TVR-10 Touch Panel, 24VDC, 5.7" TFTcolor, Ethernet, PLC
  • Eaton DG323URB Safety Switch General Duty 3P 100A 240V 50/60Hz 3R
  • EATON MTL5521 ALARM DRIVER
  • EATON PW9130I3000T-XL UPS SYSTEM 9130
  • EATON CORPORATION EDB3225L CIRCUIT BREAKER
  • EATON SLX010A1-4A1B0 DRIVE
  • EATON SPX010A1-4A1B1 SPX Adjustable Frequency Drive
  • Eaton Cutler Hammer Westinghouse Universal RTD Module 2D78559G01
  • EATON CORPORATION SPD160208Y2A SURGE SUPPRESSOR
  • EATON CORPORATION MVX001A0-4 DRIVE
  • Eaton EASY204-DP EASY204-DP Communication Module
  • EATON VICKERS EEA-PAM-523-A-32 02-326001 POWER AMPLIFIER
  • EATON FUE-563004 MARINE FILTER 3000VA
  • EATON CH HJD3225 Circuit Breaker 250A 600V 3P JT3225T Trip 225 Amp BOLT ON
  • EATON FP4201-00 / 66D2120G41 Feeder Protection
  • EATON POWERWARE 101073072-001 BOARD INVERTER CONTROL
  • EATON FP-4000 FP4201-00 / 66D2120G41 Feeder Protection
  • Eaton 99-6120-01 MMS106 XTJP/XTJY Jockey Pump Controller Touchscreen Display
  • EATON CUTLER-HAMMER MP4010 PROTECTIVE RELAY MP-4000 66D2206G01
  • Eaton XV-102-E6-70TWRC-10 HMI PANEL / PLC / Touch Panel
  • Eaton ELPRO 245U-E 245U-E-G-EU 100mW 2.4GHz Wireless Ethernet
  • Eaton XV-430-10TVB-1-10 139902 Touch Panel
  • EATON MTL 4850 HART MULTIPLEXER
  • EATON CORPORATION 1455A-6503 Sensor
  • EATON CORPORATION 5882-1 COUNTER
  • Eaton D100DCR40 40 I/O 24VDC Micro Programmable Logic Controller
  • Eaton Durant E4548 Temperature Controller Module E45481010
  • Eaton HMI06CE Touchscreen HMi Operator Interface, 5.7in 320x240 Display, 24VDC
  • EATON CORPORATION FI3200L CIRCUIT BREAKER
  • EATON XC-CPU201 XC-CPU201-EC512K-8DI-6DO XC Series Programmable Logic Controllers
  • EATON XV-102-D8-57TVRC-10 Part No 142534 Touch Display
  • Eaton 5P650iR UPS power supply
  • Eaton HMI10CE Touchscreen HMi Operator Interface, 10.4in 640x480 Display, 24VDC
  • Eaton PCB 1420570 Rev. B Assy 1520570 Source Electronics Interconnect PCB
  • Eaton OPTC2 SVX/SPX modbus RTU Communication coard
  • Eaton XC-CPU202-EC4M-XV XC modular programmable logic controller
  • Eaton XC-CPU202-EC4M-8DI-6DO-XV XC modular programmable logic controller
  • Eaton Moeller XV-230-57CNN-1-13-1 HMI PLC Panel Touchscreen 5.7" Operator Terminal
  • Eaton Touch Panel XV-303-70-C00-A00-1C | Version: 03 Part No: 179650 HMI PLC
  • Eaton 139915 XV-440-12TSB-1-50 Touch Panel
  • CTI 2572 Ethernet TCP/IP Adapter
  • CTI 2572-AF Fast Ethernet TCP/IP Adapter with Optical Fiber Connection
  • CTI 2572-A Fast Ethernet TCP/IP Adapter