7-7
7 System-defined Variables That Are Related to the Built-in EtherCAT Port
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (W505)
7-1 System-defined Variables That Are Related to the Built-in EtherCAT Port
7
7-1-2 System-defined Variables
* For NX102 and NX1P2 CPU Units and NJ-series CPU Units, the data type is Array [1..192] OF BOOL.
Note All system-defined variables that are related to the status of EtherCAT communications give the current status.
Functional Classification: EtherCAT Communications Diagnosis/Statistics
Log
_EC_InDataInvalid Input Data
Invalid
TRUE when process data communications in
the primary periodic task are not normal and
the input data is not valid.
BOOL TRUE or
FALSE
page 7-16
_EC_InData1Invalid Input Data1
Invalid
TRUE when process data communications
established in the primary periodic task are
not normal and the input data is not valid.
Note You can use this system-defined variable
only for NX-series CPU Units.
BOOL TRUE or
FALSE
page 7-16
_EC_InData2Invalid Input Data2
Invalid
TRUE when process data communications
established in the priority-5 periodic task are
not normal and the input data is not valid.
Note You can use this system-defined variable
only for NX-series CPU Units.
Note This variable is always TRUE for NX102
and NX1P2 CPU Units.
BOOL TRUE or
FALSE
page 7-16
Variable name Meaning Function Data type
Range of
values
Reference
_EC_StatisticsLogEn-
able
(Ver.1.11)
Diagnosis/Statis-
tics Log Enable
Changes to TRUE when the diagnosis/statis-
tics log is started.
Changes to FALSE when the diagnosis/statis-
tics log is ended.
BOOL TRUE or
FALSE
page 7-16
_EC_StatisticsLogCy-
cleSec
(Ver.1.11)
Diagnosis/Statis-
tics Log Cycle
Specifies the interval to write the diagnostic
and statistical information of the diagnosis/sta-
tistics log in units of seconds.
When 0 is specified, the diagnostic and statis-
tical information is written only once when the
diagnosis/statistics log is ended.
Note The write interval does not change
even if you change the value of this
system-defined variable while the diag-
nosis/statistics log operation is in prog-
ress.
UINT 0, or 30 to 1800 page 7-17
_EC_StatisticsLog-
Busy
(Ver.1.11)
Diagnosis/Statis-
tics Log Busy
TRUE while the diagnosis/statistics log opera-
tion is in progress.
BOOL TRUE or
FALSE
page 7-17
_EC_StatisticsLogErr
(Ver.1.11)
Diagnosis/Statis-
tics Log Error
TRUE when the diagnosis/statistics log failed
to start or it is impossible to write into the log.
The value of this flag is determined when
_EC_StatisticsLogBusy (Diagnosis/Statistics
Log Busy) changes to FALSE after the diag-
nosis/statistics log operation is started.
The error end is caused by the following.
• Another records cannot be added in the log
file because the capacity of the SD Memory
Card is fully used.
• The SD Memory Card is write protected.
• There is no SD Memory Card.
• The function cannot be started because the
value specified for _EC_StatisticsLogCy-
cleSec (Diagnosis/Statistics Log Cycle) is
invalid.
BOOL TRUE or
FALSE
page 7-17
Variable name Meaning Function Data type
Range of
values
Reference