2-753
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Communications Instructions
2
EC_ConnectSlave
• Execution of this instruction is continued until processing is completed even if the value of Execute
changes to FALSE or the execution time exceeds the task period. The value of Done changes to
TRUE when processing is completed. Use this to confirm normal completion of processing.
• Refer to Using this Section on page 2-2 for a timing chart for Execute, Done, Busy, and Error.
• This instruction can be used only for the NJ-series EtherCAT ports.
• An error occurs in the following cases. Error will change to TRUE.
• The slave specified with NodeAdr is not part of the EtherCAT network. That is, the value of
_EC_EntrySlavTbl[i] (Network Connected Slave Table) is FALSE.
• The slave specified with NodeAdr is not disconnected from the network.
Refer to the sample programming that is provided for the EC_DisconnectSlave instruction (page 2-746).
Precautions for Correct Use
Sample Programming