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 | 58 view: | 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.

  • MOOG D138-002-002 Industrial Control Module
  • MOOG D138-003-001 Industrial Control Module
  • MOOG CA98502-001 Accessories for Ruggedized Motion Controller
  • MOOG D691-078D servo valve
  • MOOG CA65866-001 MSD Motion Controller
  • MOOG C43148-001 QD10 16/16 Digital l/0 module
  • MOOG D138-002-012 Main control unit
  • MOOG CA94286-001 Accessories for Ruggedized Motion Controller
  • MOOG D136-001-008 MSCI MSD Motion Controller
  • MOOG B95906-001 MSCI Motion Controller
  • MOOG B95865-001 CAN Termination Resistors
  • MOOG QEBUS-CAN Module
  • MOOG D136-003-001 Interfaces of Ruggedized Motion Controller
  • MOOG RDI0 16/16 Digital Module
  • MOOG D136-003-004 Interfaces of Ruggedized Motion Controller
  • MOOG D391-001-003 MSD MOTION CONTROLLER
  • MOOG D138-002-003 Industrial Control Module
  • MOOG MSC-R-10 16/8 Digital and PT100 Module
  • MOOG CB08987-001 Ruggedized Motion Controller
  • MOOG RDISP 22 Operator Panel DISPLAYS
  • MOOG D136-003-002 Interfaces of Ruggedized Motion Controller
  • MOOG CA65865-001 MSCl Motion Controller
  • MOOG B95863-001 CAN Connection Cables
  • MOOG QA10 16/4 Analog Module
  • MOOG D136-006-001 EtherCAT slave interface
  • MOOG D391-001-001 MSD MOTION CONTROLLER
  • MOOG D136-003-005 Interfaces of Ruggedized Motion Controller
  • MOOG D137-004-003 TFT Touch screen display
  • MOOG D138-002-003 Industrial Control Module
  • MOOG D138-003-010 Industrial Control Module
  • MOOG CB03223-001 Accessories for Ruggedized Motion Controller
  • MOOG B95864-001 CAN Termination Resistors
  • MOOG QD10 16/16 Digital Module
  • MOOG D391-001-002 MSD MOTION CONTROLLER
  • MOOG D138-001-010 Industrial Control Module
  • MOOG D138-001-005 Industrial Control Module
  • MOOG D138-001-002 Industrial Control Module
  • MOOG D138-001-001 Industrial Control Module
  • MOOG D137-002-001 Digital I/O modules
  • MOOG QEBUS-CAN Extension module
  • MOOG D137-001-010 Connection modules
  • MOOG D137-001-004 Digital I/O modules for E-Bus
  • MOOG D137-001-007 Digital extension module
  • MOOG G391-001-001 MSD Motion Controller
  • MOOG D138-002-001 Motion Controller
  • MOOG D137-004-004 TFT Touch screen display
  • MOOG D136-002-005 Ruggedized Motion Controller Interface
  • MOOG D137-001-006 Digital extension module
  • MOOG D136-002-004 Ruggedized Motion Controller Interface
  • MOOG D137-004-006 TFT Touch screen display
  • MOOG G391-001-002 MSD Motion Controller
  • MOOG D137-004-005 TFT Touch screen display
  • MOOG D137-001-005 Digital extension module
  • MOOG D136E001-001 Programmable Processor Module
  • MOOG D138-006-001 operation panel
  • MOOG G122-829-001 Programmable Processor Module
  • MOOG G761-3002B Industrial servo valves
  • MOOG T161-902A-00-B4-2-2A Servo Controller
  • MOOG M128-010-A001B DC Power Module
  • MOOG G391-001-003 MSD Motion Controller
  • MOOG D138-002-002 Motion Controller
  • MOOG D137-001-011 Digital extension module
  • MOOG D136-002-003 Ruggedized Motion Controller Interface
  • MOOG D136-002-002 Ruggedized Motion Controller Interface
  • MOOG D136-001-008a Ruggedized Motion Controller Interface
  • MOOG D136-001-007 Ruggedized Motion Controller Interface
  • MOOG D136-001-001 Ruggedized Motion Controller Interface
  • MOOG 914-GBE Gigabit Ethernet (GbE) Media Converter
  • MOOG 914-0300-00 ADVANCED MODULAR MULTIPLEXER SYSTEM
  • ABB UCD224A103 digital input/output module
  • ABB PDD205A0121 power distribution device
  • ABB PDD205A1121 power distribution device
  • ABB DSDX453 Digital input/output (DIO) expansion card
  • ABB DSPC454 Processor Board
  • ABB 81EU01E-E Input Module
  • ABB TK457V050 Temperature Controller
  • ABB DSRF197K01 Ethernet communication module
  • ABB TK802F power supply cable
  • ABB 3BHE039203R0101 IGCT module board
  • ABB 3BHB004027R0101 IGCT module board
  • ABB 3BHB003154R0101 IGCT module board
  • ABB PM864AK01-eA Processor Unit
  • ABB CI868K01-eA high-performance communication module
  • ABB 5SHY35L4520 IGCT module
  • ABB UNS0119A-P V101 Control Module
  • ABB UNS0119A-P V101 Control Module
  • ABB GCC960C103 High-performance industrial automation control module
  • ABB GVC736CE101 High Performance AC Drive
  • ABB PCD244A101 Terminal Card Module
  • ABB GFD212A Analog I/O modul
  • ABB PDD500A101 power distribution device
  • ABB PDD200A101 power distribution device
  • ABB S3N 3P 150A Molded Case Circuit Breakers
  • ABB SPIET800 Ethernet CIU Transfer Module
  • ABB SPAD346C3 Differential relay
  • ABB GFD233A excitation controller module
  • ABB FPX86-9329--C Control Module
  • ABB ARCOL 0346 Industrial Frequency Converter
  • ABB ARCOL 0338 Industrial Frequency Converter
  • ABB ARCOL 0339 Industrial Frequency Converter
  • ABB 969-54 Process Control Module
  • ABB 5SDD1060F0001 high-performance fast recovery diode
  • ABB 5SDF0860H0003 high-performance fast recovery diode
  • ABB KUC720AE01 High-Frequency Industrial Control Module
  • ABB KUC720AE High-Frequency Industrial Control Module
  • ABB UFC718AE01 main circuit interface board
  • ABB FI820F Fieldbus Profibus DP
  • ABB 5SHX2645L0004 IGCT module
  • ABB 5360673-01 High-Frequency Power Supply Module
  • ABB SPHSS03 Hydraulic Servo Module
  • ABB CB801 Profibus DP Communication Interface
  • ABB DSAI130D High-Performance Analog Input Board
  • ABB 086329-003 Digital Output Module
  • ABB 086349-002 Digital Output Module
  • ABB 086345-504 Digital Output Module
  • ABB PFCL201C 10KN Pressductor PillowBlock Load Cells
  • ABB 3HAC17484-8108 Module for Industrial Control Systems
  • ABB 5SHY3545L0009 IGCT module
  • ABB NPCT-01C Industrial Timer Unit
  • ABB NPCT-01C 64009486D Industrial Timer Unit
  • ABB 216DB61 Digital Output Unit
  • ABB 216AB61 Digital Output Unit
  • ABB 5SHX1060H0003 IGCT module
  • ABB 07KT97H3 PLC Controller Module
  • ABB C310/0020/STD Commander process controller
  • ABB 3BHB005171R0101 High-Frequency Industrial Control Module
  • ABB REF610 Feeder protection
  • ABB DSQC633 Industrial Interface Module