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

  • 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
  • ALSTOM CPRM1 - SINGLE-PHASE POWER REGULATION BOARD
  • ALSTOM AMS42 - POWER SUPPLY BOARD
  • DEIF PPM-3 SG PROTECTION AND POWER MANAGEMENT COMPLETE SET
  • DEIF PPM-3 DG Protection and Power Management
  • DEIF S8VK-S48024 Power supplies
  • DEIF S8VK-R20 Redundancy units
  • DEIF S8VK-T96024 Power supplies
  • Deif GPU-3 Generator Protection Unit 0-20MA
  • Deif Du-2 / Mkiii Multil neas Ppm Protecci n Y Gesti n de Energ a 100-690vac
  • DEIF AGC 222 & IOM 220 advanced genset controller
  • Deif Delomatic 4 DGU 0005 Generator Control System PCM 4-1, IOM 4-1, SCM 4-2
  • DEIF PPM-3-DG PROTECTION AND POWER MANAGEMENT MEAS.VOLTAGE:100-690VAC, 0.5MA
  • DEIF AGC Plant Management (Genset Controller) 100132445.10
  • Deif Delomatic 4 DGU 0002 Generator Control System PCM 4-1, IOM 4-1, SCM 4-2
  • DEIF 879.3C Dynamic Wind Sensor with MIC-4224 Display suit Marine
  • DEIF MDR-2 MULTI DIFFERENTIAL PROTECTION RELAY
  • Generator Control Unit Deif Delomatic 4 DGU 0001
  • DEIF DELOMATIC 4 DGU 0001 CONTROLLER
  • DEIF MTR-4-415 1200510024 Multi-transducer
  • Deif DPD 04057 Printed Circuit Board 1044230020F
  • DEIF AGC 252 advanced Genset Controller 2912420010.39 Options -C2-N
  • Deif AGC/GS/3.6 Automatic genset controller 600043767.80
  • Deif GPU/2/GS Generator Protection Unit
  • DEIF AGC-4/GS/4.4 Advanced Genset Controller Option-G5-G7-I1-M12-M13.6-N-J1
  • DEIF PPU-2-GS-100033222.50 PROTECTION AND POWER MANAGEMENT SYSTEM
  • DEIF PPU/2/GS Protection & Paralleling Unit + Operator Panel + Connector cable
  • DEIF PPU-2-GS-100059909.10 WITH DISPLAY AND CABLE PROTECTION
  • DEIF PPU-2-GS 600033613.10 WITH DISPLAY GENERATOR UNIT
  • Deif Delomatic-3 Generator Control Panel System Panel CP-1 | 1044220050D
  • Caterpillar Branded DEIF MCS2 Controller
  • Deif Paralleling & Protection Unit PPU-3 100121906.10 600V
  • A-B 20G11BC1K1JN0NNNNN PowerFlex Air Cooled 755 AC Drive
  • A-B 20P41AF452RA0NNN PowerFlex 452 A DC Drive
  • A-B 20GHAJC540JN0NNNNN PowerFlex Extra Tough 755 AC Drive
  • EPRO MMS6823 9100-00001-05 Displacement Monitor Module
  • GE LP-33 SERIES UPS DISPLAY & CONTROL PANEL LP33
  • GE CL06A300M IEC Contactor (50 Amp)
  • GE CR2962F2D Plugging Switch NIB
  • General Electric IC500A411DG2 Electrical Rectifier Semiconductor
  • GE IS200BICLH1AFE Interface Module 259B2431DB-G01 BICLH1A
  • General Electric 1253-0003-C4 Multilin Analog & I/O Board 369-A200
  • Ge Panametrics Crs-10-Mb Ultrasonic Flow Converter
  • GE PROPRIETARY IS215WEPAH2BB With IS210BPPCH1AD CONTROL BOARD
  • GE MULTILIN / 12P0-0001-P2 / Powerr Supply Board, 870500.DWG, 870501.DWG
  • GENERAL ELECTRIC PL19A129393G4 Auxiliary Receiver in Wall-mount Cabinet
  • GE CR306F002XAAA Nema-4 Coil 115-120V 60Hz 110-50Hz 600Vac Magnetic Contactor
  • General Electric 193x190bag02 ISOL P/S Board I93XI90BAG02 Computer board GE
  • GE Multilin / G6P3CH / Front Panel, G60 Generator Management Relay
  • GE MMY30-R1D26 DewPro MOISTURE TRANSMITTER