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

  • EtEL LMP07-100-3TAS-229 Linear Motor Primary Part
  • Etel Lma11-120-3za-359c inear Motor
  • ETEL DSA2 Digital Servo Amplifier DSA2S211ZA-018A | Swiss Made | Industrial Moti
  • ETEL LMB06-050-2QA-239B Linear Motor
  • ETEL DSC DUAL DSCDP121-111E-000A, 1041E-040-02D Driver Board
  • ETEL DSA2 Digital Servo Amplifier Amp DSA2 S1B22A Digital Servo Amplifier
  • ETEL Servo Amplifier DSCDM342-111-000 DSCDM342111000
  • ETEL MWA120-0512-00B 512mm Linear Motor Magnet (RBD7.3)
  • ETEL EA-P2M-300-07/15A-0100-01 AccurET Modular Position Controller
  • ETEL EA-P2M-300-07/15A-0100-01 AccurET Modular Position Controller
  • Etel DSC2P141-111-000 568425-01 Digital Servo Amplifier
  • ETEL DSC2P142-111-000 POSITION CONTROLLER DIGITAL SERVO AMPLIFIER
  • ETEL DSDH153-121C-001D Multiple Overioad protection
  • ETEL DSMAX212-111-001 568540-01 DSMAX2
  • Etel TMB+0291-150-UD2ST-ON-AA0 Torque Motor Stator Assembly
  • ETEL DSO Power Supply DSO-PWR112C-000B SN 016431181
  • Etel DSB2P101-121E-010H (Digital Servo Amplifier)
  • ETEL DSC2P141-111-000 Linear Servo Amplifier 10Arms/30Arms(1s), 24-400VDC xx9176
  • ETEL DSB2S154-211-000H DSB2 Digital Servo Amplifier
  • ETEL DSCDP121-122-000 digital controller
  • ETEL DSC DUAL Position Controller DSCDP121-111E-000A Driver Board 1041E-070-01D
  • Etel DSB2 DSB2P134-111E-000H DSB2P134111E00H Digital Servo Amplifier Controller
  • ETEL DSCDP132-111-000 DSCDP132111000 Control DSC Dual Controller Circuit Board
  • Etel EA-SOM-300-40/80A-0090-00 Accuret Modular Power Supply 300VDC 24VDC
  • ETEL ILM12-060-3PD-R20C Ironless Linear Motor And IWM Magnetic Ways Assembly Set
  • Etel AccurET P2M-300-07 Position Controller
  • ETEL DSB2P124-111E-000H,1020E-031-01B DSB2 SERVO AMPLIFIER DRV-I-3715=9E34
  • ETEL AccurET EA-P2M-048-05/10A Modular Position Controller 48VDC 24VDC
  • ETEL MWA070-0256-20B Linear Motor Magnet
  • ETEL MWD070-0128-21A Linear Motor Magnet
  • Kollmorgen MMC-DSA4 Control Module
  • GE Converteam MV7306P21 VP32702X ALSTOM control unit no system board
  • KEBA KeConnect C5 NM 575 EtherCAT switch I/O-Modules
  • KEBA KeConnect C5 NM 570 EtherCAT switch I/O-Modules
  • KEBA KeConnect C5 BL 575 EtherCAT Bus Coupler I/O-Modules
  • KEBA KeConnect C5 BL 570 EtherCAT Bus Coupler I/O-Modules
  • KEBA KeConnect C5 AT THE 500 CAN I/O-Modules
  • KEBA KeConnect C5 FM 500 CAN I/O-Modules
  • KEBA KeConnect C5 IM 500 Serial interfaces I/O-Modules
  • KEBA KeConnect C5 SM 520 Serial interfaces I/O-Modules
  • KEBA KeConnect C5 SM 510 Serial interfaces I/O-Modules
  • KEBA KeConnect C5 IM 582 Mixed modulesv I/O-Modules
  • KEBA KeConnect C5 IM 581 Mixed modulesv I/O-Modules
  • KEBA KeConnect C5 DM 556 Mixed modules I/O-Modules
  • KEBA KeConnect C5 DM 570 Mixed modules I/O-Modules
  • KEBA KeConnect C5 DO 570 Digital outputs I/O-Modules
  • KEBA KeConnect C5 DO 550 Digital outputs I/O-Modules
  • KEBA KeConnect C5 DI 570 Digital inputs I/O-Modules
  • KEBA KeConnect C5 AM 577 Current mixing modules I/O-Modules
  • KEBA KeConnect C5 AM 575 Current mixing modules I/O-Modules
  • KEBA KeConnect C5 THE 572 Voltage mixer modules I/O-Modules
  • KEBA KeConnect C5 THE 571 Voltage mixer modules I/O-Modules
  • KEBA KeConnect C5 THE 570 Voltage mixer modules I/O-Modules
  • KEBA KeConnect C5 AO 576 Analog current outputs I/O-Modules
  • KEBA KeConnect C5 AO 571 Analog voltage outputs I/O-Modules
  • KEBA KeConnect C5 AO 570 Analog voltage outputs I/O-Modules
  • KEBA KeConnect C5 AI 576 Analog current inputs I/O-Modules
  • KEBA KeConnect C5 AI 575 Analog current inputs I/O-Modules
  • KEBA KeConnect C5 AI 571 Analog voltage inputs I/O-Modules
  • KEBA KeConnect C5 AI 570 Analog voltage inputs I/O-Modules
  • ETEL DSCDP132-121F-000A Digital Servo Amplifier
  • Etel DSC2 Digital Servo Amplifier Position Controller DSC2P111-121E-000A
  • ETEL DSB2 Digital Servo Amplifier Slave Drive DSB2P124-211E-000H 300vdc
  • MWD100-0128-00B ETEL Linear Motor Magnet
  • ETEL ACCURET EA-S0M-400-40/80A-0000-01,P2M-400-05/10A DRV-I-2764=9D39
  • ETEL DSB2 DSB2-SL V3.20 DIGITAL SERVO AMPLIFIER DSB2S121-111E-000H
  • ETEL DSCDM332-111C-000B Digital Position Controller DSCDM Working Surplus
  • ETEL MWA050-0128-20B / 13920827 Linear Motor Magnet
  • ETEL DSB2S234-111E-000H digital servo amplifier
  • EA-P2A-400-10-20A-00U0-00 / ACCURET POSITION CONTROLLER / ETEL
  • ETEL EA-S0M-400-40/80A-0000-00 AccurET Power Supply Module 650140-01
  • Etel EA-P2M-400-10/20A-0100-01 AccurET Modular Position Controller
  • ETEL DSDP324-322F-000C DSC DUAL MOTOR DRIVER SERVO AMPLIFIER
  • Etel DSB2S154-211E-000H DSB2S154211E000H DSB2 Digital Servo Amplifier Drive
  • ETEL DSO-PWS POWER SUPPLY DSO-PWS111B-000C Board 1130E-070-018
  • Etel DSCDP324-322G-000A Servo Amplifier
  • ETEL Servo Amplifier DSB2 DSB2P142-111E-000H GEB #K2
  • ETEL LMG15-070-3QC-H11 Linear Motor
  • ETEL Motion Control P/N TMA0140-070-3RB-S62B/82191
  • ETEL DSA2S211ZA Digital Servo Amplifier
  • ETEL AccurET Modular Position Controller EA-P2M-048-2.5/5A-0100-01 Rev.2
  • ETEL DSC DSC2P121-111B-000C POSIIION CONTROLLER
  • ETEL DSCDL Position Controller DSCDL332-131C-000A Servo Control Driver Board
  • ETEL DSCDP324-322F-000C DSC DUAL MOTOR DRIVER SERVO AMPLIFIER
  • ETEL EA-P2M-400-10/20A-0000-01 AccurET Modular Position Controller 814736-01
  • ETEL DSC2P121-111-000 & DSO-HIO33-000 servo amplifier
  • ETEL AccurET EA-P2M-400-15/40A-0100-01 REV.2,EA-0M-400-40 DRV-I-3599=9E12
  • Etel EA-P2M-300-07/15A-0000-01 Rev.2 ACCURET Modulator Positon controller
  • ETEL EA-P2M-048-05/10A-0100-01 SERVO DRIVE
  • ETEL EA-S0M-300-40/80A-0000-00, S0M-300,ID:721641-01 DRV-I-2756=9D38
  • Hirschmann Belden RSP35-08033O6ZT-SK9V9HPE2S Managed Industrial Switch for DIN Rail
  • Hirschmann Belden RSP35-08033O6ZT-SCCV9HPE2S Managed Industrial Switch for DIN Rail,
  • Hirschmann Belden RSP30-08033O6ZT-SK9V9HSE2S Managed Industrial Switch for DIN Rail
  • Hirschmann Belden RSP30-08033O6ZT-SCCV9HSE2S Managed Industrial Switch for DIN Rail
  • Hirschmann Belden RSP25-11003Z6ZT-SK9V9HPE2S Managed Industrial Switch for DIN Rail
  • Hirschmann Belden RSP25-11003Z6ZT-SCCV9HPE2S Managed Industrial Switch for DIN Rail
  • Hirschmann Belden RSP20-11003Z6ZT-SK9V9HSE2S Managed Industrial Switch for DIN Rail
  • Hirschmann Belden RSP20-11003Z6ZT-SCCV9HSE2S Managed Industrial Switch for DIN Rail
  • Hirschmann Belden RSP35-08033O6TT-SK9V9HPE2S Managed Industrial Switch for DIN Rail
  • Hirschmann Belden RSP35-08033O6TT-SCCV9HPE2S Managed Industrial Switch
  • Hirschmann Belden RSP30-08033O6TT-SK9V9HSE2S Managed Industrial Switch for DIN Rail
  • Hirschmann Belden RSP30-08033O6TT-SCCV9HSE2S Managed Industrial Switch
  • Hirschmann Belden RSP25-11003Z6TT-SK9V9HPE2S Managed Industrial Switch
  • Hirschmann Belden RSP25-11003Z6TT-SCCV9HPE2S Managed Industrial Switch for DIN Rail
  • Hirschmann Belden RSP20-11003Z6TT-SK9V9HSE2S Managed Industrial Switch for DIN Rail
  • Hirschmann Belden RSP20-11003Z6TT-SCCV9HSE2S Managed Industrial Switch
  • Hirschmann Belden RSPM22-8TX-POE Fast Ethernet media module for RSPE Switches
  • Hirschmann Belden RSPM20-8TX-EEC Fast Ethernet media module for RSPE Switches
  • Hirschmann Belden RSPM20-4T14Z6SZ9HHS9 Fast Ethernet media module for RSPE Switches
  • Hirschmann Belden RSPM20-4Z64Z6SZ9HHS9 Fast Ethernet media module for RSPE Switches
  • Hirschmann Belden RSPM20-4T14T1SZ9HHS9 RSPM -Rail Switch Power Module
  • Hirschmann Belden RSPE35-24044O7T99-SCCZ999HHME2A RSPE switches
  • Hirschmann Belden EAGLE40-4F-SECURITY - Field-Level Industrial Firewall
  • Hirschmann Belden EAGLE40-4F-ROUTER - Field-Level Industrial Firewall with Enhanced Cybersecurity
  • Hirschmann RED25-04002T1TT-SDDY9HPE2S Entry-level Redundancy Switches
  • Hirschmann BXS42-12TX-EECC-HV-2A Managed IP40 PoE switch
  • Hirschmann BXS42-12TX-EECC-LV-2A Managed IP40 PoE switch
  • Hirschmann BXS40-12TX-EECC-HV-2A Managed IP40 switch
  • Hirschmann BXS40-12TX-EECC-LV-2A Managed IP40 switch
  • Hirschmann BXS32-12TX-EECC-HV-2A Managed IP40 PoE switch
  • Hirschmann BXS32-12TX-EECC-LV-2A Managed IP40 PoE switch
  • Hirschmann BXS30-12TX-EECC-HV-2A Managed IP40 switch
  • Hirschmann BXS30-12TX-EECC-LV-2A Managed IP40 switch
  • Hirschmann BXP60-28TX-EECC-HV-3A-BP BXP (BOBCAT eXtreme Performance)
  • Hirschmann BXP60-28TX-EECC-HV-2A-BP BXP (BOBCAT eXtreme Performance)
  • Hirschmann BXP60-20TX-EECC-HV-3A-BP BXP (BOBCAT eXtreme Performance)
  • Hirschmann BXP60-20TX-EECC-HV-2A-BP BXP (BOBCAT eXtreme Performance)
  • Hirschmann BXP60-28TX-EECC-HV-3A BXP (BOBCAT eXtreme Performance)