page 80
Function
COP_MSTR_BOOTUP
Library NMT_MSTR.LIB
Function symbol
Purpose
Initializes the plc module as CANopen NMT master and all
connected I/O nodes.
Parameters
Function inputs
Function outputs
Description
COP_MSTR_BOOTUP sets the R 360 to the CANopen mode
and initializes the plc as NMT master. At the same time the
master is informed of the number of the connected nodes
(NO_NODE) with the defined guard time (GUARDTIME and
LIFETIME factor). After the booting operation (> 2 s) the
function output DONE is set to TRUE.
After a successful booting the execution of the function must be
disabled via the input ENABLE.
Name Data type Description
ENABLE BOOL TRUE: The function is processed.
FALSE: The function is not processed.
NO_NODE BYTE Number of the connected nodes without
NMT master
GUARDTIME TIME Guard time for node monitoring
LIFETIME BYTE Lifetime factor for node monitoring
Name Data type Description
DONE BOOL FALSE: BOOTUP is still active
TRUE: BOOTUP is finished