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

  • A-B Kinetix 5700 Accessory Module Specifications 2198-CAPMOD-DCBUS-IO
  • A-B Kinetix 5700 Accessory Module Specifications 2198-DCBUSCOND-RP312
  • A-B Kinetix 5700 Accessory Module Specifications 2198-CAPMOD-2240
  • A-B Kinetix 5700 Servo Drive Specifications 2198-S160-ERSx
  • A-B Kinetix 5700 Servo Drive Specifications 2198-S130-ERSx
  • A-B Kinetix 5700 Servo Drive Specifications 2198-S086-ERSx
  • A-B Kinetix 5700 Servo Drive Specifications 2198-D057-ERSx
  • A-B Kinetix 5700 Servo Drive Specifications 2198-D032-ERSx
  • A-B Kinetix 5700 Servo Drive Specifications 2198-D020-ERSx
  • A-B Kinetix 5700 Servo Drive Specifications 2198-D012-ERSx
  • A-B Kinetix 5700 Servo Drive Specifications 2198-D006-ERSx
  • A-B Kinetix 5700 Power Supply Specifications 2198-RP312
  • A-B Kinetix 5700 Power Supply Specifications 2198-RP263
  • A-B Kinetix 5700 Power Supply Specifications 2198-RP200
  • A-B Kinetix 5700 Power Supply Specifications 2198-RP088
  • A-B Kinetix 5700 Power Supply Specifications 2198-P208
  • A-B Kinetix 5700 Power Supply Specifications 2198-P141
  • A-B Kinetix 5700 Power Supply Specifications 2198-P070
  • A-B Kinetix 5700 Power Supply Specifications 2198-P031
  • Emerson AWV7005HC20000 AMS Device ManagerField Communicator Interface Kit
  • Emerson AWV7005HC00025 AMS Device ManagerField Communicator Interface Kit (25 tags)
  • Emerson 00475-0142-2003 EasyUpgrade(New/Renew) License via Web
  • Emerson 00375-0142-0002 FounoAnow Fieldbus License Via Web
  • Emerson 00475-0049-DVD1 Resource DVD
  • Emerson 00475-0045-3001 Getting Started Guide
  • Emerson 00475-0019-SK02 Shop Accessory kit
  • Emerson 00475-0019-5K01 Shop Accessory kit
  • Emerson 00475-0019-FK01 Field Accessory Kit
  • Emerson 00475-0044-0001 Stand
  • Emerson 00475-0018-0023 Bluetooth AdaptertKa
  • Emerson 00375-0018-0022 System Card (5D) Reader
  • Emerson 00375-0015-0002 IrDA to USBAdapteri
  • Emerson 00475-0006-0001 Stylus (pack of 2)
  • Emerson 00475-0005-0005 Protective Rubber Boot with Stand
  • Emerson TREX-0005-0004 Magnetic Hanger
  • Emerson 00475-0005-0003 carrying Case
  • Emerson 00475-0005-0002 Hand Strap
  • Emerson TREX-0004-0001 Lead Set with connectors
  • Emerson 00375-0003-0003 Australian (AU) cord for Power Supply/Charger
  • Emerson 00375-0003-0002 Power Supply/Charger Standard Cord Set
  • Emerson 00475-0003-0022 Power Supply& Charger
  • Emerson 00475-0002-0022 Rechargeable Lithium-lon Power Module
  • Emerson 00275-0096-0001 Ruggedized 250 0hm Load Resistor
  • Emerson TREX-SUPR-1201 Premium Support
  • Emerson TREX-SUST-1201 Standard Support
  • Emerson TREX-APRM-PEO1 Radar Master App TREX-APRM-PE01
  • Emerson TREX-APWP-PEO1 WirelessHART Provisioning App
  • Emerson TREX-ABFF-PEO1 FOUNDATION Fieldbus license bundle
  • Emerson TREX-ABFF-0301 FOUNDATION Fieldbus license bundle - 90 Day Demo
  • Emerson TREX-0045-0001 Device Communicator Plus communication module
  • Emerson TREX-0012-0011 Stand (replacementintegral to communication module)
  • Emerson TREX-PMDP-1211 Device Communicator Plus communication module
  • Emerson TREX-PMDC1211 Device Communicatorcommunication modulel
  • Emerson TREX-0096-0001 Ruggedized 250 0hm Load Resistorzl
  • Emerson TREX-0004-0002 USB cable (UsB to micro UsB)
  • Emerson TREX-0005-0004 Magnetic Hanger
  • Emerson TREX-0005-0009 Shoulder Strap(replacement for use with carrying case)
  • Emerson TREX-0005-0011 Carrying Case (includes hand & shoulder straps)
  • Emerson TREX-0005-0002 Hand Strap (replacement set of 2)
  • Emerson TREX-0004-0001 Lead Set with connectors
  • Emerson TREX-FFPA-0001 FOUNDATlON Fieldbus Power Plug
  • Emerson TREX-0003-0004 AC Outlet Plugs
  • Emerson TREX-0003-0002 AC Outlet Plugs
  • Emerson TREX-0003-0022 DCAdapter(12vvehicle accessory outlet)
  • Emerson TREX-0003-0012 AC Adapter (includes Us, EU, UK, AU outlet plugs)
  • Emerson TREX-0002-1211 Rechargeable Li-lon Power Module
  • Emerson IC760COW15CDA 15"PACSystemsRXiHMlEmersonBezel,OutdoorSLRWidescreen
  • Emerson 1C760COW12CDA 12"PACSystemsRXiHMlEmersonBezel,OutdoorSLRWidescreen
  • Emerson 1C760C5W24CDA 24"PACSystemsRXiHMlEmersonBezel,Widescreen
  • Emerson 1C760C5W19CDA 19"PACSystemsRXiHMlEmersonBezel,Widescreen
  • Emerson IC760CSW15CDA 15"PACSystemsRXiHMlEmersonBezel,Widescreen
  • Emerson 1C760CSW12CDA 12"PACSystemsRXiHMlEmersonBezel,Widescreen
  • Emerson R2L0N2A3CD PACSystems RXi2-LP w/ PACEdge & Movicon Connext
  • Emerson R2L0N1A3AD PACSystems RXi2-LP w/ PACEdge & Movicon Connext
  • Emerson R2L0N2A2CD RXi2-LP w/ PACEdge
  • Emerson R2L0N1A2AD RXi2-LP w/ PACEdge
  • Emerson R2L0N2B0C PACSystems RXi2-LP IPC
  • Emerson R2L0N2B1C PACSystems RXi2-LP IPC
  • Emerson R2L0N1B0C PACSystems RXi2-LP IPC
  • Emerson R2L0N1B1C PACSystems RXi2-LP IPC
  • Emerson R2L0N2A0C PACSystems RXi2-LP IPC
  • Emerson R2L0N2A1C PACSystems RXi2-LP IPC
  • Emerson R2L0N1A0A PACSystems RXi2-LP IPC
  • Emerson R2L0N1A1A PACSystems RXi2-LP IPC
  • Emerson R2U2N1D3B1T1F RXi2-UP Industrial PC
  • Emerson R2U2N1F1A2T0A RXi2-UP IPC, Quad Core XEON E3-1505Lv6
  • Emerson R2U2N1J1B2T0A RXi2-UP IPC, Quad Core XEON E3-1505Lv6
  • Emerson R2U1N1C1A1T0A RXi2-UP IPC, Quad Core XEON E3-1505Lv6
  • Emerson R2U1N1C0A1T0A RXi2-UP IPC, Quad Core XEON E3-1505Lv6
  • Emerson R2U1N1F1A1T0A RXi2-UP IPC, Quad Core i7-7820EQ
  • Emerson R2U1N1J1B1T0A RXi2-UP IPC, Quad Core XEON E3-1501M
  • Emerson R2U1N1E1A1T0A RXi2-UP IPC, Quad Core i5-7442EQ
  • Emerson R2U1N1E0A1T0A RXi2-UP IPC, Quad Core i5-7442EQ
  • Emerson R2U1N1B1A1T0A RXi2-UP IPC, Dual Core i3-7102E
  • Emerson R2U1N1B0A1T0A RXi2-UP IPC, Dual Core i3-7102E
  • Emerson R2U0N1J1B1T0A RXi2-UP IPC, Quad Core XEON E3-1501M
  • Emerson R2U0N1J0B1T0A RXi2-UP IPC, Quad Core XEON E3-1501M
  • Emerson R2U0N1E1A1T0A RXi2-UP IPC, Quad Core i5-7442EQ
  • Emerson R2U0N1E0A1T0A RXi2-UP IPC, Quad Core i5-7442EQ
  • Emerson R2U0N1B1A1T0A RXi2-UP IPC, Dual Core i3-7102E
  • Emerson R2U0N1B0A1T0A RXi2-UP IPC, Dual Core i3-7102E
  • Emerson R2B1NTWIN3A0A RXi2-BP w/ PACEdge & Movicon Connext
  • Emerson R2B0N1WIN3A0A RXi2-BP w/ PACEdge & Movicon Connext
  • Emerson R2B1N1C1N3A0A RXi2-BP w/ PACEdge & Movicon Connext
  • Emerson R2B0N1C1N3A0A RXi2-BP w/ PACEdge & Movicon Connext
  • Emerson R2B0N9C4N3A0A RXi2-BP w/ PACEdge & Movicon Connext
  • Emerson R2B1N1E1N3A0A RXi2-BP w/ PACEdge
  • Emerson R2B0N9E4N3A0A RXi2-BP w/ PACEdge
  • Emerson R2B0N1E1N3A0A RXi2-BP w/ PACEdge
  • Emerson R2B0N2P2N3A0A RXi2-BP Industrial PC
  • Emerson R2BIN2P2N3A0A RXi2-BP Industrial PC
  • Emerson R2B0N4F1N3A0F RXi2-BP Industrial PC
  • Emerson R2B1N4F1N3A0F RXi2-BP Industrial PC
  • Emerson R2B0NAMIN3A0A RXi2-BP Industrial PC
  • Emerson R2BINAMIN3A0A RXi2-BP Industrial PC
  • Emerson R2B00ACCMP02 RXi2-BP Industrial PC
  • Emerson R2B00ACCMP01 RXi2-BP Industrial PC
  • Emerson R2B00ACCRMM01 RXi2-BP Industrial PC
  • Emerson R2B1N5A3N3A0A RXi2-BP Industrial PC
  • Emerson R2B0N5A3N3A0F RXi2-BP Industrial PC
  • Emerson R2BIN5N3N3A0A RXi2-BP Industrial PC
  • Emerson R2B0N4A3N3A0F RXi2-BP Industrial PC
  • Emerson R2B1N4N3N3A0F RXi2-BP Industrial PC
  • Emerson R2B0N4N3N3A0F RXi2-BP Industrial PC
  • Emerson R2BIN4A2N3A0F RXi2-BP Industrial PC
  • Emerson R2B0N4A2N3A0F RXi2-BP Industrial PC
  • Emerson R2BIN4N2N3A0F RXi2-BP Industrial PC
  • Emerson R2B0N4N2N3A0F RXi2-BP Industrial PC