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 | 231 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 C6027-0000 | Fanless ultra-compact Industrial PC
  • Beckhoff C6027-0010 | Fanless ultra-compact Industrial PC
  • Beckhoff C6025-0000 | Fanless ultra-compact Industrial PC
  • Beckhoff C6025-0010 | Fanless ultra-compact Industrial PC
  • Beckhoff C6025-0020 | Fanless ultra-compact Industrial PC
  • Beckhoff C6017-0010 | Ultra-compact Industrial PC
  • Beckhoff C6017-0020 | Ultra-compact Industrial PC
  • Beckhoff C6017-0030 | Ultra-compact Industrial PC
  • Beckhoff C6017-0040 | Ultra-compact Industrial PC
  • Beckhoff C6015-0010 | Ultra-compact industrial PC
  • Beckhoff C6015-0020 | Ultra-compact Industrial PC
  • Beckhoff C6015-0030 | Ultra-compact Industrial PC
  • Beckhoff C6015-0040 | Ultra-compact Industrial PC
  • 9070T3000D1 | Schneider Electric Type T 3000VA Control Transformer
  • Square D 9070T3000D33 Control Transformer
  • Schneider ATS48D38Q Asynchronous motors
  • ALIMENTATION SCHNEIDER ELECTRIC BMXCPS2010 PLC Avec Module D'E/S Discrets
  • XPSMC32ZC - Schneider Electric - Safety Controller, Preventa™
  • Schneider LC1F400 400AMP Contactor USA plc
  • LV848264 | Schneider Electric | PLC-City
  • TWDLMDA40DTK for Schneider PLC Module
  • SCHNEIDER ELECTRIC SSD1A320BDC1 SOLID STATE RELAY 20A 600VAC 4-32VDC
  • SCHNEIDER TSXMRPC007M PLC PCMCIA Memory Card
  • Schneider METSEPM8243 - PowerLogic PM8000
  • LC1F500P7 Brand Schneider LC1F500P7 500A 230V 50/60HZ
  • ATV212WU40N4 | Variable speed drive ATV212 | Schneider
  • MAP36800 ~ Square D MAP36800 MAL S2 600VAC/250VDC 800A MCCB
  • Square D LV434001 ~Schneider Electric LV434001 IFE Ethernet interface, Enerlin'X
  • Square D 8702SCO2V02 Reversing Contactor
  • Square D 8903SVO11V02 Lighting Contactor
  • Square D CM4250 Powerlogic Circuit Monitor 96ma 240v-ac 300v-dc
  • SQUARE D PAF361600DC1680 2000AMP FRAME MOLDED CASE CIRCUIT BREAKER
  • Square D PowerLogic Circuit Monitor CM4000T
  • Square D 8536SCG3V02S Starter
  • Square D BMXCPS3500 Plc Power Supply Module
  • ELAU PMC-2/11/02/000/00/00/01/00/0K Schneider Electric 2A31911074 PLC
  • ELAU DB-5 DISTRIBUTION HW 5104 SERVO SYSTEM HW 3IE4101475 plc
  • Emerson SDN10-24-100P SolaHD 115/230 V to 24 V PLC Power Supply
  • 5X00875G01 Contact Input Process Control PLC Ovation Emerson
  • EMERSON CT Drives M701-054 00270 A M701-054-00270A
  • Hirschmann RS20-0800T1T1SDAEHC09.1.00 Ethernet Switch
  • B&R X20BC0083 bus controller
  • X20CS1030 B&R X20 PLC System RS485 RS422 Communication Module
  • B&R X20CS1012 PLC Module X20 CS 1012
  • B&R PLC module 0AC808.9
  • B&R 3AM055.6 2005 analog mixed module
  • B&R X20BC00G3 X20 Series Controller
  • B&R X67DM1321 Module X67
  • B&R 3AM051.6 PLC Module
  • B&R X20 AI 4221 PLC Module
  • B&R X20DC2395 multifunctional counter module
  • X20AT2222 B&R Temperature measurement
  • B&R X20IF1072 Interface Module X20 IF 1072
  • X20AO4622 B&R X20 analog output module
  • X20AT4222 | B&R X20 Series Temperature Module
  • B&R X20IF10E3-1 PLC Module X20 IF10E3-1
  • B&R 8B0C0320HW00.002-1 ACOPOSmulti auxiliary supply module
  • B&R X20AO2632 PLC Module X20 AO 2632
  • X20DC2395 B&R Multifunctional Counter Module
  • B&R 3AI775.6 8 analog inputs 0 to 20 mA
  • B&R X20cSO6300 I/O power supply
  • B&R X20CP1382 brand Programmable Logic Controller Module X20CP1382
  • B&R X20CP1486 high-performance CPU for the X20 System
  • B&R X20 SO 6300 Digital output modules
  • X20IF1030 B&R PLC Controller Module
  • B&R 7XX419L.50-1 brand Programmable Logic Controller Module
  • B&R X20CP1684 CPU Module
  • B&R 2005 Modules • Temperature Modules • AT660
  • B&R 3AT660.6 8 inputs in 2 groups for thermocouples
  • B&R Compact CPU Module X20CP0411 Controll Unit Module X20 CP0411
  • B&R X20CP3585 brand PLC Module X20CP3585
  • Brand X20IF10G3-1 B&R Programmable Logic Controller Module X20IF10G3-1
  • X20AI4632 B&R 4 analog inputs ±10 V or 0 to 20 mA
  • B&R X20CM0985 brand Programmable Logic Controller Module
  • X20AI4622 B&R X20 analog input module
  • B&R 4PP035.0300-01 Power Panel, 24 VDC, 153 x 120 mm, LCD display
  • B&R 3AM050.6 2005 analog mixed module
  • ABB SCYC55830 3AFE58063282 Tmax XT Series Molded Case Circuit Breaker
  • ABB CI532 3BSC140120R1 Communication Interface Module
  • ABB CI869K01 3BSE049110R1 Ethernet Communication Interface
  • ABB CI522A 3BSE018460R1 PROFIBUS DP Communication Interface Module
  • ABB CI522AK04 3BSE018451R1 PROFIBUS DP Master Communication Interface Module
  • GE ALSTOM MAVS01L1AB0751D-140393N Solid-State Soft Starter
  • REXROTH VT2000-5X Frequency Converter (AC Drive)
  • ABB DSBC17257310256-EL 16-channel Digital Input Terminal Base Unit
  • ABB CI532V03 3BSE003828R1 AF 100 (PROFIBUS DP) Master Module
  • ABB SC510 3BSE003832R1 Compact PLC / Micro Controller
  • ABB CI540 3BSE001077R1 PROFIBUS DP Slave Communication Interface Module
  • ABB REF615 HBFDACADNAA1BCN1XE Feeder Protection and Control Relay
  • ABB SACO64D4 4-pole (4P) power contactor
  • ABB SACO16D1 1-pole (1P) power contactor
  • WOODWARD 8273-1011 Electro-Hydraulic Actuator (EGB)
  • EATON XV-442-57CQB-1-10 Packaged Motor Controller
  • EATON XV-440-12TSB-1-10 Combination Motor Starter
  • EATON XV-430-12TSB-1-10 Combination Motor Starter
  • EATON XV-303-15-C00-A00-1B Contactor Base Moduleor Relay Base Unit
  • EATON MC2-442-57CQB-1-2A Molded Case Circuit Breaker (MCCB)
  • Siemens 3AY1715-6L VS30029P/VS30041 Auxiliary Contact Blocks
  • Socasin 10-310 St1 Ac Servo Amplifier Drive
  • AC-SERVO ST1 25-310 SOCASIL SOCAPEL
  • PAM-R1N-H8F-AP-P - 18-36 VDC by SOCAPEL
  • SOCAPEL H006.7506 SERVO CONTROLLER 006.7084.A PAM-P1N-H8F-AP-PV10900
  • Socapel RAM-R1R-H8F-AP-P V10800 Safety Relay Module
  • Rexroth VT-HNC100-1-23N-08-P-0 Digital Hydraulic Amplifier
  • Prosoft PLX51-PBS PROFIBUS DP Slave to EtherNet/IP™, Modbus® TCP/IP, or Modbus® Serial Gateway
  • Prosoft PLX51-PBM PROFIBUS DP Master/Slave to EtherNet/IP™, Modbus TCP/IP®, or Modbus® Serial Gateway
  • Prosoft PLX51-DLplus-232 Data Logger Plus
  • Prosoft A-CNR ControlNet Router
  • Prosoft A-TSM/B Time Sync Module
  • Prosoft A-XGPS XPosition Module
  • Prosoft PLX32-EIP-104 EtherNet/IP to IEC 60870-5-104 Gateway
  • Prosoft PLX32-MBTCP-104 Modbus TCP/IP to IEC 60870-5-104 Gateway
  • Prosoft A-PAL/B PA Link Series B PA Gateway
  • Prosoft A-DNTR/B DeviceNet Router Series B
  • Prosoft A-DH485R/B DH485 Router
  • Prosoft PLX51-DNPS Distributed Network Protocol (DNP3) Gateway
  • Prosoft PS-QS-2x10-F Universal QuickServer Gateway
  • Prosoft PLX51-DNPM Distributed Network Protocol (DNP3) Master Gateway
  • Prosoft A-CANOR/B CANopen Router/B
  • Prosoft PS-QS-3x10-F Universal QuickServer Gateway Dual Ethernet Port
  • Prosoft EtherNet/IP™ to Remote I/O or DH+ Gateway AN-X4-AB-DHRIO
  • Prosoft A-J1939R/B J1939 Router/B
  • Prosoft PS-QS-1x11-F LonWorks QuickServer Gateways
  • Prosoft AN-X3-GENI EtherNet/IP™ to GE Genius™ I/O Gateway
  • Prosoft A-FFL/B FOUNDATION™ Fieldbus H1 Master for EtherNet/IP™ and Modbus® TCP
  • Prosoft ELX3 Industrial Edge Gateway
  • Prosoft A-CFR ControlNet Fiber Repeater
  • Prosoft A-CANBR/B CAN Bus Router/B