mdtScrollUp (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Device support:

All

Firmware version:

1.02 / 1.00.00


This function moves the contents of the display one line up. The line that moves out of the display is deleted and an empty line is added at the bottom.

After this function has been called, the current position is at the lower left corner (1, 8).

 

Input:                

None.

 

Returns: INT

0

- Success.

-1

- MDT not present or communication error.

-2

- MDT not open.

 

Declaration:

FUNCTION mdtScrollUp : INT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
VAR
  rc : INT;
END_VAR;
 
BEGIN
  ...
  // Scroll display
  rc := mdtScrollUp();
  ...
END;
END_PROGRAM;