Chapter 6 ASCII serial port instructions
110 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
ABL counts the total number of characters in the input buffer up to and including
the end-of-line termination character.
Arguments
Parameter Parameter type Data type Description
IN Input BOOL If Rising Edge (IN) turns from FALSE to TRUE, start the function block with the precondition that the
last operation has been completed.
ABLInput Input ABLACB The channel to be operated.
See ABLACB data type on page 127.
Q Output BOOL Outputs of this instruction are updated asynchronously from the program scan. Output Q cannot be
used to re-trigger the instruction since IN is edge triggered.FALSE - The function block is not done.
TRUE - The function block is done.
Characters Output UINT The number of characters displayed in the buffer up to 82 characters.
Error Output BOOL FALSE - No error.
TRUE - An error is detected.
ErrorID Output UINT See ABL error codes on page 127.
ABL function block language examples
Function Block Diagram (FBD)