Ahl - Ascii Handshake Lines - Allen-Bradley MicroLogix 1100 Instruction Set Reference Manual

Hide thumbs Also See for MicroLogix 1100:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
328
ASCII Instructions
AHL - ASCII Handshake
Lines
AHL
AHL
Ascii Handshake Lines
Channel
0
AND Mask
0002h
OR Mask
0000h
Control
R6:2
Channel Status
0000h<
Error
0<
Publication 1763-RM001C-EN-P - October 2009
Instruction Operation
This instruction executes on a true rung.
The following conditions cause the controller to set the ASCII String
Manipulation Error bit (S:5/15):
• Source string length is less than 1 or greater than 82
• Index value is less than 1 or greater than 82
• Number value is less than 1 or greater than 82
• Index value greater than the length of the Source string
The Destination string is not changed in any of the above error
conditions. When the ASCII String Manipulation Error bit (S:5/15) is set,
the Invalid String Length Error (1F39H) is written to the Major Error Fault
Code word (S:6).
Instruction Type: output
Execution Time for the AHL Instruction
EN
Controller
DN
ER
MicroLogix 1100
The AHL instruction is used to set or reset the RS-232 Request to Send
(RTS) handshake control line for a modem. The controller uses the two
masks to determine whether to set or reset the RTS control line, or leave it
unchanged.
The channel configuration must be set to ASCII.
Make sure the automatic modem control used by the
TIP
port does not conflict with this instruction.
Entering Parameters
Enter the following parameters when programming this instruction:
• Channel is the number of the RS-232 port, Channel 0.
• AND Mask is the mask used to reset the RTS control line. Bit 1
corresponds to the RTS control line. A value of "2" in the AND mask
resets the RTS control line; a value of "0" leaves the line unchanged.
When Instruction Is:
True
False
14.56 μs
15.06 μs

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1763-l16bbb1763-l16awa1763-l16bwa1763-l16dwd

Table of Contents