Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
Related System-defined Variables
Name
_EC_EntrySlavTbl[i]
"i" is the node address.
_EC_DisconnSlavTbl[i]
"i" is the node address.
Additional Information
Refer to the NJ/NX-series CPU Unit Built-in EtherCAT Port User's Manual (Cat. No. W505) or NY-
series Industrial Panel PC / Industrial Box PC Built-in EtherCAT Port User's Manual (Cat. No. W562) for
details on EtherCAT communications.
Precautions for Correct Use
• 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-3 for a timing chart for Execute, Done, Busy, and Error.
• This instruction can be used only for the NJ/NX-series and NY-series Controller EtherCAT ports.
• You cannot execute this instruction during execution of the following instructions: EC_Disconnect-
Slave, EC_ConnectSlave, EC_ChangeEnableSetting, ResetECError, RestartNXUnit, and
NX_ChangeWriteMode.
• You can execute a maximum of 32 of the following instructions at the same time:
EC_CoESDOWrite, EC_CoESDORead, EC_StartMon, EC_StopMon, EC_SaveMon, EC_CopyMon,
EC_DisconnectSlave, EC_ConnectSlave, EC_ChangeEnableSetting, IOL_ReadObj, and IOL_Write-
Obj.
• 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
EC_DisconnectSlave,
RestartNXUnit, or NX_ChangeWriteMode instruction is already in execution.
• More than 32 of the following instructions were executed at the same time:
EC_CoESDOWrite, EC_CoESDORead, EC_StartMon, EC_StopMon, EC_SaveMon, EC_Copy-
Mon, EC_DisconnectSlave, EC_ConnectSlave, EC_ChangeEnableSetting, IOL_ReadObj and
IOL_WriteObj.
Sample Programming
Refer to the sample programming that is provided for the EC_DisconnectSlave instruction (page 2-
920).
2-928
Meaning
Data type
Network Connected
BOOL[]
Slave Table
Disconnected Slave
BOOL[]
Table
EC_ConnectSlave,
Description
This variable shows if slaves are part of (i.e., exist on)
the network.
TRUE: Part of the network.
FALSE: Not part of the network.
This variable shows the slaves for which there are
currently disconnect commands in effect.
TRUE: Disconnect command is in effect.
FALSE: Disconnect command is not in effect.
EC_ChangeEnableSetting,

NY-series Instructions Reference Manual (W560)

ResetECError,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents