(N) Operation via communication and its settings
65
2
GROUP
N
Programming examples
This chapter provides programming examples which control the inverter with sequence programs.
• System configuration example (when the MELSEC iQ-R series programmable controller is used)
• Network parameter setting of the master station
Network parameters are set as below.
• The relation between the device of the programmable controller CPU and remote I/O (RX, RY) of the remote device station
is as follows: The devices used actually are indicated in shaded regions.
Item
Program example
Refer to page
Reading the inverter status
Reading the inverter status from the buffer memory of the master station
Setting the operation mode
Selecting the network operation mode
Setting the operation commands
Commanding the forward rotation and middle speed signals
Setting the monitoring function
Monitoring the output frequency
Reading a parameter value
Reading the value of
Pr.7 Acceleration time
Writing a parameter value
Setting "3.0 s" in
Pr.7 Acceleration time
Setting the running frequency
(running speed)
Setting to 50.00 Hz
Reading the fault records
Reading the inverter faults
Inverter reset
Perform inverter reset at an inverter alarm occurrence.
Item
Setting conditions
Item
Setting conditions
Start I/O No.
0000
Remote register (RWw)
W100
Type
Master
Retry count
3
All connect count
2
Remote input (RX)
X1000
Remote output (RY)
Y1000
Remote register (RWr)
W0
Hub
Inverter
(station
No. 1)
Pr.544
=0
Pr.544
=0
Inverter
(station
No. 2)
Power
supply
R61P
CPU
R04CPU
Programmable
controller
Input module
RX40C7
(X20 to X2F)
Output module
RY40PT5P
(Y30 to Y3F)
RX0F to RX00
RX1F to RX10
X100F to X1000
X101F to X1010
X102F to X1020
X103F to X1030
Y100F to Y1000
Y101F to Y1010
Y102F to Y1020
Y103F to Y1030
Programmable controller CPU
Remote device station
(station 1)
RY0F to RY00
RY1F to RY10
X104F to X1040
X105F to X1050
Y104F to Y1040
Y105F to Y1050
RX0F to RX00
RX1F to RX10
Remote device station
(station 2)
RY0F to RY00
RY1F to RY10