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

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

Advertisement

ST
Internal
Vari-
Variable
ables
SetEN
SetTimeStamp
SetDOut
R_TRIG_instance
NX_DOutTimeStamp
_instance
Exter-
nal Vari-
ables
N1_Input_Bit_00
N1_Input_Bit_00_Time_Stamp
E001_Time_Stamp_of_Synchronous_O
utput
N2_Output_Bit_00
N2_Output_Bit_00_Time_Stamp
// Execution trigger input
R_TRIG_instance( N1_Input_Bit_00, SetEN);
// Specify the output time stamp.
IF ( SetEN = TRUE ) THEN
SetDOut
SetTimeStamp := N1_Input_Bit_00_Time_Stamp + ULINT#10000000;
END_IF;
// Output
NX_DOutTimeStamp_instance(
Enable
SetDOut
SetTimeStamp := SetTimeStamp,
SyncOutTime
DOut
TimeStamp

NY-series Instructions Reference Manual (W560)

Data type
BOOL
ULINT
BOOL
R_TRIG
NX_DOutTimeStamp
Variable
BOOL
ULINT
ULINT
BOOL
ULINT
:= TRUE;
:= TRUE,
:= SetDOut,
:= E001_Time_Stamp_of_Synchronous_Output,
:= N2_Output_Bit_00,
:= N2_Output_Bit_00_Time_Stamp);
Initial value
FALSE
0
FALSE
Data
Constant
type
---
Input bit 00
---
Input changed time for input bit 00
---
Time stamp for the timing of synchronous
outputs from the connected NX Unit
---
Output bit 00
---
Specified time for output bit 00
2 Instruction Descriptions
Comment
Execution condition
Specified time stamp
Output value
Comment
2-1345
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents