15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.2 Functions Assigned to transparent Mode<br />

! CAUTION<br />

These <strong>function</strong>s are valid only in transparent mode.<br />

They can only be programmed in a %TF task.<br />

Transparent Mode<br />

8.2.1 Position the Cursor pcur<br />

Syntax<br />

line: Line number.<br />

column: Column number.<br />

Operation<br />

Positions the cursor on the line and column specified.<br />

Return code<br />

If OK<br />

0<br />

pcur(line, column)<br />

Error<br />

-1: Not in transparent mode, the calling task is not a %TF task.<br />

-2: Attempt to position the cursor outside the screen.<br />

8.2.2 Display a Character putchar<br />

Syntax<br />

putchar(character)<br />

character: ASCII code of a character.<br />

Operation<br />

Sends a character to the system screen.<br />

REMARK If the screen saver is active, the putchar command is placed on wait. To resume<br />

display in transparent mode, it is necessary to deactivate the screen saver by variable<br />

%W5.7.<br />

en-938846/7 8 - 7<br />

8

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

Saved successfully!

Ooh no, something went wrong!