130
ifm
System Manual
ecomat
mobile
SmartController (CR2500) V05
CAN in the ecomatmobile controller
ifm CANopen library
Function CANx_SLAVE_NODEID
x = number 1...n of the CAN interface (depending on the device,
→
data sheet)
Contained in the library:
ifm_CRnnnn_CANopenSlave_Vxxyyzz.LIB
Available for the following devices:
•
CabinetController: CR0301, CR0302, CR0303
•
ClassicController: CR0020, CR0032, CR0505
•
ExtendedController: CR0200, CR0232
•
PCB controller: CS0015
•
SafetyController: CR7020, CR7021, CR7032, CR7200, CR7201, CR7232, CR7505, CR7506
•
SmartController:
CR2500
•
PDM360: CR1050, CR1051, CR1060
•
PDM360 compact: CR1052, CR1053, CR1055, CR1056
•
PDM360 smart: CR1070, CR1071
Function symbol:
CANx_SLAVE_NODEID
ENABLE
NODEID
Description
The function CANx_SLAVE_NODEID enables the setting of the node ID of a CAN device (slave) at
runtime of the application program.
Normally, the function is called once during initialisation of the controller, in the first cycle. Afterwards,
the input ENABLE is set to FALSE again.
Parameters of the function inputs
Name
Data type Description
ENABLE BOOL
FALSE
→
TRUE (edge):
Set node ID
FALSE: function is not executed
NODEID
BYTE
Value of the new node number