5 I/O Refreshing
5 - 32
NX-series Digital I/O Unit User’s Manual (W521)
LD
Internal
Variables
Name Data type Default value Comment
State UINT 0 Internal status of program
Error BOOL FALSE Error flag
ErrorCode WORD 16#0000 Error code
InputTimeStamp ULINT 0 Recorded input changed
time
SetOutputTimeStamp ULINT 0 DC time set for the
specified time
OffsetTimeStamp ULINT ULINT#500000000 Time from the input
changed time until the
specified time (ms)
OffsetErrorTaskExeCnt ULINT ULINT#3 Error criteria for specified
time
TaskPeriod ULINT ULINT#1000000 Task period (ms)
TmpWork ULINT ï€ Workpiece for determining
specified time error
External
Variables
Name
Data
type
Comment
E001_Time_Stamp_of_Synchronous_Output
ULINT
DC time for the timing of synchronous
outputs from the NX Unit
N1_Input_Bit_00_Time_Stamp ULINT
Input changed time for input bit 00
N2_Output_Bit_00
BOOL
Output bit 00
N2_Output_Bit_00_Time_Stamp
ULINT
Specified time for output bit 00
N2_Output_Bit_00_Output_Status
BOOL
Output status for output bit 00