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

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

Advertisement

Enable
OK
SetDOut
OK
SetTime-
Stamp
SyncOut
Time
DOut
OK
TimeStamp
Function
When the value of Enable is TRUE, the NX_DOutTimeStamp instruction writes output value SetDOut to
the output bit of a Digital Output Unit that supports time stamp refreshing at the specified time. When
Enable changes to FALSE, the value of the output bit changes to FALSE from the next task period.
The error between the specified time and the output time is ±1 μs max.
SyncOutTime (Time stamp of synchronous output) is based on the clock information in the EtherCAT
Coupler Unit or NX Unit connected to the NX bus on the CPU Unit under which the Digital Output Unit
that supports time stamp refreshing is connected. Specify the Time Stamp of Synchronous Output
device variable of the EtherCAT Coupler Unit or NX Unit connected to the NX bus on the CPU Unit
under which the Digital Output Unit is connected.
However, you must add 0x200A:02 (Time Stamp of Synchronous Output) to the I/O entries for the Eth-
erCAT Coupler Unit.
Set the DOut Unit output bit DOut to the Output Bit ** device variable that is assigned to the output bit of
the Digital Output Unit that supports time stamp refreshing.
Set time stamp TimeStamp to the Output Bit ** Time Stamp device variable that is assigned to the out-
put bit time stamp of the Digital Output Unit that supports time stamp refreshing.
Specifying the Output Time
Use the following procedure to specify the output time.
1
Get the device variable that is assigned to the clock information that is to serve as the reference
time for the Unit bit.
2
Calculate the difference between the obtained clock information and the time to write the data to
the output bit in nanoseconds and add it to the device variable from step 1.
3
Pass the results of adding the time difference to specified time stamp SetTimeStamp in the
NX_DOutTimeStamp instruction.
For details, refer to the sample programming that is provided for this instruction.

NY-series Instructions Reference Manual (W560)

Bit strings
Integers
OK
OK
OK
2 Instruction Descriptions
Times, durations,
dates, and text
strings
2-1341
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents