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 | 266 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 EL1904 | EtherCAT Terminal, 4-channel digital input, 24 V DC, TwinSAFE
  • Beckhoff EL1899 | EtherCAT Terminal, 16-channel digital input, 24 V DC, 10 µs, ground switching
  • Beckhoff ED1897 | EtherCAT Terminal, 32-channel digital input
  • Beckhoff EL1489 | EtherCAT Terminal, 16-channel digital input
  • Beckhoff ED1889 | EtherCAT Terminal, 16-channel digital input
  • Beckhoff EL1889 | EtherCAT Terminal, 16-channel digital input
  • Beckhoff EL1872-0010 | EtherCAT Terminal, 16-channel digital input
  • Beckhoff EL1872 | EtherCAT Terminal, 16-channel digital input
  • Beckhoff EL1862-0010 | EtherCAT Terminal, 16-channel digital input
  • Beckhoff EL1862 | EtherCAT Terminal, 16-channel digital input
  • Beckhoff ED1859 | EtherCAT Terminal, 8-channel digital input
  • Beckhoff EL1859 | EtherCAT Terminal, 8-channel digital input
  • Beckhoff EL1852 | EtherCAT Terminal, 8-channel digital input
  • Beckhoff ED1819 | EtherCAT Terminal, 16-channel digital input, 24 V DC, 10 µs, push-in
  • Kollmorgen S200 Series S20350-VTS SERVO DRIVE
  • Kollmorgen ServoStar CD CR06250 PRD-0030000z-45 , 1.4/2.2KVA Servo Drive Rev M
  • KOLLMORGEN AKD-P02407-NBEC-0000 Servo Drive
  • Kollmorgen ME2-405-B-A2 Goldline Servomotor-Encoder Commutated
  • KOLLMORGEN AKD-P00606-NBCC-I000 SERVO DRIVE
  • Kollmorgen MV65WKS-CE310/22PB Servo Drive Control Module 220v 22a
  • KOLLMORGEN SERVOSTAR 303 S3036 1-SE SERVO DRIVE
  • Kollmorgen S20360-VTS-021 Servo Drive
  • Kollmorgen MMC-SD-1.0-230-D (M.3000.0912) MMC Motion Control
  • Kollmorgen PRD-B040SAIZ-63 SERVO DRIVE CB06550
  • GE PQMII-T20-C-A Power Quality Meter
  • Eaton XV100-BOX-E4-DC1 EasyE4 Nano PLC, Starterset with DC Power supply
  • Eaton EASY-E4-DC-4PE1P easy programmable relays
  • Eaton EASY-E4-AC-12RCX1P easy programmable relays
  • Eaton EASY-E4-AC-12RC1P easy programmable relays
  • Eaton EASY-BOX-E4-UC1 Easy Nano Programmable Logic Controller
  • Eaton EASY-BOX-E4-DC1 Easy Nano Programmable Logic Controller
  • Eaton EASY-BOX-E4-AC1 easy programmable relays
  • Eaton XN-322-18PD-P Power feeder and distribution modules
  • Eaton XN-322-18PD-M Power feeder and distribution modules
  • Eaton XN-322-4PS-20 Power feeder and distribution modules
  • Eaton XN-322-1CNT-8DIO Technology modules
  • Eaton XN-322-1DCD-B35 Technology modules
  • Eaton XN-322-2DMS-WM Technology modules
  • Eaton XN-322-8AIO-U2 Analog input/output module
  • Eaton XN-322-8AO-U2 Analog output module
  • Eaton XN-322-4AI-PTNI Analog input modules
  • Eaton XN-322-10AI-TEKT Analog input module
  • Eaton XN-322-8AI-I Analog input modules
  • Eaton XN-322-7AI-U2PT Analog input modules
  • Eaton XN-322-12DO-P17 Digital output modules
  • Eaton XN-322-16DO-P05 Digital output modules
  • Eaton XN-322-20DI-PCNT Input/output modules
  • Eaton XN-322-20DI-PF Input/output modules
  • Eaton XN-312-GW-CAN Gateway modules
  • Eaton XN-322-20DI-PD Input/output modules
  • Beckhoff EL1814 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 10 µs, 3-wire connection
  • Beckhoff EL1819 | EtherCAT Terminal, 16-channel digital input, 24 V DC, 10 µs
  • Beckhoff ED1829 | EtherCAT Terminal, 16-channel digital input, 24 V DC, 3 ms, positive/ground switching, push-in
  • Beckhoff EL1429 | EtherCAT Terminal, 16-channel digital input, 24 V DC, 3 ms
  • Honeywell X-DCS2000-E Digital Integrated System Manager
  • Automotion LC4A00010 DC BL Motor Control, ATS, Sub Assy, SCP, 115VAC
  • 500T-115VAC - VAS ENGINEERING - DORIC 500 SERIES DIGITSL TEMP INDICATOR - MODEL
  • ABB XZ C828 A101 Didt Dioder Snubber 3BHE039453R0101
  • ABB 3BHB027232R0001 1-Phase Charging Transformer
  • ABB 3BHE006412R0101 Circuit Board UFC762AE101
  • ABB XVC770BE101 3BHE021083R0101 Circuit Board
  • ABB 3BHE024747R0101 GD C801 A 3BHE024748 P104 high-voltage board
  • ABB 3BHE021887R0101 UBCC717BE101 Board 3BHB002751R0102
  • ABB 3BHE032593R0001 Isolated Power Supply
  • ABB 3BSC610023R0001 POWER SUPPLY SD812
  • Beckhoff ED1837 | EtherCAT Terminal, 32-channel digital input, 24 V DC, adjustable, push-in
  • Beckhoff EL1417 | EtherCAT Terminal, 32-channel digital input, 24 V DC, adjustable
  • Beckhoff ED1839 | EtherCAT Terminal, 16-channel digital input, 24 V DC, adjustable, push-in
  • Beckhoff EL1409 | EtherCAT Terminal, 16-channel digital input, 24 V DC, 3 ms
  • Beckhoff ED1809 | EtherCAT Terminal, 16-channel digital input, 24 V DC, 3 ms, push-in
  • Beckhoff EL1809 | EtherCAT Terminal, 16-channel digital input, 24 V DC, 3 ms
  • Beckhoff EL1808 | EtherCAT Terminal, 8-channel digital input, 24 V DC, 3 ms, 2-wire connection
  • Beckhoff EL1804 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 3 ms, 3-wire connection
  • Beckhoff EL1722 | EtherCAT Terminal, 2-channel digital input, 120…230 V AC, 10 ms, without power contacts
  • Beckhoff EL1712-0020 | EtherCAT Terminal, 2-channel digital input, 120 V DC, 3 ms
  • Beckhoff EL1712 | EtherCAT Terminal, 2-channel digital input, 120 V AC/DC, 10 ms
  • Beckhoff EL1702-0020 | EtherCAT Terminal, 2-channel digital input, 220 V DC, 3 ms
  • Beckhoff EL1702 | EtherCAT Terminal, 2-channel digital input, 120…230 V AC, 10 ms
  • Beckhoff EL1512 | EtherCAT Terminal, 2-channel digital input, counter, 24 V DC, 1 kHz
  • Beckhoff EL1502 | EtherCAT Terminal, 2-channel digital input, counter, 24 V DC, 100 kHz
  • Beckhoff EL1382 | EtherCAT Terminal, 2-channel digital input, thermistor, 30 ms
  • Beckhoff EL1262-0050 | EtherCAT Terminal, 2-channel digital input, 5 V DC, 1 µs, oversampling
  • Beckhoff EL1262-0010 | EtherCAT Terminal, 2-channel digital input + 2-channel digital output
  • Beckhoff EL1262 | EtherCAT Terminal, 2-channel digital input, 24 V DC, 1 µs, oversampling
  • Beckhoff EL1259 | EtherCAT Terminal, 8-channel digital input + 8-channel digital output
  • Beckhoff EL1258-0010 | EtherCAT Terminal, 8-channel digital input, 24 V DC, 1 µs, ground switching, multi-timestamp
  • Beckhoff EL1258 | EtherCAT Terminal, 8-channel digital input, 24 V DC, 1 µs, multi-timestamp
  • Beckhoff EL1264 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 1 µs, oversampling
  • Beckhoff EL1254 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 1 µs, timestamp
  • Beckhoff EL1252-0060 | EtherCAT Terminal, 2-channel digital input, 10 V DC, 1 µs, timestamp
  • Beckhoff EL1252-0050 | EtherCAT Terminal, 2-channel digital input, 5 V DC, 1 µs, timestamp
  • Beckhoff EL1252-0010 | EtherCAT Terminal, 2-channel digital input, 24 V DC, 10 µs, timestamp
  • Beckhoff EL1252 | EtherCAT Terminal, 2-channel digital input, 24 V DC, 1 µs, timestamp
  • Beckhoff EL1202 | EtherCAT Terminal, 2-channel digital input, 24 V DC, 1 µs
  • Beckhoff EL1144 | EtherCAT Terminal, 4-channel digital input, 12 V DC, 10 µs
  • Beckhoff EL1134 | EtherCAT Terminal, 4-channel digital input, 48 V DC, 10 µs
  • Beckhoff EL1124 | EtherCAT Terminal, 4-channel digital input, 5 V DC, 0.05 µs
  • Beckhoff EL1114 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 10 µs, 2-/3-wire connection
  • Beckhoff EL1104 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 3 ms, 2-/3-wire connection
  • Beckhoff EL1098 | EtherCAT Terminal, 8-channel digital input, 24 V DC, 10 µs, ground switching
  • Beckhoff EL1094 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 10 µs, ground switching
  • Beckhoff EL1088 | EtherCAT Terminal, 8-channel digital input, 24 V DC, 3 ms, ground switching
  • Beckhoff EL1084 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 3 ms, ground switching
  • Beckhoff ELX1058 | EtherCAT Terminal, 8-channel digital input, NAMUR, Ex i
  • Beckhoff ELX1054 | EtherCAT Terminal, 4-channel digital input, NAMUR, Ex i
  • Beckhoff EL1054 | EtherCAT Terminal, 4-channel digital input, NAMUR
  • Beckhoff ELX1052 | EtherCAT Terminal, 2-channel digital input, NAMUR, Ex i
  • Beckhoff EL1052 | EtherCAT Terminal, 2-channel digital input, NAMUR
  • Beckhoff EL1034 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 10 µs, potential-free
  • Beckhoff EL1024 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 3 ms, type 2
  • Beckhoff EL1014 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 10 µs
  • Beckhoff EL1012 | EtherCAT Terminal, 2-channel digital input, 24 V DC, 10 µs
  • Beckhoff ED1008 | EtherCAT Terminal, 8-channel digital input, 24 V DC, 3 ms, push-in
  • Beckhoff EL1008 | EtherCAT Terminal, 8-channel digital input, 24 V DC, 3 ms
  • Beckhoff EL1004-0020 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 3 ms, isolation voltage 2500 V DC
  • Beckhoff EL1004 | EtherCAT Terminal, 4-channel digital input, 24 V DC, 3 ms
  • Beckhoff EL1002 | EtherCAT Terminal, 2-channel digital input, 24 V DC, 3 ms
  • Beckhoff EK9520 | EtherNet/IP™ Bus Coupler
  • Beckhoff EK9500 | EtherNet/IP™ Bus Coupler
  • Beckhoff EK9320 | PROFINET RT Bus Coupler
  • Beckhoff EK9300 | PROFINET RT Bus Coupler
  • Beckhoff EK9160 | IoT Bus Coupler
  • Beckhoff EK9020 | Modbus TCP/UDP Bus Coupler
  • Beckhoff EK9000 | ModbusTCP/UDP Bus Coupler
  • Beckhoff EK3100 | PROFIBUS Bus Coupler
  • Beckhoff BK1250 | Compact coupler between EtherCAT Terminals and Bus Terminals
  • Beckhoff BK1150 | EtherCAT Compact Bus Coupler
  • Beckhoff BK1120 | EtherCAT Bus Coupler for standard Bus Terminals