MultiTool Creator generates global variable lists to a CODESYS project. These variable lists include variables for I/O pins, CAN communication and hardware measurement data.
The variable names include prefixes and postfixes to provide more information about variable types or their purposes.
Prefix |
Description |
AI_ |
AI input's filtered A/D converter (ADC) value |
AI_ARR_ |
Buffer of AI input unfiltered ADC samples |
AI_ARR_INDEX_ |
Index of latest AI input sample in AI_ARR_ buffer |
AI_ARR_TS_ |
Buffer/table of AI samples' timestamps |
AI_ERRORS |
AI converter's errors bit mask |
AI_RAW_ |
AI input's latest unfiltered ADC value |
AI_SET_mA_ |
AI input's configuration into mA input |
AI_SET_PU_ |
AI input's pull-up configuration |
AIPU_ |
AI input's pull-up voltage's filtered ADC value |
AIPU_ARR_ |
Buffer of AI input pull-up voltage's unfiltered ADC samples |
AIPU_RAW_ |
AI input's pull-up voltage's latest unfiltered ADC value |
CANI_ |
Variable received in PDO message (from a device not included in the MultiTool Creatorl project) |
CANO_ |
Variable transmitted in PDO message |
DI_ |
Debounce filtered DI value |
DO_ |
DO output state |
DOS_ |
DO output status (DI) information |
DI_RAW_ |
DI input's unfiltered value |
E_ |
Application specific events |
ERR_FLAG_IO_AI_OVER_CURRENT_ |
Error flag that is set to TRUE in case of over current for AI pin in mA mode. |
FB_ |
Low side current measurement's filtered ADC value |
FB_RAW_ |
Latest unfiltered value for low side current measurement |
FET_ST_ |
Status of the FET. |
FI_ |
Pulse input frequency (channel A if 2 channels) |
G_ |
Global variables or constants |
OD_ |
- parameter stored in volatile memory (RAM parameter) and defined in OD - retain and persistent variable defined in OD - all the other OD variables that do not belong any of the other ODx groups mentioned above |
OVP_RESET_ |
Control flag for overvoltage protection reset |
OVP_STATE_ |
Status flag for overvoltage protection |
PAR_ |
OD variable stored in non-volatile memory, so called application parameter |
PI_ |
Pulse input's counter value (channel A if 2 channels) |
PI_ERROR_ |
Pulse input initialization error code |
PI_SET_PU_ |
Pulse input's pull-up configuration |
PI_SET_RANGE_ |
Pulse input voltage range configuration |
POWER_ |
Power switch control |
PW_ |
Pulse input's pulse width |
PWFM_CM_ |
PWFM output's high side current measurement value |
PWFM_CR_ |
Current request to firmware's current controller |
PWFM_STEPREQ_ |
Step motor's step count request |
PWFM_STEPLEFT_ |
Remaining steps for step motor's |
PWFM_STEPRESET_ |
Step motor's step count request reset, stops the pulse generation |
PWFM_OVERCURRENT_ |
PWFM output's overcurrent alarm |
PWFM_FORCECCRATIO_ |
Current controller's forced pulse ratio, bypasses the current controller and uses value in variable PWFM_RATIO_ |
PWFM_UPDCCPAR_ |
Recalculates current controller parameters |
PWFM_OPENCIRCUIT_ |
Current controller's broken/open circuit alarm |
PWFM_RATIO_ |
PWFM output's pulse ratio |
PWFM_FREQ_ |
PWFM output's frequency |
PWFM_SET_PU_ |
PWFM output's pull-up configuration |
PWFM_ERROR_INIT_ |
PWFM init error (0 = no error) |
PWFM_MODE_ |
PWFM output's active mode (read only) |
PWM_RATIO_ |
PWM pulse ratio |
S_ |
Safety related variable |
UnitName_ |
Variable received in PDO message or SRDO message (from a device included in the MultiTool Creator project), depends on the device name that the message is received from |
Postfix |
Description |
_i |
Defines that the variable is inverted |
_TIME |
Time stamp |
Epec Oy reserves all rights for improvements without prior notice.
Source file topic200006.htm
Last updated 24-Apr-2025