![IFM PDM360NG Series System Manual Download Page 299](http://html1.mh-extra.com/html/ifm/pdm360ng-series/pdm360ng-series_system-manual_3875026299.webp)
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
CAN in the PDM360
CAN POUs to CANopen
299
CANOPEN_GETSYNCSTATE
7871
= Get Sync State
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
7872
CANOPEN_GETSYNCSTATE reads...
- the setting of the SYNC functionality (active / not active),
- the error state of the SYNC functionality (SyncError).
If the PLC CAN runs as CANopen slave, it is signalled via this FB whether SYNC signals are absent or
appear regularly.
Synchronous PDOS etc. are handled in the CAN stack. CANOPEN_GETSYNCSTATE, however,
provides the error state so that the application program can react accordingly.
Parameters of the inputs
7874
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