A-23
Appendices
NJ-series CPU Unit Software User’s Manual (W501)
A-2 Calculating Guidelines for the Real Processing Times of Tasks
App
A-2-2 Example of Calculating the Average Real Processing Time of a Task and Setting the Task Period
Because the result that is calculated from the above formula is a negative number, the EtherCAT
slave processing time is regarded as 0 s.
CJ-series Unit processing time:
The following table gives the I/O refresh time per Unit for the CJ1W-ID211 DC Input Unit, CJ1W-
OD211 Transistor Output Unit, CJ1W-AD042 Analog Input Unit, CJ1W-DA021 Analog Output Unit,
and CJ1W-SCU42 Serial Communications Unit that are used on the CPU Rack.
Because the result that is calculated from the above formula is a negative number, the CJ-series
Unit processing time is regarded as 0 s.
The I/O refresh time for the GX-ID1611 is given as follows.
I/O refresh time for the GX-ID1611 = Tout Dout + Tin Din + Tref Dinout + 1.24
= 0.004 0 + 0.011 3 + 0.082 3 + 1.24
= 1.49 [s]
Similarly, the I/O refresh time for the GX-OD1611 is given as follows.
I/O refresh time for the GX-OD1611 = Tout Dout + Tin Din + Tref Dinout + 1.24
= 0.004 2 + 0.011 1 + 0.082 2 + 1.24
= 1.42 [s]
Again, the I/O refresh time for the R88D- is given as follows.
I/O refresh time for the R88D- = Tout Dout + Tin Din + Tref Dinout + 1.24
= 0.004 23 + 0.011 26 + 0.082 26 + 1.24
= 3.75 [s]
From these values, the EtherCAT slave processing time is calculated by the following formula.
EtherCAT slave processing time =
(I/O refresh time for each EtherCAT slave
Number of salves) - 70
= (1.49 1 + 1.42 1 + 3.75 4) - 70
= -52.09 [s]
Model I/O refresh time per Unit [s]
CJ1W-ID211 1
CJ1W-OD211 1
CJ1W-AD042 24
CJ1W-DA021 24
CJ1W-SCU42 2.5
Because the number of Units is all one, the CJ-series Unit processing time is regarded as 0 s.
CJ-series Unit processing time =
(I/O refresh time for each CJ-series Unit
Number of Units) - 230
= 1 1 + 1 1 + 24 1 + 24 1 + 2.5 1 - 230
= -177.5 [s]