
34
ifm
Programming Manual (supplement) CAN module RTC CR3020
2017-10-26
ifm function elements
ifm functional elements, POUs (Classic)
>
Parameters of the inputs
21927
Parameter
Data type
Description
INIT
BOOL
TRUE (only for 1 cycle):
Function block is initialised
FALSE:
during further processing of the program
SET
BOOL
TRUE:
execute this function element
Set parameters
FALSE:
unit is not executed
NODE_ID
BYTE
Node number of the addressed CAN participant
DELAY_DAY
BYTE
Number of days till the real-time clock sets the alarm output
permissible = 0...7
DELAY_HOUR
BYTE
Number of hours till the real-time clock sets the alarm output
permissible = 0...23
DELAY_MINUTE
BYTE
Number of minutes till the real-time clock sets the alarm output
permissible = 0...59
NEW_NODE_ID
BYTE
assign a new node number to the participant
permissible values = 0...63 = 0x00...0x3F
NEW_BAUDRATE
BYTE
dem Teilnehmer eine neue Baudrate zuweisen
zulässige Werte:
02
Baudrate = 500 kBd
03
Baudrate = 250 kBd
04
Baudrate = 125 kBd
>
Parameters of the outputs
21904
Parameter
Data type
Description
RESULT
BYTE
feedback of the function block
(possible messages → following table)
Possible results for RESULT:
Value
dec | hex
Description
0
00
FB is inactive
1
01
FB execution completed without error
– data is valid
5
05
FB is active
– no data received yet
9
09
CAN is not active
241
F1
Error: Response does not correspond to the request
(Response
Request)
242
F2
Error: setting is not possible
248
F8
Error: invalid input parameters; Setting not possible