Ec_Changeenablesetting - Omron NY532-5400 Reference Manual

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

Advertisement

EC_ChangeEnableSetting

The EC_ChangeEnableSetting instruction enables or disables an EtherCAT slave.
Instruction
Name
EC_Chan-
Enable/Dis-
geEnableSet-
able Ether-
ting
CAT Slave
Variables
Name
Meaning
Slave node
NodeAdr
address
Enable/dis-
IsEnable
able designa-
tion
* The range is 1 to 192 for an NJ-series CPU Unit.
NodeAdr
IsEnable
OK
Function
The EC_ChangeEnableSetting instruction enables or disables the EtherCAT slave that is specified with
slave node address NodeAdr. The slave is enabled if enable/disable designation IsEnable is TRUE and
disabled if it is FALSE.
Enabling or disabling the slave is completed when the instruction is completed normally (i.e., when the
value of Done changes to TRUE).
Whether the instruction is completed normally depends on the status of the specified EtherCAT slave,
i.e., whether it is enabled or disabled, whether it is participating or not participating, and whether it
exists in the EtherCAT network. The status after execution of the instruction is given in the following
table according to the status of the EtherCAT slave before execution of the instruction.
Status before instruction execution
Enabled/
disabled
not participating
Enabled
Participating
NY-series Instructions Reference Manual (W560)
FB/
Graphic expression
FUN
FB
EC_ChangeEnableSetting_instance
EC_ChangeEnableSetting
Execute
NodeAdr
IsEnable
I/O
Description
Node address of the EtherCAT
slave to enable or disable
Designation of whether to
enable or disable the specified
Input
EtherCAT slave
TRUE: Enable
FALSE: Disable
Bit strings
OK
Participating/
*1
Exists
Yes
EC_ChangeEnableSetting_in-
stance(Execute, NodeAdr, IsEnable,
Done, Busy, Error, ErrorID);
Done
Busy
Error
ErrorID
Valid range
*
1 to 512
Depends on
data type.
Integers
Status after instruction execution
Value of IsEn-
able
Normal/error end
TRUE
Normal end
FALSE
2 Instruction Descriptions
ST expression
Unit
Default
1
---
TRUE
Times, durations,
dates, and text
strings
Enabled/disabled
Enabled
Disabled
2
2-929

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents