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

  • GE IS420ESWAH5A Mark VIe IONet Switch
  • GE IS420ESWAH4A Mark VIe IONet Switch
  • GE IS420ESWAH2A Mark VIe IONet Switch
  • Basler Electric BE1-25, Sync-Check Relay
  • Basler Electric BE1-50/51 Plug and Play and Retrofit Relays
  • Basler Electric BE1-50/51M, Self-Powered Time Overcurrent Relay
  • Basler Electric BE1-50/51B, Self-Powered Time Overcurrent Relay
  • Basler Electric BE1-11m, Motor Protection System
  • Basler Electric BE1-11t, Transformer Protection System
  • Basler Electric BE1-11d, DC Power Protection System
  • Basler Electric BE1-11i, Intertie Protection System
  • Basler Electric BE1-11g, Generator Protection System
  • Basler Electric BE1-11f, Feeder Protection System
  • Basler Electric BE1-700V, Voltage Only Digital Protective Relay
  • Basler Electric ES-25, Sync-Check Relay
  • Basler Electric ES-27, Undervoltage Relay
  • Basler Electric ES-27/59, Under/Overvoltage Relay
  • Basler Electric ES-32, Reverse Power Relay
  • Basler Electric ES-37, Undercurrent Relay
  • Basler Electric ES-37/51, Under/Overcurrent Relay
  • Basler Electric ES-47, Phase Sequence Relay
  • Basler Electric ES-47N, Phase Balance Relay
  • Basler Electric ES-47N/27, Phase Balance/Undervoltage Relay
  • Basler Electric ES-49, Temperature Relay
  • Basler Electric ES-51, Overcurrent Relay
  • Basler Electric ES-55, Power Factor Relay
  • Basler Electric ES-59, Overvoltage Relay
  • Basler Electric ES-74V, DC Voltage Sensing Relay
  • Basler Electric ES-81O, Overfrequency Relay
  • Basler Electric ES-81O/U, Over/Underfrequency Relay
  • Basler Electric ES-81U, Underfrequency Relay
  • Basler Electric DECS-250-CN1SN1N Digital Excitation Control System
  • Beckhoff EL2622-0010 EtherCAT Terminal, 2-channel relay output
  • Beckhoff EL2622 | EtherCAT Terminal, 2-channel relay output
  • Beckhoff EL2612 | EtherCAT Terminal, 2-channel relay output, 125 V AC, 30 V DC, 0.5 A AC, 2 A DC
  • Beckhoff EL2602-0010 EtherCAT Terminal, 2-channel relay output
  • Beckhoff EL2602 | EtherCAT Terminal, 2-channel relay output, 230 V AC, 30 V DC, 5 A
  • Beckhoff EL2596-0010 | EtherCAT Terminal, 1-channel LED output, 0…48 V DC, 3 A
  • Beckhoff EL2596 | EtherCAT Terminal, 1-channel LED output, 0…24 V DC, 3 A
  • Beckhoff EL2595 | EtherCAT Terminal, 1-channel LED output, 2…48 V DC, 0.7 A
  • Beckhoff EL2574 | EtherCAT Terminal, 4-channel LED output, pixel LED
  • Beckhoff EL2564-0010 | EtherCAT Terminal, 4-channel LED output
  • Beckhoff EL2564 | EtherCAT Terminal, 4-channel LED output
  • Beckhoff EL2535-0100 | EtherCAT Terminal, 2-channel PWM output
  • Beckhoff EL2535-0050 | EtherCAT Terminal, 2-channel PWM output
  • Beckhoff EL2535-0005 | EtherCAT Terminal, 2-channel PWM output, 24 V DC, 5 A, current-controlled
  • Beckhoff EL2535-0002 | EtherCAT Terminal, 2-channel PWM output, 24 V DC, 2 A, current-controlled
  • Beckhoff EL2522 | EtherCAT Terminal, 2-channel pulse train output
  • KEBA KEVIEW V2 341/C-4400 HMI TOUCHSCREEN UNIT
  • KEBA KEMRO K2-200 BL250/A BL 250/A Bus Coupler Module
  • Keba E-CON-14 Operator Interface Panel
  • KEBA CP 255/W Plc Module
  • KEBA CU 212 ZENTRALBAUGRUPPE
  • KEBA CU211/0 25817 Ind 06
  • KEBA RS 091 POWER SUPPLY MODULE
  • KEBA E-SP-CCEC/22180 Panel
  • KEBA E-CPU-186B Control Circuit Board D1633C
  • Keba Kemro K2-200 Control CP 255/X, Part. 072076
  • KEBA analog module, AR281, AR 281
  • KEBA BL250/B Bus link module
  • KEBA Kemro K2-400, DO 470/A, Part No. 054945
  • KEBA HAITAN SA900 Operator Panel
  • KEBA DO 321 module DO 321/B
  • KEBA KeTop C20t-t00-Ar0-KMT Tech Pendant by Karl Mayer
  • KEBA HT401/BENNINGER/5M/55268 TEACH PENDANT HT401BENNINGER/5M/55268
  • KEBA AR 281 ANALOGE INPUT BOARD
  • Engel Keba EC100 PLC Rack with PS244 CU211 PD242 AR181 TT081 DO321 DI325 (19821)
  • KEBA CU 313 Central Unit CU 313/C-SI/63036 Card 128MB
  • KEBA TM-240/A PLC MODULE
  • Keba D1633C E-Cpu-186B Cpu Control Circuit Board W/ D1630D
  • Keba Engel E-CON-CC100/A/22178 HMI Operator Control Display Panel
  • KEBA K2-200 CP 242/B controller module
  • KEBA KEVIEW V2 341/C-4400 HMI TOUCHSCREEN UNIT 84494 24 VDC
  • KEBA E-8-THERMO 1770B-1 Thermocouple circuit board
  • KEBA 3HAC12929-1 TEACH PENDANT
  • Keba KETOP C50 R/73810/06 KEBA PANEL OPERATOR DISPLAY
  • KEBA Kemro K2-400 DO 470/B 059707 Module
  • LENZE c300 controller
  • LENZE p500 controller
  • LENZE p300 controller
  • LENZE v200-P monitor
  • LENZE v200-C monitor
  • LENZE v800-P industrial PC
  • LENZE v800-C industrial PC
  • LENZE EtherCAT-CAN gateway x750
  • LENZE V450 Web Panel
  • LENZE v430 web panel
  • Beckhoff EL2521-0024 | EtherCAT Terminal, 1-channel pulse train output
  • Beckhoff EL2521 | EtherCAT Terminal, 1-channel pulse train output, incr. enc. simulation, RS422, 50 mA
  • Beckhoff EL2502-0010 | EtherCAT Terminal, 2-channel PWM output
  • Beckhoff EL2502 | EtherCAT Terminal, 2-channel PWM output, 24 V DC, 0.5 A
  • DEIF MVR-T216 Transformer Differential Protection
  • DEIF MVR-T215 Transformer Protection
  • DEIF MVR-M257 Motor Protection
  • DEIF MVR-M255 Motor Protection
  • DEIF MVR-M215 Motor Protection
  • DEIF MVR-M210 Motor Protection
  • DEIF MVR-G257 Generator Differential Protection
  • DEIF MVR-G215 Generator Protection
  • DEIF MVR-F255 Directional Feeder Protection
  • DEIF MVR-F201 Basic Feeder Protectio
  • DEIF LMR-122D Loss of mains relay
  • DEIF LMR-111D Loss of mains relay
  • DEIF APU-4 Advanced G59 and G99 protection unit
  • SAACKE FSC-01V3.02/V3.00 Industrial Combustion Controller
  • GE Multilin 750-P5-G5-S5-HI-A20-G 750 Management Relay
  • GE Multilin 750-P5-G5-D5-HI-A20-R 750/760 Feeder Mgmt Relay Series
  • GE Multilin 750-P5-G5-D5-HI-A20-G Management Relay
  • GE Multilin 750-P5-G1-D5-HI-A20-R Multilin 1A Zero Sequence Current Inputs
  • GE Multilin 750-P1-G1-S1-HI-A20-R-T-H Feeder Management Relays
  • GE Multilin 750-P1-G1-S1-HI-A20-R Feeder Management Relays
  • GE Multilin 750-P1-G1-D1-HI-A20-R Base Unit 750 Relay
  • GE Multilin 239-RTD-AN-H motor protection relay
  • GE Multilin 489-P5-HI-A20-T-H Generator Management Relay for 489 Series
  • GE Multilin 489-P5-HI-A20-T Generator Management Relay for 489 Series
  • GE Multilin 489-P5-HI-A20-E-H Relay Motor Management
  • GE Multilin 489-P1-LO-A20 489 Motor Management Relay Base Unit
  • GE Multilin SR469-P5-LO-A20-T Motor Management Relay
  • GE Relay from GE Grid Solutions SR469-P5-LO-A20-E
  • GE Multilin SR469-P5-LO-A20 Motor Management Relay with Case
  • GE Multilin SR469-P5-HI-A20-T 469 Series Relay
  • GE Multilin SR469-P1-HI-A1-E-H 469 Series Relay
  • GE Multilin SR469-P1-H1-A1-E 469 Series Relay
  • GE Multilin 469-P5-LO-A20-T Phase Current Input 5 A Phase CT Secondaries
  • GE Multilin 469-P5-LO-A20-E LO Control Power with 4-20mA Analog Outputs
  • GE Multilin 469-P5-LO-A20 Motor Management Relay
  • GE Multilin 469-P5-HI-A20-E-H Motor Management Relay
  • GE Multilin 469-P5-HI-A20 469 Motor Management Relay