Device manual CR3105/CR3106
28
8.4.1 Function block CAN1_CANREMOTE_MAIN
●
Library:
IFM_CANx_CR310x_Vxxxxxx
●
Purpose:
This block must be integrated for all operating modes (e�g� for direct
transmission)
●
Parameters:
Input
Data type
Value Description
ENABLE
BOOL
TRUE
FALSE
processing the instance
no processing
ID_MODEM
BYTE
��� node number set via the CANremote_Configurator
MODE
BYTE
00
02
12
portal mode
real-time mode CoDeSys optimised
real-time mode transparent
ONLINE
BOOL
TRUE switches the modem ONLINE with the rising edge and
OFFLINE with the falling edge
RESET
BOOL
TRUE resets the modem and restarts it after 30 s
CLOCK_MODE
BYTE
0
1
2
3
4
no clock
Proemion time
GPS time
external time
auto server or GPS
CLOCK_EXT
DT
��� For CLOCK_MODE 4 the current time is read in as DT