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

  • ABB DAPU100 3ASC25H204 Control board I/O
  • Kongsberg RCU502I 421768 Remote Control Unit (Modular I/O Processor)
  • ABB AC 800PEC PC D237 3BHE028915R0101 / PC D237 A101 CONTROLLER BOARD
  • ABB GVC704AE01 5SHX1060H0001 3BHB003230R0101 Medium voltage inverter
  • ABB Process Panel PP245 3BSC690126R2 PP245B
  • GE Mark VIe & VIeS IS230PCAAH1B - Core Analog I/O Module
  • GE Mark VIe & VIeS IS230PCAAH1A Core Analog I/O Module
  • Emerson PMCSPANA/IH PMC Carrier Installation and Use Manual
  • Emerson PMCSPAN26E-010 Secondary PMC expansion
  • Emerson PMCSPAN26E-002 Primary PMC expansion
  • Emerson PMCSPAN16E-010 Secondary PCI expansion
  • Emerson PMCSPAN16E-002 Primary PCI expansion
  • A-B 1783-HMS4C4CGN Stratix 5400 Ethernet Managed Switches
  • A-B 1783-RA5TGC4G Stratix 4300 Remote Access Routers
  • A-B 1783-CMS10DP Stratix 5200 Ethernet Managed Switches
  • A-B 1783-CMS20DP Stratix 5200 Ethernet Managed Switches
  • A-B 1783-CMS20DP Stratix 5200 Ethernet Managed Switches
  • A-B 1783-HMS8S4CGN Stratix 5400 Ethernet Managed Switches
  • A-B 1783-CMS6B Stratix 5200 Ethernet Managed Switches
  • A-B 1783-RA5TGW Stratix 4300 Remote Access Routers
  • A-B 1783-RA2TGWC4G Stratix 4300 Remote Access Routers
  • A-B 1783-US8T/B Stratix 2000 Ethernet Unmanaged Switches—Series B
  • A-B 1783-US5TG/B Stratix 2000 Ethernet Unmanaged Switches—Series B
  • A-B 1783-RA2TGW Stratix 4300 Remote Access Routers
  • A-B 1783-US8T/A Stratix 2000 Ethernet Unmanaged Switches—Series A
  • A-B 1783-US6T2F/A Stratix 2000 Ethernet Unmanaged Switches—Series A
  • A-B 1783-US4T1F Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US5TG Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US4T1H Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US6T2TG2H Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US5T/B Stratix 2000 Ethernet Unmanaged Switches—Series B
  • A-B 1783-US6T2TG2F Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US6T2H/B Stratix 2000 Ethernet Unmanaged Switches—Series B
  • A-B 1783-US4T1H/B Stratix 2000 Ethernet Unmanaged Switches—Series B
  • A-B 1783-US14T2S Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US6T2F Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US7T1H Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US16T2S Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-RA2TGC4G Stratix 4300 Remote Access Routers
  • A-B 1783-US16T/B Stratix 2000 Ethernet Unmanaged Switches—Series B
  • A-B 1783-US7T1F/B Stratix 2000 Ethernet Unmanaged Switches—Series B
  • A-B 1783-RA2TGB Stratix 4300 Remote Access Routers
  • A-B 1783-LMS5 Stratix 2500 Ethernet Lightly Managed Switches
  • A-B 1783-US7T1F Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US4T1F Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US16T Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US8T Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US6T2H/A Stratix 2000 Ethernet Unmanaged Switches—Series A
  • A-B 1783-US4T1F/B Stratix 2000 Ethernet Unmanaged Switches—Series B
  • A-B 1783-US8TG2GX Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US6T2H Stratix 2000 Ethernet Unmanaged Switches
  • A-B 1783-US5T 5 Port Unmanaged Switch
  • 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