
----------------------------------------------------------
Note: test6--Master node show requested PDO data.
Note: Rpdo4 data is " "
----------------------------------------------------------
Note: test7--Master node request PDO data.
----------------------------------------------------------
Note: test8--Master node show requested PDO data.
Note: Rpdo4 data is "require"
Note: slave node "0x02" entry into "Operational" state!
----------------------------------------------------------
Note: test9--Master node show received cycle PDO data.
Note: Rpdo2 data is " cycle"
----------------------------------------------------------
tests 1 to 9 are not commands.
NOTE
c. After the test code is executed, it automatically prints the list of commands. Num00~06 are normal commands. After
executing these instructions without parameters, the instruction usage is displayed. Num08~14 are test commands.
All test commands except num10 have no parameters. Argument of Num10 is a 16-bit integer.
• Now the user can execute any command in the command list.
Command List
Command List:
-------------------------------------------------------------------------
num | command | introduction
-------------------------------------------------------------------------
00 | ctrl_quit | console thread exit!
-------------------------------------------------------------------------
01 | help | command list
-------------------------------------------------------------------------
02 | can_quit | exit CANopen thread
-------------------------------------------------------------------------
03 | setState | set the CANopen node state
-------------------------------------------------------------------------
04 | showPdo | show the data of RPDO
-------------------------------------------------------------------------
05 | requestPdo | request the data of RPDO
-------------------------------------------------------------------------
06 | sdo | read/write one entry by SDO protocol
-------------------------------------------------------------------------
07 | |
-------------------------------------------------------------------------
08 | test_startM | test -- Start master
-------------------------------------------------------------------------
09 | test_sdoSingle | test -- Read slave node single data
-------------------------------------------------------------------------
10 | test_sdoSingleW | test -- Write slave node single data
-------------------------------------------------------------------------
11 | test_sdoBlock | test -- Read slave node block data
-------------------------------------------------------------------------
12 | test_showPdoCyc | test -- Show cycle PDO data
-------------------------------------------------------------------------
13 | test_showpdoreq | test -- Show requested PDO data
-------------------------------------------------------------------------
14 | test_requestpdo | test -- Request PDO data
-------------------------------------------------------------------------
NXP Semiconductors
FlexCAN
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
175 / 199