boardType returns the type of RTCU device.
Input:
None
Returns: INT
Type of device the program is executing on:
9:
|
RTCU A9/A9i.
|
10:
|
RTCU M10.
|
11:
|
RTCU M11/M11i.
|
102:
|
RTCU MX2/MX2i.
|
103:
|
RTCU DX4i mk2.
|
104:
|
RTCU DX4/DX4i.
|
105:
|
RTCU CX1/CX1i/CX1 mk2.
|
106:
|
RTCU SX1.
|
109:
|
RTCU AX9/AX9i.
|
122:
|
RTCU MX2 turbo / MX2 encore / MX2 warp.
|
129:
|
RTCU AX9 turbo / AX9 encore.
|
192:
|
RTCU MX2 SOM module.
|
202:
|
RTCU NX-200.
|
204:
|
RTCU NX-400.
|
209:
|
RTCU NX-900 / NX-910
|
302:
|
RTCU LX2 series
|
304:
|
RTCU LX4 series
|
305:
|
RTCU LX5 series
|
Declaration:
FUNCTION boardType : INT;
Example:
INCLUDE rtcu.inc
PROGRAM test;
BEGIN
...
displayXY(x := 1, y := 2);
displayNumber(number := boardType());
...
END;
END_PROGRAM;
|