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

  • ABB ACH550-01-05A4-4+B055 ( ACH5500105A44+B055) - BRAND
  • CI868K01 3BSE048845R1 ABB Interface modules
  • 07 KR 91 ABB Procontic CS31 07 KR 91 PLC CONTROLLER
  • ABB DSQC643 3HAC024488-001 Panel Board
  • 3BSE005028R1 ABB PC SDCS-COM-1 Rev: E BOARD
  • APBU-44C APBU-44CE ABB PLC ACS800 BRANCHING UNIT KIT
  • Abb 3bse036456r1 Ai825 Analog Input
  • 2TLA020070R1800 ABB PLUTO S46 V2 Safety Relay
  • ACS355-01U-02A4-2 ABB VFD 240V 2.4A Expedited Shipping HT
  • ABB 57619104E Inverter PCB Control Board
  • ABB CI856K01 3BSE026055R1 controller
  • ABB SACE ISOMAX S3 N 160 PLC .
  • ABB T4N 250 UL/CSA PR221DS-LS/I 250 3p F F
  • ABB CONTACTOR AF210-30-11 COIL VOLTAGE 110-240
  • ABB AO815 3BSE052605R1 analog output module
  • ABB Pluto S20 V2 CFS Safety PLC System
  • ABB P-HC-BRC-40000000 Harmony Bridge Controller
  • Beckhoff CX1030 | Basic CPU module
  • Beckhoff CX5010 | Embedded PC with Intel Atom
  • Beckhoff C9900-P224 Power Supply Units
  • Beckhoff EP1918-0002 | EtherCAT Box, 8-channel digital input
  • BECKHOFF EL9400 | EtherCAT Terminal, power supply for E-bus
  • Beckhoff CX1030-N010 + CX1030-N060 Basic CPU module
  • Beckhoff CX1030-0111 + CX1030-N000 Basic CPU module
  • Beckhoff CX5010-0112 brand Controller module CX5010-0112
  • Beckhoff EL2911-2200 brand Programmable Logic Controller Module EL2911-2200
  • Beckhoff EL3011 | EtherCAT Terminal, 1-channel analog input
  • Beckhoff EP7041-3002 | EtherCAT Box, 1-channel motion interface
  • Beckhoff CX1020-0012 PLC Module
  • Beckhoff EL6631 EtherCAT Terminal, 2-port communication interface
  • Beckhoff EP3204-0002 EtherCAT Box, 4-channel analog input
  • Beckhoff CX2030-0121 Basic CPU module
  • Beckhoff EL5042 EtherCAT Terminals
  • BECKHOFF EL3124 | EtherCAT Terminal, 4-channel analog input
  • EP7041-3002 Beckhoff PLC Modules Brand
  • BECKHOFF EL1918 | EtherCAT Terminal, 8-channel digital input
  • EL7041 beckhoff EtherCAT Terminal EL7041-1000 Brand
  • Beckhoff EL3356-0010 | EtherCAT Terminal
  • Beckhoff EL3218-0018 Bus module
  • BECKHOFF CX2100-0904 Power supply unit with internal UPS for CX2020 and CX203x
  • BECKHOFF EL3174 EtherCAT Terminal, 4-channel analog input
  • BECKHOFF EL2535 EtherCAT Terminal, 2-channel PWM output
  • BECKHOFF PLC CX5020-0110 Embedded PC with Intel Atom Embedded controller
  • Prosoft MVI56-104S Ethernet Server Communication Module
  • Prosoft MVI56-EGD GE Ethernet Global Data Communication Module
  • Prosoft MVI56E-AFC Enhanced Liquid & Gas Flow Computer for ControlLogix®
  • Prosoft MVI56E-GEC Generic ASCII Ethernet Communication Module
  • Prosoft ILX56-PBM PROFIBUS DPV1 Master/Slave for ControlLogix®
  • Prosoft ILX56-PBS PROFIBUS DPV1 Slave for ControlLogix®
  • Prosoft MVI69-DFNT EtherNet/IP Client/Server Communication Module for CompactLogix
  • Prosoft MVI69-EGD GE Ethernet Global Data Network Interface Module for CompactLogix
  • Prosoft MVI69-FLN FA Control Network Communication Module
  • Prosoft MVI69-S3964R Siemens 3964R Protocol Communication Module
  • Prosoft MVI69E-MBS Modbus Serial Enhanced Communication Module
  • Prosoft ELXM-SW6 ProLinx Edge™ Mini
  • Prosoft ICX35-HWC-A FCC Model
  • Prosoft ICX35-HWC-E ETSI Model
  • Prosoft WRC-CANX Series CAN bus Extenders
  • Prosoft WRC-CANR-DF Fiber-Optic CAN bus Extenders
  • Prosoft PLX32-EIP-MBTCP EtherNet/IP™ to Modbus® TCP/IP Communication Gateway
  • Prosoft PLX32-EIP-SIE EtherNet/IP™ to Siemens® Industrial Ethernet Communication Gateway
  • Prosoft AN-X2-SQD EtherNet/IP™ to Square D® Remote I/O Gateway
  • Prosoft PLX32-MBTCP-SIE Modbus® TCP/IP to Siemens® Industrial Ethernet Communication Gateway
  • Prosoft PLX31-EIP-PND EtherNet/IP™ to PROFINET® IO Device Gateway
  • Prosoft PLX31-PND-MBS PROFINET® Device to Modbus® Serial Gateway
  • Prosoft PLX31-PND-MBS4 PROFINET® Device to Modbus® Serial Gateway with four serial ports
  • Prosoft PLX32-MBTCP-PND Modbus® TCP/IP to PROFINET® Device Gateway
  • Prosoft PLX31-MBTCP-PND Modbus® TCP/IP to PROFINET® Device Gateway
  • Prosoft PLX82-MNET-61850 Modbus TCP/IP to IEC 61850 Gateway
  • Prosoft PLX82-MBTCP-PNC Modbus® TCP/IP to PROFINET Controller Gateway
  • Prosoft PLX51-DF1-MSG DF1 Messaging Module
  • Prosoft PLX51-DF1-ENI DF1 Routing Module
  • Prosoft PLX32-EIP-MBTCP-UA EtherNet/IP™ to Modbus® TCP/IP to OPC UA Server Gateway
  • Prosoft PLX51-DL-232 Data Logger
  • Prosoft PLX51-HART-4I 4 Channel HART Input Module
  • Beckhoff C6525-0060 | Fanless built-in Industrial PC
  • Beckhoff C6525-0070 | Fanless built-in Industrial PC
  • Beckhoff C6525-0080 | Fanless built-in Industrial PC
  • Beckhoff C6515-0060 | Fanless built-in Industrial PC
  • Beckhoff C6515-0070 | Fanless built-in Industrial PC
  • Beckhoff C6515-0080 | Fanless built-in Industrial PC
  • Beckhoff C6043-0090 | Ultra-compact Industrial PC with NVIDIA® GPU
  • Beckhoff C6040-0090 | Ultra-compact Industrial PC
  • Beckhoff C6032-0060 | Ultra-compact Industrial PC
  • Beckhoff C6032-0070 | Ultra-compact Industrial PC
  • Beckhoff C6032-0080 | Ultra-compact Industrial PC
  • Beckhoff C6030-0070 | Ultra-compact Industrial PC
  • Beckhoff C6030-0060 | Ultra-compact Industrial PC
  • Beckhoff C6030-0080 | Ultra-compact Industrial PC
  • Honeywell DOP 09436601 Measurex PLC Module
  • TC-RPDXX1 Honeywell Power Supply Brand
  • Honeywell 51304511-100 Network Interface Module Modem Card
  • Honeywell 621-0020 Universal Analog Input Module
  • HONEYWELL FC-SDOL-0424 I/O Module Board
  • Honeywell 30751044-008 Controller II Rom PLC Board Card
  • HONEYWELL 51402755-100 PCB CIRCUIT CARD
  • Honeywell S7999D1006 Touch Screen brand
  • Honeywell 51309288-475 RM Assembly (Redundancy Module) TK-PRR021
  • Honeywell 5SE1-12 Snap Action 5A 250V AC Micro Switch
  • HONEYWELL 900A01-0102 PLC Controller
  • Honeywell 51309241-175 PWA, Battery Extension Module
  • HONEYWELL DPCB21010002 Printed Circuit Board
  • Honeywell EC7850A1080 Programmable Logic Controller brand
  • 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