Download "user manual"
Transcript
CHAPTER 4 FUNCTIONS Explanation • When the mdBdModSet( ) function is executed and the mode of the board is changed temporarily, the mode set in the utility is read instead of the currently operating mode. • The following table shows the modes and the corresponding codes. Description Code CC-Link IE Controller CC-Link IE Field CC-Link Ver.2 MELSECNET/H Network Network 0000H Online(with automatic return) Online(with automatic return) Online Online(normal mode) 0001H — — — Online(high-speed mode) 0002H Offline Offline Offline Offline 0003H Data link test Forward loop test — — — — Station-to-station test — Loop test Loop test 0004H 0005H Remote station test Reverse loop test Setting parameter check Station-to-station test mode (executing stations) Station-to-station test 0006H Hardware test 0007H Not applicable Self-loopback test Self-loopback test Self-loopback test 0008H — Self-loopback test (internal) — — 0009H — Hardware test Hardware test Hardware test 000EH — — Bus interface test Bus interface test 0010H — — — Memory test (target stations) 4.3 Function Details 4.3.16 mdBdModRead (reading modes of board) Return value Success : Return the value 0. Error 4 : Return the value other than 0. Refer to the list of error codes. ( Page 126, CHAPTER 6) Related function mdOpen(), mdClose(), mdBdModSet() 87