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

  • MITSUBISHI A1SJ51T64 MELSEC-I/O Link Remote I/O System Master Module
  • MITSUBISHI HC-KFS23K - AC servo motors
  • MITSUBISHI ST1X4-DE1 - I-O Units
  • Hirschmann Belden EAGLE40-07 field-level industrial firewall
  • Hirschmann Belden EAGLE40-03 field-level industrial firewall
  • Hirschmann Belden EAGLE40-4F field-level industrial firewall
  • Hirschmann mm3-4flm4 mice media module
  • Hirschmann Mm4-2Tx/Sfp Mice Media Module
  • Hirschmann MS4128-L2P Power Switching Module
  • Hirschmann Mini-UTDE 10 BASE-T Industrial Ethernet Switch
  • MM20-Z6Z6Z6Z6SBH Hirschmann Industrial Ethernet Switch
  • MTM8000-4QSFP28-A - MAMMUTHUS Media Module for MTS8000 Series Switch
  • Hirschmann 942170-077 BRS40-12TX Gigabit Ethernet Switch
  • BRS50-00122Q2Q Hirschmann Switch Ethernet công nghiệp có quản lí 8 cổng 10/100/1000M
  • BRS50-20TX/4SFP - 942 170-071 Managed 24 port Gigabit Switch with 20 GTX + 4GE/2.5G SFP ports, TSN
  • Compra Switch Hirschmann Gigabit Ethernet BRS50-00122Q2Q-TTCZ99HHSESXX.X.XX
  • BRS40-00169999-STCY99HHSESXX.X.XX | Hirschmann Managed Switch 16 Port Ethernet Switch
  • BRS40-16TX/4SFP-EEC - 942 170-066 Managed 20 port Gigabit Switch with 16 GTX + 4GE SFP ports
  • Hirschmann 942170-092 BRS40-24TX-EEC Gigabit Ethernet Switch
  • BRS40-0024OOOO-STCZ99HHSEA - 942170999-40H - Managed 24-port Switch
  • BRS40-8TX/4SFP (942170009) | HIRSCHMANN BOBCAT Switch 12-port
  • 943376001 SPIDER 8TX | Hirschmann DIN Rail Mount Unmanaged Ethernet Switch, 8 RJ45 Ports | RS
  • BRS30-20TX-EEC Switch công nghiệp 16 cổng 100M Ethernet, 4 cổng 10000M Ethernet
  • Hirschmann BOBCAT 20xTX BRS30-16042T2T-CTCY99HHSE
  • Belden Bobcat BRS30-0804OOOO-STCZ99HHSES | Industrial Ethernet Switches
  • BOBCAT Next-Generation Compact Managed Switches - Hirschmann
  • Hirschmann BRS30-08042T2T-TTCX99HHSES BOBCAT Managed Switch
  • BRS30-16TX/4SFP - 942 170-059 Managed 20 port FE/GE Switch with 16TX + 4GE SFP ports, TSN
  • BRS30-12TX-EEC Switch công nghiệp 12 cổng 100M Ethernet
  • Honeywell PEC8445-PB1-SO programmable unitary controller
  • Honeywell PEC8445-PB1-SM programmable unitary controller
  • Honeywell PRO32E2EN Network Kits
  • Honeywell PRO32E1EN Network Kits
  • Honeywell PRO32E1PS Optional Accessories
  • Honeywell PRO22DCC Optional Accessories
  • Honeywell PRO32E1D8 PRO3200 Expansion Kits
  • Honeywell PRO32E1D4 PRO3200 Expansion Kits
  • Honeywell PRO32E1D2 PRO3200 Expansion Kits
  • Honeywell PRO32SKD8 PRO3200 Starter Kit with Software
  • Honeywell PRO22ENC5 Professional Series Access Enclosure
  • Honeywell PRO22ENC4 Professional Series Access Enclosure
  • Honeywell PRO22ENC3 Professional Series Access Enclosure
  • Honeywell PRO22ENC2 Professional Series Access Enclosure
  • Honeywell PRO22ENC1 Professional Series Access Enclosure
  • Honeywell PRO32IN PRO3200 16 Alarm Input Module
  • Honeywell PRO32OUT PRO3200 16 Relay Output Module
  • Honeywell PRO32R2 PRO3200 Dual Reader Module
  • Honeywell PRO22R1 PRO2200 Single Reader Module
  • Honeywell PRO32IC PRO3200 Intelligent Controller
  • Honeywell PUC00016-EM2 I/O expansion module DOx16
  • Honeywell PUC16000-EM2 I/O expansion module UIx16
  • Hirschmann BOBCAT 16xTX, 4xSFP BRS30-1604OOOO-CTCY99HHSEA
  • Hirschmann 942170-085 BRS30-20TX Gigabit Ethernet Switch
  • Hirschmann 942170-017 BRS30-8TX/4SFP-EEC Ethernet Switch
  • BRS20-2400ZZZZ-SFCZ99HHSEAXX.X.XX | HIRSCHMANN Industrial Managed
  • Hirschmann 942170-003 BRS20-4TX/2FX Ethernet Switch
  • BRS20-12TX - Hirschmann - Switch, 12 Ports, Industrial
  • Hirschmann BRS20 BRS20-8TX BOBCAT Rail Switch
  • BRS20-2400ZZZZ-TTDY99HHSESXX.X.XX Hirschmann | Switch Ethernet Hirschmann
  • 6 Ports Hirschmann BRS20-4TX Managed Industrial Network Switch
  • Hirschmann BRS20-8TX Ethernet Switch
  • Hirschmann 942170-081 BRS20-20TX Ethernet Switch
  • BRS20-8TX/2FX - Hirschmann - Switch, BOBCAT, 10 Ports
  • Hirschmann Belden EAGLE4-07206 Next-Generation Firewall with Stateful/Deep Packet Inspection and IPSec VPN
  • Hirschmann Belden EAGLE40-031O6 Next-Generation Firewall with Stateful/Deep Packet Inspection and IPSec VPN
  • Hirschmann Belden EAGLE40-033T1 Next-Generation Firewall with Stateful/Deep Packet Inspection and IPSec VPN
  • Hirschmann Belden BRS50 Managed, Industrial Ethernet Switch DIN Rail, fanless design
  • Hirschmann Belden BRS40 Managed, Industrial Ethernet Switch DIN Rail, fanless design
  • Hirschmann Belden BRS30 Managed, Industrial Ethernet Switch DIN Rail, fanless design
  • Hirschmann Belden BRS20 Managed, Industrial Ethernet Switch DIN Rail, fanless design
  • Hirschmann Belden MTR3000-4GF Media module for MTR3000 series enterprise router, 4 × gigabit SFP slots
  • Hirschmann Belden MTR3000-4G-LTE-A Media module for MTR3000 series enterprise router
  • Hirschmann Belden MTR3000-4GT Media module for MTR3000 series enterprise router, 4 × gigabit TX RJ45 ports
  • Hirschmann Belden MTR3000-1POS-OC3 Media module for MTR3000 series enterprise router, 1 × 155M POS port
  • Hirschmann Belden MTR3000-4E1 Media module for MTR3000 series enterprise router, 4 × E1 ports
  • Hirschmann Belden MTR3000-4CE1 Media module for MTR3000 series enterprise router, 4 × CE1 ports
  • Hirschmann Belden MTR3000-1C Media module for MTR3000 series enterprise router, 1 × gigabit combo port
  • Hirschmann Belden MTR3000-1E1 Media module for MTR3000 series enterprise router, 1 × E1 port
  • Hirschmann Belden MTR3000-1CE1 Media module for MTR3000 series enterprise router, 1 × CE1 port
  • Hirschmann MTR3600-4C24T-4S Enterprise router, 4 × GE Combo port (WAN)
  • Hirschmann Belden MTM8000-PSUCover Switch PSU slot cover
  • Hirschmann Belden MTM8000-EngineCover Switch Engine slot cover
  • Hirschmann Belden MTM8000-ModuleCover Media module slot cover
  • Hirschmann Belden MTM8000-4QSFP28-A Media module; 4 x 100G QSFP28 slots
  • Hirschmann Belden MTM8000-16Q-A Media module; 16×40G QSFP + slots, high performance
  • Hirschmann Belden MTM8000-52X-A Media module; 52×10Gbit SFP + slots, high performance
  • Hirschmann Belden MTM8000-16X-S Media module; 16×10Gbit SFP + slots
  • Hirschmann Belden MTM8000-16X4Q-S Media module; 16×10Gbit SFP + slots, 4×40G QSFP + slots
  • Hirschmann Belden MTM8000-24T24F2X-S Media module; 24×Gbit RJ45 ports, 24×Gbit SFP slots, 2×10Gbit SFP + slots
  • Hirschmann Belden MTM8000-48TP2X-S Media module; 48×Gbit RJ45 PoE ports, 2×10Gbit SFP + slots
  • Hirschmann Belden MTM8000-48T2X-S Media module; 48×Gbit RJ45 ports, 2×10Gbit SFP + slots
  • Hirschmann Belden MTM8000-48F2X-S Media module; 48×Gbit SFP slots, 2×10Gbit SFP + slots
  • Hirschmann Belden MTM8000-SF-16F16X-S Hybrid card, standard switch fabric module
  • Hirschmann Belden MTM8000-SF-24F8X-S Hybrid card, standard switch fabric module
  • Hirschmann Belden MTM8000-SF-S Standard performance switch fabric module for MTS8000
  • Hirschmann Belden MTM8000-SF-A High performance switch fabric module for MTS8000
  • Hirschmann Belden MTM8000-Engine MTS8000 Engine Module, Max. 2×Engines
  • Hirschmann Belden MTM8010-FAN Enterprise Ethernet: MTS8010 modular core switch accessories: Fan tray
  • Hirschmann Belden MTM8006-FAN MTS8006 modular core switch accessories: Fan tray
  • Hirschmann Belden MTM8003-FAN MTS8003 modular core switch accessories: Fan tray
  • Hirschmann Belden MTM8000-PSU800 Enterprise Ethernet: MTS8000 series switch accessories: PSU
  • Hirschmann Belden MTM2900-FAN Enterprise Ethernet: MTS2900 series switch accessories: Fan
  • Hirschmann Belden MTM2900-PSU250 Enterprise Ethernet: MTS2900 series switch accessories: PSU
  • Hirschmann Belden MTM2700-PSU880 PSU module
  • Hirschmann Belden MTM2700-PSU500 PSU module
  • Hirschmann Belden MTM2700-PSU120 PSU module
  • Hirschmann Belden MTM2700-2X Extended media module
  • Hirschmann Belden MTS8010-Chassis MTS8000 Series Switch
  • Hirschmann Belden MTS8006-Chassis MTS8000 Series Switch
  • Hirschmann Belden MTS8003-Chassis MTS8000 Series Switch
  • Hirschmann Belden MTS2948X-6Q-A MTS2900 Series Switch
  • Hirschmann Belden MTS2848-6X-E MTS2800 Series Switch
  • Hirschmann Belden MTS2824-6X-E MTS2800 Series Switch
  • Hirschmann Belden MTS2848-6X-S MTS2800 Series Switch
  • Hirschmann Belden MTS2824-4X-S MTS2800 Series Switch
  • Hirschmann Belden MTS2824F-4X-S MTS2800 Series Switch
  • Hirschmann Belden MTS2832TF-4X-E MTS2800 Series Switch
  • Hirschmann Belden MTS2848TF-4X-E MTS2800 Series Switch
  • Hirschmann Belden MTS2748-6X-MP-E MTS2700 Series Switch
  • Hirschmann Belden MTS2724-6X-MP-E MTS2700 Series Switch
  • Hirschmann Belden MTS2724-4X-FP-S MTS2700 Series Switch
  • Hirschmann Belden MTS2624-4X-B MTS2600 Series Switch
  • Foxboro PBCO-D8-010 Termination Board
  • Foxboro PBCO-D8-009 Termination Board
  • Foxboro FBM207C RH917GY Voltage Monitor/Contact Sense Input Modules
  • Foxboro AD916AE Digital Control System
  • Foxboro FBM217 Input Interface Module
  • Foxboro RH926GH Modbus Master RTU Serial Driver