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.
Leave a comment
Your email address will not be published. Required fields are marked *