
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Annex
System flags
417
13.3 System
flags
System flags of the keys + LEDs (inputs) ................................................................................. 418
System flags of the keys + LEDs (outputs) ............................................................................... 420
7958
NOTE
For programming you should use only symbol names since the corresponding flag addresses could
change when the controller configuration is extended.
System flags
Type
Description
CANx_BAUDRATE
WORD
CAN interface x: set baud rate
CANx_BUSOFF
BOOL
CAN interface x: Interface is not on the bus
CANx_DOWNLOADID BYTE
CAN
interface x: set download identifier
CANx_ERRORCOUNTER_RX ¹)
BYTE
CAN interface x: Error counter reception
CANx_ERRORCOUNTER_TX ¹)
BYTE
CAN interface x: Error counter transmission
CANx_LASTERROR ¹)
BYTE
CAN interface x: Error number of the last CAN transmission:
0= no error
0
CAN specification
LEC
CANx_WARNING
BOOL
CAN interface x: Warning threshold reached (> 96)
BACKLIGHT
BYTE
Display brightness 0...100 %
CLAMP_15_SWITCHING_THRESHOLD
WORD
Switching threshold for terminal 15
CLAMP_15_VOLTAGE
BOOL
Voltage applied to terminal 15
ERROR_POWER BOOL
Voltage
error:
SUPPLY_VOLTAGE < 10000 mV or > 32000 mV
ERROR_TEMPERATUR
BOOL
Temperature error (< - 25 °C or > 85 °C)
LED
INT
LED colour for "LED on"
LED_MODE
INT
LED flashing frequency from the data structure "LED_MODES"
LED
INT
LED colour for "LED on"
LIGHT_SENSOR
BYTE
light sensor 0...100 %
SUPPLY_SWITCH
BOOL
Bit for switching off the supply latching
SUPPLY_VOLTAGE
WORD
supply voltage in [mV]
TEMPERATURE1
INT
temperature (1) in the device [°C]
TEMPERATURE2
INT
temperature (2) in the device [°C]
CANx stands for the number of the CAN interface (CAN 1...x, depending on the device).
¹) Access to this flags requires detailed knowledge of the CAN controller and is normally not required.