Omron NY532-5400 Reference Manual page 1007

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

Advertisement

ST
Internal
Variable
Variables
Trigger
ChangeCondition
ChangeGo
WriteCondition
WriteGo
SaveCondition
SaveGo
RestartCondition
RestartGo
NXUnitProxy
NXUnitProxy_Coupler
NXObject
VarWriteData
NormalEnd
ErrorEnd
NX_ChangeWriteMode
_instance
NX_WriteObj_instance
NX_SaveParam_in-
stance
RestartNXUnit_instance
R_Trig_instance
External
Variable
Variables
_EC_MBXSlavTbl
*1 The data type is ARRAY [1..192] OF BOOL for an NJ-series CPU Unit.
// Prepare object parameter and write data.
R_Trig_instance(Clk := Trigger);
IF (R_Trig_instance.Q=TRUE)THEN
NXObject.Index
NXObject.Subindex := USINT#1;
VarWriteData
END_IF;
// Execute NX_ChangeWriteMode instruction.
IF (Trigger = TRUE) THEN
ChangeCondition := TRUE;
END_IF;
IF ((NX_ChangeWriteMode_instance.Done=TRUE) OR
(NX_ChangeWriteMode_instance.Error=TRUE))THEN
ChangeCondition := FALSE;
END_IF;
ChangeGo := ChangeCondition & _EC_MBXSlavTbl[10];
NX_ChangeWriteMode_instance(
Execute
UnitProxy := NXUnitProxy);
NY-series Instructions Reference Manual (W560)
Data type
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
_sNXUNIT_ID
_sNXUNIT_ID
_sNXOBJ_ACCESS
UINT
UINT
UINT
NX_ChangeWriteMode
NX_WriteObj
NX_SaveParam
RestartNXUnit
R_TRIG
Constant
ARRAY[1..512] OF BOOL
*1
:= UINT#16#5004;
:= UINT#2;
:= ChangeGo,
2 Instruction Descriptions
Initial value
FALSE
Execution condition
Execution condition to change write
FALSE
mode
FALSE
Execution of change to write mode
FALSE
Execution condition to write data
FALSE
Execution of data write
FALSE
Execution condition to save data
FALSE
Execution of data save
FALSE
Execution condition to restart Unit
FALSE
Execution of Unit restart
Unit designation for DC Input Unit
Unit designation for EtherCAT Cou-
pler Unit
(Index:=0,
Subindex:=0,
Object parameter
IsCompleteAc-
cess:=FALSE)
0
Write data
0
Normal end
0
Error end
Data type
Message Communications Enabled
Slave Table
Comment
Comment
2-955
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents