![IFM PDM360NG Series System Manual Download Page 321](http://html1.mh-extra.com/html/ifm/pdm360ng-series/pdm360ng-series_system-manual_3875026321.webp)
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
CAN in the PDM360
CAN errors and error handling
321
CANOPEN_GETERRORREGISTER
7915
= Get Error-Register
Unit type = function block (FB)
Contained in the library:
ifm_CANopen_NT_Vxxyyzz.LIB
Available for the following devices:
- BasicController: CR040n
- BasicDisplay: CR0451
- PDM360NG: CR108n, CR9042
Symbol in CoDeSys:
Description
7917
CANOPEN_GETERRORREGISTER reads the error registers 1001
16
and 1003
16
from the controller.
Parameters of the inputs
7918
Parameter
Data type
Description
EXECUTE BOOL
FALSE
TRUE (edge):
POU is executed once
otherwise: POU not active
A POU already started is processed.
CHANNEL
BYTE
CAN interface (1...n) depending on the device
Reset_1001
(optional use of the parameter)
BOOL
TRUE:
The error register 1001
16
of the controller is reset.
FALSE:
this function is not executed (preset)
Reset_1003
(optional use of the parameter)
BOOL
TRUE:
The error register 1003
16
of the controller is reset.
The number of entries is set to 0.
FALSE:
this function is not executed (preset)
The inputs remain unchanged.