Example: Configure PWM3 of module with NID = 0x05 for pulse mode and start a pulse of 250ms
after a delay of 1000ms.
CANid
byte 0
0x605
0x2B
0x605
0x2B
0x605
0x2B
0x605
0x2B
6.6.
Changing the NID
The Node ID (NID) can be programmed from 0x01 to 0x7F (1 to 127). To change the NID,
several messages must be sent to the appsCAN module. This must be followed by a reset of
the module (that can be performed three different ways; see the following).
Start by sending the following message to place the module into pre-operational mode.
CAN id
byte 0
0x00
0x80
The next message(s) place the module(s) into LSS (Layer Select Services) configuration
mode. If there is only one CANopen module on the CAN bus this process requires only one
message. If there are several CANopen modules on the same CAN bus the specific module
must be identified using Product Code, Revision Number and Serial Number, (these can be
found on a white label placed on the top of the plastic enclosure).
MULTIPLE MODULES ON BUS
CAN id byte 0 byte 1 byte 2 byte 3 byte 4
0x7E5
0x04
0x00
0x7E5
0x40
0xC6
0x7E5
0x41
0x7E5
0x42
0x7E5
0x43
The module will reply with byte 0 = 0x44 on CAN id 0x7E4 if it enters LSS configuration
mode successfully.
The next message sent contains the new NID as an unsigned hexadecimal character.
CAN id
byte 0
0x7E5
0x11
The module will reply with byte 0 = 0x11 and byte 1 = 0x00 on CAN id 0x7E4 indicating a
successful NID change.
byte 1
byte 2
0x24
0x50
0x2A
0x50
0x2A
0x50
0x2A
0x50
byte 1
NID
0x01
0x00
Product Code
Revision Number
Serial Number
byte 1
new NID
byte 3
byte 4
byte 5
0x00
0x00
0x40
0x01
0xFA
0x00
0x02
0xE8
0x03
0x00
0x01
SINGLE MODULE ON BUS
CAN id
0x7E5
0x00
byte 6
byte 7
byte 0
byte 1
0x04
0x01
41
Need help?
Do you have a question about the appsCAN Module and is the answer not in the manual?
Questions and answers