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

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

Advertisement

Execute :=(Operating2 & DoneHold_DevF & NOT(ExclusiveFlg) &
NodeAdr :=UINT#5,
IsEnable:=TRUE);
// Exclusive control of instructions. Start enabling EtherCAT slave F and confirm
// completion.
R_TRIG_DevG(EC_ChangeEnableSetting_DevG.Busy, ExclusiveFlgSet);
F_TRIG_DevG(EC_ChangeEnableSetting_DevG.Busy, ExclusiveFlgReset);
RS_ExFlg_DevG(
Set
:=ExclusiveFlgSet,
Reset1:=ExclusiveFlgReset,
Q1
=>ExclusiveFlg);
// Change axis to used axis for EtherCAT slave G.
MC_ChangeAxisUse_DevG(
Axis
:=MC_Axis004,
Execute:=(Operating2 & EC_ChangeEnableSetting_DevG.Done & NOT(DoneHold_DevG)),
AxisUse:=_mcUsedAxis);
// Exclusive control of instructions. Confirm that all processing for EtherCAT
// slave G is completed.
RS_DevG(
Set
:=(Operating2 & MC_ChangeAxisUse_DevG.Done),
Reset1:=Operating2End,
Q1
=>DoneHold_DevG);
// Confirm completion of processing for EtherCAT slave G
Operating2End:=Operating2 & DoneHold_DevG;
// Lighting installation completed lamp
SR_instance2(
Set1:=Operating2End,
Q1
=>Light2On);

NY-series Instructions Reference Manual (W560)

NOT(DoneHold_DevG)),
2 Instruction Descriptions
2
2-945

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents