CC-Link IE Field Network Basic
6.24.1
Programming examples
This section provides programming examples which control the inverter with sequence programs.
Item
Reading the inverter status
Setting the operation mode
Setting the operation commands
Setting the monitoring function
Reading a parameter value
Writing a parameter value
Setting the running frequency
(running speed)
Reading the fault records
Inverter reset
● System configuration example (when the MELSEC iQ-R series programmable controller is used)
Fig. 6-174: CC-Link IE Field Network Basic with programmable controller and two inverters
● Network parameter setting of the master station
Item
Start I/O No.
Type
All connect count
Remote input (RX)
Remote output (RY)
Remote register (RWr)
Remote register (RWw)
Retry count
Tab. 6-163: Network parameter of the master station
6 - 364
Program example
Reading the inverter status from the buffer memory of the master station
Selecting the network operation mode
Commanding the forward rotation and middle speed signals
Monitoring the output frequency
Reading the value of Pr. 7 "Acceleration time"
Setting "3.0 s" in Pr. 7 "Acceleration time"
Setting to 50.00 Hz
Reading the inverter faults
Perform inverter reset at an inverter alarm occurrence
Programmable
Power supply
controller
R61P
Hub
Setting conditions
0000
Master
2
X1000
Y1000
W0
W100
3
Input module
CPU
RX40C7
R04CPU
(X20 to X2F)
Inverter
Pr. 544 = 0
(Station No. 1)
Parameter
Refer to
Output module
RY40PT5P
(Y30 to Y3F)
Inverter
Pr. 544 = 0
(Station No. 2)
page
6-366
6-367
6-368
6-368
6-369
6-370
6-371
6-372
6-372
I003125E