mdtScrollDown (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 down. The line that moves out of the display is deleted and an empty line is added at the top.

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

 

Input:                

None.

 

Returns: INT

0

- Success.

-1

- MDT not present or communication error.

-2

- MDT not open.

 

Declaration:

FUNCTION mdtScrollDown : INT;

 

 

Example:

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