
1.SETTING OF FL-net FUNCTION SETTING B-64164EN/01
- 98 -
Ladder program processing and refresh processing of FL-net function
Ladder program processing and refresh processing of the FL-net
function operate asynchronously. Because ladder program
processing can be performed independently of refresh processing of
the FL-net function, the ladder program can run repeatedly at high
speed.
Fig. 1-2 is a timing diagram of the inside of the CNC when a ladder
program outputs signals.
Fig. 1-2 Timing Diagram
In the upper part of the diagram, the ladder program performs
processing cyclically and writes data in registers A and B.
In the middle part, how the contents of registers A and B in the PMC
are updated at this time. Even within one-time execution of the
ladder program, data is not written to register A and register B at the
same time. Therefore, register A and register B are not updated at
the same time, and there is a time difference in updating register A and
updating register B.
In the lower part, refresh processing of the FL-net function is
performed cyclically to read the contents of register A and register B.
Since there is a time difference in updating register A and register B,
data written in one ladder program operation cannot sometimes be
read at a time as shown in the (n+1)th refresh processing.
Also when input signals from a slave are processed by the ladder
program, register contents written by one refresh operation cannot
sometimes be read by one ladder program operation.
Content of register A:
Content of register B:
0
0
1
1 2
2 3
3
(mth) ((m+1)th) ((m+2)th)
(nth)
1,1 2,2 3,3
Ladder program processing:
((n+1)th) ((n+2)th) ((n+3)th)
1 1 2 2 3 3
2,1
0
0
1
1 2
2 3
3
1, 1 2, 2 3,3
1
122 3 3
2, 1
Refresh processing of
FL-net function:
Transferred to other nodes