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

  • 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
  • GE Multilin 469-P1-HI-A1-E-H 469 Base Unit Motor Management Relay
  • GE Multilin 469-P1-H1-A1-E 469 Motor Mgmt Relay
  • Beckhoff ED2504 | EtherCAT Terminal, 4-channel PWM output
  • Beckhoff EL2262 | EtherCAT Terminal, 2-channel digital output
  • Beckhoff EL2258 | EtherCAT Terminal, 8-channel digital output
  • Beckhoff EL2252 | EtherCAT Terminal, 2-channel digital output, 24 V DC, 0.5 A, timestamp
  • Beckhoff EL2212 | EtherCAT Terminal, 2-channel digital output
  • Beckhoff EL2202-0100 | EtherCAT Terminal, 2-channel digital output
  • Beckhoff EL2202 | EtherCAT Terminal, 2-channel digital output, 24 V DC, 0.5 A, push-pull, tristate
  • Beckhoff EL2124 | EtherCAT Terminal, 4-channel digital output, 5 V DC, 20 mA
  • Beckhoff EL2088 | EtherCAT Terminal, 8-channel digital output, 24 V DC, 0.5 A, ground switching
  • Beckhoff EL2084 | EtherCAT Terminal, 4-channel digital output, 24 V DC, 0.5 A, ground switching
  • Beckhoff EL2068 | EtherCAT Terminal, 8-channel digital output, 24 V DC, 0.5 A, with channel diagnostics
  • Beckhoff EL2044 | EtherCAT Terminal, 4-channel digital output, 24 V DC, 2 A, with extended diagnostics
  • Beckhoff EL2042 | EtherCAT Terminal, 2-channel digital output, 24 V DC, 2 x 4 A/1 x 8 A
  • Beckhoff ED2034 | EtherCAT Terminal, 4-channel digital output, 24 V DC, 2 A, push-in, with channel diagnostics
  • Beckhoff EL2034 | EtherCAT Terminal, 4-channel digital output, 24 V DC, 2 A, with diagnostics
  • Beckhoff ED2032 | EtherCAT Terminal, 2-channel digital output, 24 V DC, 2 A, push-in, with channel diagnostics
  • Beckhoff EL2032 | EtherCAT Terminal, 2-channel digital output, 24 V DC, 2 A, with diagnostics
  • Beckhoff EL2024-0010 | EtherCAT Terminal, 4-channel digital output, 24 V DC, 2 A
  • Beckhoff EL2024 | EtherCAT Terminal, 4-channel digital output, 24 V DC, 2 A
  • Beckhoff EL2022 | EtherCAT Terminal, 2-channel digital output, 24 V DC, 2 A
  • Beckhoff EL2014 | EtherCAT Terminal, 4-channel digital output, 24 V DC, 0.5 A, with extended diagnostics
  • Beckhoff ELX2008 | EtherCAT Terminal, 8-channel digital output, 24 V DC, 30 mA, Ex i
  • Beckhoff ED2008 | EtherCAT Terminal, 8-channel digital output, 24 V DC, 0.5 A, push-in
  • Beckhoff EL2008 | EtherCAT Terminal, 8-channel digital output, 24 V DC, 0.5 A
  • Beckhoff EL2004 | EtherCAT Terminal, 4-channel digital output, 24 V DC, 0.5 A
  • Beckhoff ELX2002 | EtherCAT Terminal, 2-channel digital output, 24 V DC, 45 mA, Ex i
  • Beckhoff EL2002 | EtherCAT Terminal, 2-channel digital output, 24 V DC, 0.5 A
  • TMEIC TM21-TG Series 2-Pole Generator
  • TMEIC TM21-TG Series 4-Pole Generator for Turbine Drive
  • TMEIC Air-Cooled Type Synchronous Generators
  • TMEIC TMdrive-XL85 Medium Voltage AC Drives
  • TMEIC TMdrive-30 Medium Voltage AC Drives
  • TMEIC TMdrive-MVG2 Medium Voltage AC Drives
  • TMEIC TMdrive-70 Medium Voltage AC Drives
  • TMEIC TMdrive-50 Medium Voltage AC Drives
  • TMEIC TMdrive-MVe2 Medium Voltage AC Drives
  • TMEIC TMdrive-XL80 Medium Voltage AC Drives
  • TMEIC TMdrive-XL75 Medium Voltage AC Drives
  • TMEIC TMdrive-XL55 Medium Voltage AC Drives
  • TMEIC TMdrive-70e2 Medium Voltage AC Drives
  • TMEIC TMdrive-Guardian Medium Voltage AC Drives
  • TMEIC TMdrive®-10e2 DP DC Drives
  • TMEIC TMdrive-DCe2 DC Drives
  • TMEIC Dynamic VAR Compensation – Dyna-VAR™
  • TMEIC PV Inverters SOLAR WARE 2500
  • TMEIC PV Inverters SOLAR WARE 2700