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

  • Johnson Controls JROH YORK® Dedicated Outdoor Air System
  • Johnson Controls JROW YORK® Dedicated Outdoor Air System
  • Johnson Controls JROA YORK® Dedicated Outdoor Air System
  • Johnson Controls MAXA-MI$ER® Energy Recovery Ventilators (ERVs)
  • AER4D-05 Terminal Board Yokogawa Safety System
  • V-Net Coupler Communication Module Yokogawa CENTUM CS 3000 AIP502-S1
  • Yokogawa SSC60D-F2521 Duplexed Safety Control Unit
  • SSC10D-S2121 Yokogawa Duplexed Safety Control Unit
  • AC Power Supply Module Yokogawa F3PU10-0N
  • Yokogawa AKB331-M007 Signal Interface Cable
  • AE4D-05 Yokogawa Terminal Board
  • CPU Module Yokogawa F3SP58-6S
  • Yokogawa F3BP30-0N Basic CPU Module
  • F3WD64-3F Yokogawa Digital I/O Module
  • Sequence CPU Module Yokogawa F3SP38-6N
  • Yokogawa F3PU20-0N AC Power Supply Module
  • ABB AX411/511010 Conductivity Transmitter
  • AIP512S2 Yokogawa ESB Bus Connection Module
  • Yokogawa NFLF111-S00/F9S00 Fieldbus Communication Module
  • PM1*C Yokogawa CENTUM XL Control System Module
  • Pressure Clamp Terminal Block Yokogawa CENTUM VP STA4S
  • Yokogawa CENTUM VP NFBU050-S15 3-Slot Short Base Module
  • NFCP050 Yokogawa Field Control Processor CENTUM VP
  • Yokogawa CENTUM VP ANT401-50/CU1N Optical ESB Bus Repeater Interface Module
  • V-net Interface Card Yokogawa CENTUM CS 3000 SB301-S1
  • Yokogawa F3AD04-5V Analog Input Module
  • F3AD08-5V Analog Input Module Yokogawa
  • UT Link Communication Interface Module Yokogawa F3LC51-2N
  • Yokogawa YCB147-2 System Control Module CENTUM Series
  • YHC5150X Yokogawa FieldMate Handheld HART Communicator
  • Terminal Board Yokogawa AED5D-01 CENTUM VP Series
  • Yokogawa AFF50D-H41101 Field Control Unit CENTUM VP
  • NFAI143-H50/A4S00 Yokogawa CENTUM VP Current Input Module
  • Yokogawa ALR121-S50S1 Communication Module CENTUM VP
  • Communication Cable Yokogawa YCB301-C500
  • Yokogawa SNT501-13 Optical ESB Slave Repeater Module
  • Yokogawa YPQ101E YT204001-FS Analog Input Board
  • KS1-07*B 7m Signal Cable Yokogawa
  • Fieldbus Communication Module Yokogawa CENTUM VP ALF111-S51
  • Yokogawa YPQ101E YT204001-FS Analog Input Board
  • SNB10D-225/CU2N Yokogawa Safety Node Unit
  • SB Bus Repeater Module Yokogawa NFSB100-S0/SBT01
  • Yokogawa F3LR01-0N Fiber Optic Interface Module
  • ASD143-P00/SB4S0 Yokogawa Digital Input Module
  • ESB Bus Node Interconnection Cable Yokogawa YCB301-C100
  • Yokogawa AKB335-M010 Signal Interface Cable
  • NFDV151-P60/B5S00 Digital Input Module Yokogawa
  • Digital Output Module Yokogawa NFDV551-P60/D5S00
  • Yokogawa F3LC11-2F PC Link Communication Module
  • Yokogawa KS9-10*B Signal Cable
  • Yokogawa F3SP28-3N Control CPU Module
  • F3XD16-3N Yokogawa DC Digital Input Module
  • Yokogawa CENTUM VP YNT511D-P42/KT Optical ESB Bus Repeater Rack
  • Safety Node Unit Yokogawa SNB10D-415/CU2T
  • Yokogawa ALR121-S53 S1 Serial Communication Module
  • A-B 80190-100-01-R FIBER OPTIC BOARD
  • 80190-100-01-R Allen-Bradley 80190-099-01/7 PowerFlex 7000 Optical Interface PCB
  • A-B 80190-479-01 PowerFlex 7000 control board
  • A-B 80190-480-01-R Cooling Fan Assembly
  • AIP826 CENTUM VP USB Operator Keyboard Yokogawa
  • S9528VK Yokogawa Industrial Power Protection Fuse
  • Signal Cable KS10-07*A Yokogawa
  • SNB10D-243/CU2N Yokogawa Safety Node Unit
  • Yokogawa SSC50D-F2121 Duplexed Safety Control Unit
  • ESB Bus Communication Cable YCB301 Yokogawa
  • Yokogawa ALR121-S51 S1 CENTUM VP Serial Communication Module
  • Serial Communication Module NFLR121-S50 S1 Yokogawa
  • SAI143-H63 S4 Yokogawa Analog Input Module
  • Yokogawa Analog Input Module SAI143-S53 S3
  • AET4D-00 Yokogawa Thermocouple Terminal Board CENTUM VP
  • Mechanical Relay Board Yokogawa ARM55C-000
  • Yokogawa ATA4S-00 S2 Pressure Clamp Terminal Block
  • Yokogawa SAI143-S53/A4S00 Safety Analog Input Module
  • SAI533-H53/A4S00 Yokogawa Analog Output Safety Module
  • Duplexed Safety Control Unit Yokogawa SSC50D-S2524
  • Yokogawa AIP504-11 V-NET Coupler Module CENTUM DCS
  • ANT401-5E/A2EE2AT Yokogawa Optical ESB Master Repeater
  • Pulse Input Module Yokogawa AAP135-S00/13S00
  • Yokogawa F3NC51-0N Analog Voltage Positioning Module
  • F3CT04-0N Temperature Control Module Yokogawa
  • Duplexed Field Control Unit Yokogawa AFS30D-H4121 CENTUM VP
  • AIP827 Yokogawa USB Operation Keyboard
  • Yokogawa UT55A-040-11-00/LP Digital Indicating Controller
  • Yokogawa VJA1-027-AAA0 Series Isolated Signal Distributor
  • Yokogawa UT35A-001-11-00/LP/DC DC Digital Controller
  • VJSS-L17-AAN0 Yokogawa JUXTA VJ Series Signal Isolator
  • SCB110 Yokogawa Wiring Check Adapter for Digital Input
  • Yokogawa ESB SSNB10D-425/CU2N ESB Bus Node Unit
  • VC401-10 S1 Yokogawa Vnet/IP Coupler Module
  • YS170-012 Yokogawa YS100 Programmable Controller
  • Analog Input Module Triconex 2553 7400056-310
  • Triconex 3000604-100 Backplane Power Bus Distribution Module
  • DI2301 7400208B-020 Triconex DI Baseplate Compact Mounting for Safety Systems
  • Cable Assembly Triconex 4000042-120
  • Triconex 4000043-310 Analog Input Cable Assembly
  • 4000029-020 Termination Panel Triconex
  • Cable Assembly Triconex 4000103-520
  • Triconex 4000093-320 Cable Assembly
  • Digital Output Module Triconex 3603E
  • Triconex 3501T Digital Input Module
  • Triconex 9662-610F Standard Termination Panel Commoned
  • 9771-2XX Termination Module Triconex
  • Triconex 9563-8XX Standard Digital Input Termination Panel
  • 9761-210F Current Input Termination Panel Triconex
  • Triconex 3503N Digital Input Module 32-Channel Safety System Component
  • Digital Output Module Triconex 3625N
  • 9863-710F PLC Module Triconex
  • Digital Output Termination Panel Triconex 9563-810F
  • 9753-110F Termination Board Triconex
  • Triconex 3000793-001 Digital Input Module
  • Triconex TSXCAPO30 Connecting Cable
  • Termination Panel Triconex 9563-810 3000510-380
  • 9662-610 3000520-390 Digital Output Module Triconex
  • Triconex 3000656-210 External Control Board Termination Assembly
  • 7400166-390-REVA2 Triconex TMR Communication/System Module
  • Digital Output Module Triconex 9662-610L
  • Triconex 4000212-006 Communication Cable
  • Digital Output Module Triconex 3601T
  • Triconex 9561-810 Digital Input Termination Panel
  • Digital Input Module Triconex DI3201
  • Triconex DO3201 Communication Module Schneider Electric Digital Output
  • 4000188-330 Cable Assembly Triconex
  • Digital Output Module Triconex 3603T
  • Triconex 4119A Enhanced Intelligent Module
  • 2750 Triconex Programmable Controller Module
  • Digital Output Module Triconex 2755
  • 2554 Digital Input Module Triconex
  • Triconex 2553-8 Terminal Board