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

  • Baldor KPD-TS12C-30E 12.1" color TFT touch screen with serial interface and Ethernet
  • Baldor KPD-TS10C-30E 10" color TFT touch screen with serial interface and Ethernet
  • Baldor KPD-TS05C-30E 5.6" color TFT touch screen with serial interface and Ethernet
  • Baldor KPD-TS05C-30 5.6" color TFT touch screen with serial interface
  • Baldor KPD-TS05M-10 5.6" monochrome touch screen with serial interface
  • Baldor KPD-TS03M-10 3.9" monochrome touch screen with serial interface
  • Baldor KPD-KG420-30 4x20 character/graphic display, 12 function keys, serial interface
  • Baldor KPD-KG420-20 4x20 character/graphic display, serial interface
  • Honeywell MS-1030H-BT Microset Intelligent Wall Sensor
  • Honeywell FLEX001WBRC7S1 FLEX Room Monitor
  • Honeywell AWM92200V Airflow Sensors
  • Honeywell AWM92100V Airflow Sensors
  • Honeywell MCSP-A Digital Current Sensor
  • Honeywell CTP-10-050-VDC-001 Analog Current Sensor
  • Honeywell P7640A1034 Differential Air Pressure Transducer
  • Honeywell TR40-H-CO2 Sylk Wall Module Sensor
  • Honeywell TR40-CO2 Sylk Wall Module Sensor
  • Honeywell TR40-H Sylk Wall Module Sensor
  • Honeywell TR40 Sylk Wall Module Sensor
  • Honeywell C7041F2006 20K Temperature Sensor
  • Honeywell C7041R2018 20K Temperature Sensor
  • Honeywell C7041R2000 20K Temperature Sensor
  • Honeywell C7041J2007 20K Temperature Sensor
  • Honeywell C7041B2013/U20K Temperature Sensor
  • Honeywell C7770A1040/U 20K Temperature Sensor
  • Honeywell C7041B2005/U 20K Temperature Sensor
  • Honeywell 50053060-001 Duct Mount Sensor Offset bracket
  • Honeywell C7250A1001 20K Duct Mount, Outdoor Temperature Sensor
  • Honeywell C7400S1000 Duct Mount Temperature
  • Honeywell STRN-CRK-01 Crank Arm Kit for Direct Coupled Actuator
  • Honeywell MS7503A2030 Economizer Actuator, Direct Coupled
  • Honeywell M7215A1008 Economizer Actuator
  • Honeywell 209541B FTT Network Termination Device
  • Honeywell WPM-8000 LCBS Gateway
  • Honeywell LGW1000 LCBS Gateway
  • Honeywell YCRL6438SR1000 LCBS Controller
  • Honeywell WRECVR Receiver only
  • Honeywell TR23-WS Wireless sensor only
  • Honeywell TR21-WS Wireless sensor only
  • Honeywell TR23-WK Wireless sensor/receiver kit with override/knob setpoint
  • Honeywell TR21-WK Wireless sensor/receiver kit
  • Honeywell CC-PWRB01 24 Vdc, 20 A fully redundant Power Supply
  • Honeywell CC-PWRR01 24 Vdc, 20 A fully redundant Power Supply
  • Honeywell CC-PWRN01 Power Supply
  • Honeywell CC-MCAR01 IOTA Channel
  • Honeywell CC-MCHN01 Aluminum channels that provide a mounting medium for the IOTA Channel
  • ABB FGM1190-97 With vertical female thread connection
  • ABB FGM1190-98 With flanged connection in accordance with DIN or ASME
  • ABB FGM1190-87 With pipe fitting in accordance with DIN 2950
  • Bently TTL70259 LEMO-BNCTTLTach/Keyphasorcable
  • Bently MAGF0104 Accelerometermagneticbase
  • Bently DCCA0041 DCcaradapter
  • Bently CABU0213 USBdatatransfercable
  • Bently ACCL0561 Right-angledaccelerometer
  • Bently ACCL0547 Straightaccelerometer
  • Bently 108M4049-02 SCOUTprogrammedUSBthumbdrive
  • Bently 108M3240 SCOUT140-Exfour-channelportable datacollector
  • Bently 100M5828 SCOUT/Vb Series Hard Case
  • Bently VBMR0222 Stainless safety rings (1 pair)
  • Bently DTC70262 Neoprene dust cover
  • Bently BATT0575 Battery pack ATEX
  • Bently MAGM0064 Accelerometer magnetic base Male connection
  • Bently KTTC0331 Triaxial sensor kit
  • Bently AP3500S2-Z1 Low frequency accelerometer
  • Bently AP3500T2-Z1 Low frequency accelerometer
  • Bently AM3100T2-Z2 General purpose accelerometer
  • Bently AS3100S2-Z2 General purpose accelerometer
  • Bently SUNW0401 Network upgrade
  • Bently CLK20399 Aditional L2 user activation
  • Bently DGLU0219 Dongle for software seat or license mobility
  • Bently 3071/01 System 1 software
  • Bently 108M4069 Laser TachZone 2 rated
  • Bently 108M4067 Arpl15 Oring
  • Bently 108M4066 Circlips-20Mm Stainless
  • Bently 108M4064 Laser Tacho Holder
  • Bently CBBLO026 Carrying casefor the kit
  • Bently CB5R0025 Sensor Cable Five meters, red
  • Bently CB5G0024 Sensor CableFive meters,green
  • Bently MAGA0063 Laser magneticstand
  • Bently CBL50216 Laser cable Five meters
  • Bently 113M5529-01 Reflective tapeOne roll, 60 cm
  • Bently LASA0315 LaserZone 2 rated
  • Bently 110M8172-012 LEMO-BNC TTLTach/Keyphasor cable
  • Bently 108M4045 SCOUT quick start guide
  • Bently PLEU0229 Europe - Category Cpower plug
  • Bently PLHK0245 Hong Kong/UK Category-G power plug
  • Bently PLAU0228 Australia/New Zealand /China - Category Mpower plug
  • Bently PLSAO241 South Africa/India -Category D power plug
  • Bently PLUS0230 USA/Canada - CategoryA power plug
  • Bently 109M2384-01 Neck strap with SensorKeeper
  • Bently MVBX0250 Reference_Guide
  • Bently 113M5585 Accelerometermagnetic base
  • Bently CBVB0032 carrying bag
  • Bently CBTB0278 SCOUT instrument
  • Bently CBCC0027 or138M7748 Triple BNC adapter
  • Bently CABUO213 Transducer cable
  • Bently 110M8172-012 USB data transfer cable
  • Bently CABB0560 BNC to BNC Cable,1meter
  • Bently 108M4044 AC power adapter
  • Bently ACCLO561 or200350* Right-angledaccelerometer or straight accelerometer
  • Bently ACCLO547 or200350* Straight accelerometer
  • Bently 108M3240 SCOUT140Ex four channel portable data collector
  • Eaton F30 Ex ic Adaptor ATEX & IECEx Approved
  • ABB DRIVEMONITOR VERSION 4000 DRIVE MODULE RBOX316-ABB-00
  • ABB VACUUM CONTACTOR VSC7 SCO IEC 60470 400A 3POLE 220-250V 50/60Hz
  • Johnson Controls MS-NAE5512-1 Supports two N2 or two BACnet MS/TP (RS-485) trunks
  • Johnson Controls MS-NAETUNL-8 ToggleTunnel utility for converting an NAE55/NIE55 to an NAE55 model
  • Johnson Controls MS-MECVT-0 MS/TP to Ethernet Converter
  • Johnson Controls MS-SECVT-0 Serial to Ethernet Converter
  • Johnson Controls AS-XFR100-1 Power transformer
  • Johnson Controls AS-XFR100-1 Power transformer
  • Johnson Controls MS-FEC2621-0U FEC26 Field Equipment Controllers
  • Johnson Controls MS-FEC2611-0U FEC26 Field Equipment Controllers
  • Johnson Controls AS-XFR010-1 Power transformer
  • Johnson Controls MS-NAE5521-1 Supports a LONWORKS trunk and two N2 trunks or two BACnet MS/TP (RS-485) trunks
  • Johnson Controls MS-NAE5510-1 NAE55 Network Automation Engines
  • Johnson Controls IOM3731 INSTALLATION MANUAL
  • ALSTOM MCRI1 - MODULE BOARD FOR SETTING SETTINGS AND CURRENT REGULATION
  • ALSTOM BCEA1 - TERMINAL BOARD OF 8 ANALOGUE INPUT SIGNALS
  • ALSTOM E64L1- LOGIC INFORMATION ACQUISITION BOARD
  • ALSTOM BCEL2 - TERMINAL BOARD FOR 12 LOGIC INPUT SIGNALS
  • ALSTOM BCSR1 - TERMINAL BOARD OF 8 LOGIC OUTPUT SIGNALS
  • ALSTOM ESVI1 - INPUT/OUTPUT BOARD FOR CURRENT AND VOLTAGE SIGNALS
  • ALSTOM MDEX1 – EXCITATION CURRENT MEASUREMENT AND CALIBRATION BOARD
  • ALSTOM IRVI20 - REGULATION INTERFACE BOARD
  • ALSTOM RDSP1 – BOARD FOR ADJUSTING DIGITAL SIGNAL PROCESSES
  • ALSTOM ARTN1 - DIGITAL INDICATION BOARD FOR VOLTAGE REGULATION
  • ALSTOM FRTN2 - BOARD OF DIGITAL INDICATION OF VOLTAGE REGULATION