375
CHAPTER 10 DEDICATED INSTRUCTIONS
10
10.
17 G
P
.C
C
PAS
ET
(Set
ting Param
e
te
rs)
10.
17.
2
In
st
ru
ct
ion det
ai
ls
(5) Program example (parameter setting in the local station)
A program example is described below. The program sets parameters to the local station of network number 1
when M181 turns on.
(a) System configuration
The following figure shows a system configuration to set CC-Link IE Field Network parameters for the local
station.
(b) Intelligent function module switch setting
Before executing the CCPASET instruction, set the intelligent function module switches as follows.
Project
window
[Parameter] [PLC
Parameter] "I/O
Assignment"
tab
button.
(c) Devices used in the program
(d) CCPASET instruction setting
• Control data
Device
Description
Device
Description
M181
Start contact
D2710
Dummy device
M182
Completion device
D2720
M183
Completion status indication device
D2730
D2700 and D2701
Control data
-
Device
Item
Setting value
(S1)+0
D2700
Completion status
(The system sets this item.)
(S1)+1
D2701
Setting flag
0100
H
• Data link faulty station setting: Hold
• Output setting during CPU STOP: Hold
Network No.1
CPU module
CCPASET instruction
execution source
(own station)
Device
Master/local module
Parameter settings
Local station (station No.1)
Master station (station No.0)