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

  • TRICONEX AI3351S2 Analog Input Module
  • TRICONEX DO 3626X Digital Output Module
  • Triconex CM3201 S2 Communication Module
  • TRICONEX 8305A Tricon Safety System Expansion/RXM Rack Power Supply
  • TRICONEX 9771-210 7760059032 Safety Redundant Controller
  • Triconex 9668-110 7400172-110 Termination Board
  • Triconex MP3101 Trident Redundant Processor Module
  • Triconex IMFF4703x | Fault-Tolerant Fieldbus Module
  • Triconex 4200 RXM Remote Extender Module
  • Triconex 4200 RXM Remote Extender Module
  • TRICONEX 3503EC1 Digital Input Module
  • Triconex 4000103-546 Communication Module
  • 4000094-350 | TRICONEX | Communication Module
  • TRICONEX 4000093-346 Three-Module Redundancy
  • TRICONEX 3902X Universal Input/Output module
  • TRICONEX 9760-2 7300150-001 Safety Instrumented System (SIS) Module
  • TRICONEX PLM3900N | Process Logic Module
  • TRICONEX 9771-210F Digital Input Module
  • TRICONEX MP3009 SIL-3 certified safety controller
  • Bachmann PPC1215WM/BE1/AM72/4G/P/LX Panel PC
  • Bachmann PPC1212WM/BE1/AM72/4G/P/LX Panel PC
  • Bachmann PPC1210WM/BE1/AM72/4G/P/LX Panel PC
  • Bachmann PPC1207WM/BE1/AM72/4G/P/LX Panel PC
  • MOOG IMI220-6180A001 12 digital output, PNP 24 VDC 2A
  • MOOG IMI220-6161A001 8 relay digital output
  • MOOG IMI220-6150A001 16 digital output, PNP 24 VDC 0.5A
  • MOOG IMI220-6100B001 16 digital input, 24 VDC + 2 counter
  • MOOG IMI220-6034A001 Main CPU + PSU + HMI controller + CAN + ProfiNET device
  • MOOG IMI220-6033A001 Main CPU + PSU + HMI controller + CAN + EtherCAT slave
  • MOOG IMI220-6031A001 Main CPU + PSU + HMI controller + CAN
  • Prosoft PLX82-EIP-61850 EtherNet/IP™ Server to IEC 61850 Client Gateway
  • PROSOFT TECHNOLOGY PROLINX 5604-RIO-PDPMV1
  • 5201-104S-MCM ProSoft Technology IEC 60870-5-104 Server to Modbus
  • 5104-MCM-PDPMV1 ProSoft Modbus Master/Slave to PROFIBUS DPV1 Master Gateway
  • Prosoft AN-X2-AB-DHRIO Gateway
  • Prosoft RLX2-IFH24E Industrial Wireless Ethernet Radio
  • Prosoft ICX35-HWC Industrial Cellular Gateway
  • Prosoft 5202-DFNT-MCM4 EtherNet/IP to Modbus Master/Slave Gateway
  • Prosoft PLX35-NB2 Network Bridge
  • ProSoft 4204-DFNT-PDPM ProLinx Gateway Ethernet/IP to Profibus-Master V2.45
  • Prosoft 6105-WA-PDPS Wireless PROFIBUS Gateways
  • Prosoft 6104-WA-PDPM Wireless PROFIBUS Gateways
  • Prosoft PTQ-PDPMV1 Master module
  • Prosoft MVI56-LTQ Limitorque Valve Network Interface Module
  • Prosoft 4301-MBP-DFCM Modbus Plus to DF1 Master/Slave Gateway
  • Prosoft 5201-MNET-MCM-WEB Modbus Plus to DF1 Master/Slave Gateway
  • Prosoft 5304-MBP-PDPMV1 Modbus Plus to DF1 Master/Slave Gateway
  • Prosoft 5302-MBP-MCM4 Modbus Plus to DF1 Master/Slave Gateway
  • Prosoft 5301-MBP-DH485 Modbus Plus to DF1 Master/Slave Gateway
  • PROSOFT ANC-100E Ethernet connectivity module
  • Prosoft 5304-MBP-PDPM Modbus Plus to DF1 Master/Slave Gateway
  • ProSoft 1452-25M Transfer Module
  • Prosoft MVI56-MNETR Modbus TCP/IP Interface Module
  • Prosoft MVI69L-MBS Modbus TCP/IP Interface Module
  • Prosoft PLX32-EIP-SIE Ethernet Communication Gateway
  • 5602-RIO-MCM4 ProSoft Rockwell Automation Remote I/O
  • Prosoft MVI56-PDPS Modbus TCP/IP Interface Module
  • Prosoft PMF1327205 Network Interface Module
  • Prosoft PMF1216D61 Network Interface Module
  • Prosoft MVI56-GSC Modbus TCP/IP Interface Module
  • PROSOFT 5601-RIO-MCM Communication Gateway Brand
  • Prosoft MVI56-MDA4 input/output module
  • Vibro-meter VM600-RPS6U 113-40060 Industrial Control Module
  • Vibro-meter MPC4 200-510-071-113 machinery protection card
  • vibrom-meter VM600 MPC4 machinery protection and condition monitoring module
  • vibrom-meter MPC4 200-510-076-115 Four-channel machine protection controller
  • Vibro-meter 200-510-111-035 MPC4 mechanical protection card
  • Vibro-meter MPC4 200-510-078-115 Meggitt Sensing Systems
  • Vibro-meter VM600 IOC4T | PNR200-560-000-111 | input/output card
  • Vibro-Meter VM600 PNR200-570-000-111 Industrial Monitoring Module
  • Vibro-meter VM600 IOCN PNR200-566-000-112 Industrial Control Module
  • Vibro-meter VM600 IOC16T PNR200-565-000-013 Industrial Control Module
  • Vibro-meter VM600 RPS6U PN200-582-500-013 Power Supply Module
  • Vibro-meter VM600 CMC16 PNR200-530-022-014 Communications Management Controller
  • Vibro-meter VM600-ABE040+204-040-100-011 measurement module
  • Vibro-meter 204-040-100-012 VM600 system rack
  • Vibro-meter vmf-IOCN 200-566-101-013 200-566-000-112 communication interface card
  • 4000094-310 | Triconex | External Output Cable Aassembly
  • TRICONEX AO3482 | Analog Output Safety Module
  • TRICONEX AT-2701FX 843-000844-00 REVD Ethernet Fiber Optic Network Interface Card
  • TRICONEX D28799-005 Power Interface Module
  • Triconex DI3361 Digital Input Module Brand
  • Triconex AI2361 7400210-020 Analog Input Card Module
  • Triconex AI3351 Analog Input Card Module
  • Triconex 4351A TCM Communication Module
  • TRICONEX RO3451 Digital Input Module Brand
  • TRICONEX 4000093-320 communication module
  • TRICONEX 2071H 7400313-100 Data Acquisition Module
  • TRICONEX T8800C PD8800 PCB130100 RISC Processor
  • TRICONEX 4000093-316 communication module
  • TRICONEX 4000094-313 communication module
  • TRICONEX 4000093-306 communication module
  • TRICONEX 4000103-513 communication module
  • TRICONEX 4000093-145 communication module
  • Triconex 4000066-025 9000011-000 I/O Communication Bus Cable
  • Triconex 4000056-025 I/O Communication Bus Cable
  • TRICONEX 4000093-110N Main Processor Module
  • Triconex 4352AN Tricon Communication Module
  • Triconex T8830 Control Module
  • Triconex 3008N Control Module
  • TRICONEX TCM 4355X Control Module
  • Triconex MP3009X/TCM 4355X Industrial Control Module
  • TRICONEX PLM 3900N Safety Redundant I/O Module
  • TRICONEX DI 3506X Digital Input Interface Board
  • TRICONEX IMSS 4701X I/O bus interface module
  • TRICONEX 7400212-100 Safety I/O Module
  • TRICONEX 2000418 Three-Channel Redundancy Module
  • TRICONEX 2000417 Three-Channel Redundancy Module
  • TRICONEX 3625C1 | Digital Output Module
  • TRICONEX TM11-5L-88 Industrial Control Module
  • TRICONEX 09031647921 | TMR Digital Output Module
  • TRICONEX JWA600-24 Digital Input Module
  • TRICONEX 9753-1 Redundant I/O Module
  • TRICONEX FTA-554 Process Control Module
  • TRICONEX 9853-610 Analog Output Module
  • 9662-1 TRICONEX terminal block
  • TRICONEX 2290614 Analog module
  • 3625A | Triconex | Digital 24VDC Output Module
  • T8850C | ICS Triplex Expander Interface Module
  • TRICONEX 8311N Power Module
  • TRICONEX 3708EN High-Precision Redundant Analog Input Module
  • TRICONEX 8609-396-7113755 Triple Modular Redundancy
  • TRICONEX 0905-148-6921 16-Channel Digital I/O Module
  • TRICONEX 0903-164-7921 16-Channel Digital I/O Module
  • TRICONEX 0923-141-6957 Triple Modular Redundancy
  • Triconex 8110 High Density Main Chassis
  • TRICONEX PM6301A analog output module
  • GE Converteam P111-6052 Advanced Micro Controller