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

  • DEIF RMP-121D Protective Reverse Power Relay
  • DEIF RMV-142D Over-/undervoltage relay, U> and U
  • DEIF RMV-132D Protective Overvoltage relay, U> and U>
  • DEIF RMV-122D Protective Overvoltage relay, U> and U>
  • DEIF RMQ-111D & RMQ-121D Loss of Excitation Relay/Over-excitation Relay
  • DEIF RMP-112D Protective Overload and Reverse Power Relay
  • DEIF RMP-111D Power Relay
  • DEIF RMF-112D Frequency Relay
  • DEIF RMC-132D Double Over-current Relay
  • DEIF RMC-121D Combined Short Circuit and Over-current Relay
  • DEIF RMC-111D Short Circuit Relay
  • DEIF MVR-V211 Busbar Protection Relay
  • DEIF MVR-T257 Transformer Protection Device
  • DEIF MVR-T256 Transformer Protection Device
  • DEIF AWC 400 advanced wind turbine controller pmc4.3, iom4.2(3x)
  • DEIF AGC-4 GENSET CONTROLLER 101020892.30 PLUS DU-2/MKIII
  • Deif Delomatic 4 Scm 4.2 Dm4 Marine Control System
  • DEIF CM-1 UNMP
  • Deif AGC/GS/2 Genset Controller
  • DEIF S8VK-T48024 Power supplies
  • DEIF S8VK-S24024 Power supplies
  • DEIF S8VK-S12024 Power supplies
  • DEIF S8VK-R10 Redundancy units
  • DEIF MTR-4-315 1200510023 Multi-transducer
  • DEIF MTR-4-215 1200510022 Multi-transducer
  • DEIF MTR-4-105 1200510021 Multi-transducer
  • DEIF MTR-4-015 1200510020 Multi-transducer
  • DEIF AGC-4/GS/4.45 CONTROLLER OPTION-A1-D1-EF4-G3-G8-H2-H8.8-I1-M12-M13.6
  • DEIF AGC 252 advanced Genset Controller 2912420010.39 Options -C2-H2-N-I1
  • DEIF DELOMATIC-3 DGU 3 Control Panel 1044220060E 1044220070E 1044220080E
  • Deif PPM/DGM Protection And Power Management 100099054.280
  • DEIF AGC Plant Management Genset Controller 920025558.10
  • DEIF | PPU300 | ML300 | MULTI-LINE 300 | 921002392.10 | DISPLAY UNIT
  • Deif Delomatic 4 DGU 0003 Controller 24V DC
  • DEIF 2912110030-03 GPU-3 MARINE VARIANT 03 WITH DISPLAY GPU-3-E2-F1-M14.8-J1
  • Deif OPM-1 Output Module 1044220080E
  • DEIF PPU-3 NEW OEM WITH DU-2/MKIII PROTECTION AND POWER MANAGEMENT DISPLAY
  • DEIF AGC APR GENSET CONTROLLER 140140 WITH DU-2/MKIII
  • KEBA TM240/A Digital output module
  • KEBA KETOP C50 MA1 80036035
  • KEBA CP505/A controller Brand
  • KEBA KETOP T50 012 CES / 69767 / 08 Teach Pendant + WB095 Wall Mount
  • KEBA CP033/Z KEMRO K2-200 CPU module S/N: 14725217 24VDC 1
  • Keba AR 101 Analog I/O Module 20405 Rev. 16 Ind. 16
  • Rofin Sinar FL020 Keba Ketop C50R/73810/04 Panel C50 R / 73810 / 04 Transports
  • KEBA Central Unit CU 211/A CU211 TESTED & EXCELLENT CONDITION
  • KEBA KEMRO K2-400 Bus Coupler Module BL 450/A | 054202 | 54202 | Rev. 14 Ind. 14
  • Keba Angel KeTop C70 E 15 Teach Pendant 02203-8725
  • KEBA Kemro K2-200 CP 250/X 71580 REV.13 CPU-MODULE
  • KEBA SXTPU 16/64 Teach Pendant 3HAC12929-1/01
  • Keba Ketop T70-RQA-AK0-LK Control Panel Mobile Panel Teach Pendant Panel
  • KEBA KEMRO K2-400 Analog I/O Module AM 450/B
  • KEBA SX TPU 2 16/64 Teach Pendant Unit
  • KEBA IM 270/W 090758 / IM270/W
  • KEBA KETOP C30 E 58170 ENGEL Membrane Keyboard Keypad
  • Keba RS091/A Power Supply Module 53234 | 053234 | RS-0912055F-0 + DC 162/A
  • KEBA KEMRO K2-200 OP 362 - LD/W - 5200 ANGEL Part No. 73739 Rev. 10
  • Keba Ketop T100-006-CES / 60567 / 05 Hand Terminal Control Device for ABB
  • KEBA KEMRO K2-200 CP 232/Z Part No. 64393 Rev.17 EXCELLENT CONDITION
  • KEBA 21500 (input module)
  • KEBA CU 211/A 21876 Central Unit
  • KEBA E-3-ACU-INC D1671B Circuit Board
  • Keba E-CPU-186B D1633C-1 Pcb Circuit Board
  • KEBA ROFIN KeTop C50R/73810/06 FL020
  • KEBA Zentralbaugruppe CU212
  • Keba KeTop T10-mAa-DMV 92270 robot control
  • Keba KeTop AP521 HMI
  • KEBA CP 255/S CP255S 084455+SM 230/A SM230A K2-200 series
  • Keba Ketop T200-M0A-Z20-WES7
  • Keba Ketop T50 020 CES / 86712 / 04 teach pendant (BIN353)
  • Keba KeTop C50 Control Panel Mobile Panel Teach Panel Aico Pendant P61 MA1
  • CU211/E KEBA Injection molding machine CPU motherboard
  • Keba Kemro K2-200 | AM280/B KeConnect Analog Hybrid Module Rev. 03
  • Keba Sx Tpu 2 16/64 3Hac023195-001/01 Teach Pendant
  • KEBA plc CP242/A Refurbished
  • KEBA / KEBA-AR101 / Circuit Board, Scratch, Rust
  • KEBA KEMRO K2-200 DO272/A DO 272/A Digital Output Module 70290
  • KEBA Mains Filter EMC53.240-URv
  • KEBA Kemro K2-200 CP 252/X Industrial controller Part No.068155
  • KEBA KEMRO K2-200 TM240/A TM 240/A Temperature Module 67111
  • KEBA PS 244 Power Supply PS 244/A
  • KEBA CU211/0 25817 IND 06
  • Keba RS 091 I RS-091 Power Supply Module 21214 I 2055D-0 Vers. D1.0
  • Keba Sx Tpu 2 16/64 3Hac023195-001/04
  • Keba HT401 Benninger 3M 55267
  • KEBA KeTop C50R/73810/07 Handheld Controller For Rofin Laser System FL060
  • Keba Kemro K2-200 | BL250/B KeConnect Communication Module Rev. 02
  • KEBA KeControl C5 CP 507/C, 106051 Custom controls
  • KEBA KeTop C50R/73810/07 Handheld Controller For Rofin Laser System FL060
  • Keba Ketop T50 025 Ces/ 84679/ 02 Teach Panel 24VDC Control
  • Keba Kemro K2-200 CPU | CP 265/X | PN: 087890
  • Keba Keview V2 HMI
  • CU 313/C-SI / 63036 /01 KEBA PLC I/O Module, CU 313.
  • Keba CU 211/E Central Processing Module 50508 Rev. 03 Ind. 03
  • GE CONVERTEAM P110-6052 | Advanced Micro Controller
  • Basler Electric EL200-20 / EL20020 Minimum/Maximum Excitation Limiter
  • Basler Electric B1E-57/27R SOLID-STATE PROTECTIVE RELAY
  • Basler Electric BE1-51 SOLID STATE TIME OVERCURRENT RELAY BE1-51 K1EB7PB1N0F
  • Basler Electric XR2002F Voltage Regulator P/N 9139400101 S/N 1898
  • Basler Electric BE1-50 INSTANTANEOUS OVERCURRENT RELAY F2EA1PA0N5F
  • Basler Electric Negative Sequence Voltage Relay BE147NE3FE1PC3N3F
  • Basler Electric BE1-79MA10A6JC0L0F / BE179MA10A6JC0L0F
  • Eaton 1023843 Power Board B20098140711 A5
  • Eaton PDG23F0125VFFJ Power Defense molded case circuit breaker
  • Eaton 9130 1KVA Marine Filter Pn 1029424 Rev 002 220/230/240VAC 50/60Hz 1603
  • Eaton/Dynamatic 15-871-6 AF5000+ Power Supply Board P-CTR 158716
  • EATON D80JE22A PNEUMATIC TIMER SER.A2
  • Eaton - Cutler Hammer PXM1000MB15-1 PXM 1000 METER; DISPLAY; 5A; 100-415AC/1
  • Eaton Cutler Hammer IQDP-4000 IQ DP-4000 66D2040G03
  • Eaton F801 8 Segment Redundant Fieldbus Power Supply
  • Eaton PXM-4KUPG Power Xpert Meter 4000 to 6000 license upgrade key
  • Eaton PX-PMBC Panel mounting bracket assembly required for reduced graphic display rear clearance
  • Eaton PX-PMBB Panel mounting bracket assembly for retrofitting a graphic display to an IQ analyzer cutout
  • Eaton PX-PMBA Panel mounting bracket assembly for back-to-back meter to graphic display mounting
  • Eaton PXMCE-B Communications expansion card: Ethernet 100FX, 10/100T, RS-485, RS-232
  • Eaton PXMIO-B Digital I/O card: 8 digital input, 2 solid-state output, 3 relay output
  • Eaton PXD-MMG Graphic display module
  • Eaton PXM4051A1AB Power Xpert meter 4000
  • Eaton / Cutler Hammer PXM4000 PXM4051A1BB
  • Basler Electric BE1-59-A4E-E1C-A0N0F / BE159A4EE1CA0N0F Over Voltage Relay
  • Basler Electric SR4A-2B05A3E Static Voltage Regulator SR4A2B05A3E
  • Basler Electric 9-0723-00-130 / 9072300130
  • Basler Electric BE1-79MA10A6JC0L0F / BE179MA10A6JC0L0F
  • Basler Electric CBS-377 CURRENT BOOST SYSTEM PART NO 91096001
  • Basler Electric SR4A1B05A3A Static Voltage Regulator 480v-ac 62.5v-dc 10va
  • Basler Electric BE159N A7ED1JC0S0F Solid State BE159N-0 Protective Relay
  • Basler Electric BE1-51 SOLID STATE TIME OVERCURRENT RELAY K2EW6MB1N0F
  • Basler Electric BE1-50 INSTANTANEOUS OVERCURRENT RELAY BE1-50 Style G4EA1RG0N0F