
27
6.7 System Variables
Variables of type System are variables already defined by operative system, therefore we must not to declare them but
they can be used as commen variables. This is the list of the SYSTEM VARIABLES available. There are more system
variables but reserved to the system.
They are used in systems with NGM13 and contain . Contengono the double value of
the number of steps generated by the four axis step controller.
It contains the page number currently loaded/displayed.
It contains the page number previously loaded/displayed.
Array of 128 elements containing the string read by the function Get_TabStr(…..)
It contains the number of LANGUAGE currently used by application. It is a number from
0 to 127 which select the messages from the relative table.
It contains the data frame of Emergency Object of CanOpen. It is updated calling the
function read_emcy().
These variables form the 8 byte of the eventual SDO ABORT CODE sended by a slave
CANOPEN as a result of a call to the functions pxco_sdodl(...) or pxco_sdoul(...). If the
retur value is 2, the variables _SYSTEM_SDOAC0 and _SYSTEM_SDOAC1 represent the
error code.
It contains the response time in milliseconds of the automatic turn off of the background
light in devices with HMI.
It is the actual elapsed time of TASK PLC in CPU units. DEBUG application displays it in
milliseconds. It useful for test to understand the stress of CPUin TASK PLC. This time
should be less than 30% of the sample time (set in general options) to avoid the other
tasks run slowly.
It's similar to the previous but it contains the maximum value latched.
If there is present an internal SSD this variable contains its dimension in Mbyte (8, 16,
32, 64, 128, etc.).
It is the firmware version. Ex. 10317 → Vers. 1.03.17
Error counter of the Canopen channel 1. It is updated each sample of TASK PLC testing
the hardware interface.
It's tha same as the previous one but it refers to channel 2.
Error counter of the ETHERCAT line.
It contains the code of a key when it is pressed.
It contains the code of a key when it is released.
Komentáře k této Příručce