5
PROGRAMMING
5.4
Program Example When Using the LCPU
The program example when using the QCPU can also be used for the LCPU. Set
parameters according to the description in this section and use the program example in
Section 5.3 (3).
Set parameters in "Network Parameter" of GX Works2.
(1) Parameter settings
(a) PLC parameter
Change the I/O assignment setting of the built-in I/O function according to the
program example for the QCPU. From "I/O Assignment" of "PLC Parameter", set
the I/O assignment not used in the system. Figure 5.9 shows an example of "I/O
Assignment" for the L02CPU.
Figure 5.9 "PLC Parameter" dialog box (when using the L02CPU)
When using the LCPU with the built-in CC-Link function, set the I/O assignment of
the built-in CC-Link function to 0000, and set the start I/O No. of the built-in I/O
function to the I/O assignment which is not used in the system.
5.4 Program Example When Using the LCPU
1
2
3
4
5
6
5
- 9