12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

plc function ref - 34.37<br />

34.1.12 String<br />

ABL, ACB - Ascii availaBle Line, Ascii Characters in Buffer<br />

A<br />

ABL<br />

ASCII TEST FOR LINE<br />

Channel 0<br />

<strong>Control</strong> R6:0<br />

Characters<br />

Description:<br />

Status Bits:<br />

The ABL instruction checks for available characters in the input buffer.<br />

In this example, when ’A’ goes true the function will check the input<br />

buffer for channel ’0’ <strong>and</strong> put characters in ’R6:0.POS’. The count<br />

will include end of line characters such as ’CR’ <strong>and</strong> ’LF’.<br />

The ACB instruction is the same, except that it does not include the end<br />

of line characters.<br />

none<br />

Registers: POS the number of characters waiting in the buffer.<br />

Available on: Micrologix, PLC-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!