CANopen MNT

From SoftMC-Wiki
Jump to: navigation, search

Control NMT state machine in CANopen devices

Input

0 - PREOP state 4 - OP State

Output

None

Return Value

None

Declaration

bus[0].phase

Syntax

bus[0].phase= <number>

Examples

bus[0].phase = 0 ' set all devices to PREOP state bus[0].phase = 4 ' set all devices to OP state