(N) Operation via communication and its settings
67
2
GROUP
N
Program example for setting the operation mode
The following explains a program to write various data to the inverter.
The following explains a program to change the operation mode of station 1 inverter to network operation.
• Operation mode write code: HFB (hexadecimal)
• Network operation set data: H0000 (hexadecimal) (Refer to
.)
• The reply code at the time of instruction code execution is set to D2. (Refer to
.)
Program example for setting the operation commands
The following program gives a forward command and middle speed command to station 1 inverter
These signals are initial values. You can change input signals using
Pr.180 to Pr.189 (Input terminal function selection)
.
Note that some of the signals do not receive a command from the programmable controller depending on the setting.
(Refer to the Instruction Manual (Detailed) of the FR-A800/FR-F800 inverter for details.)
For the FR-F800-E, no function is assigned in the initial setting.
Write operation mode write code (HFB)
to RWw2 and set data (H0000) to RWw3.
Turn off the instruction code execution
request (RY0F)
Turn on the instruction code execution
request (RY0F)
Read reply code (RWr2) to D2 when the
instruction code execution completion (RX0F)
turns on.
Check the data link status of the station 1
(0)
SM1536
SD1536.0 SD1540.0
M0
(4)
M0
X20
PLS
M300
(8)
M300
SET
M301
(10)
M301
X100F
MOV
H0FB
W102
MOV
H0
W103
SET
Y100F
RST
M301
SET
M302
(19)
M302
X100F
MOV
W2
D2
RST
Y100F
RST
M302
(25)
END
Forward rotation command (RY00)
Middle speed operation command (RY03)
Check the data link status of the station 1
(0)
SM1536
SD1536.0 SD1540.0
M0
(4)
M0
X20
Y1000
Y1003
(8)
END
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b15
b0
Y100F
Y1000
b7
[Run command]
Forward rotation
1: ON
0: OFF
RY0F to RY00
RY1F to RY10
One station
Run command
b0 : Forward rotation command
b5 : Jog operation selection (JOG)
∗1
b1 : Reverse rotation command
b6 : Second function selection (RT)
∗1
b2 : High-speed operation command (RH)
∗1
b7 : Terminal 4 input selection (AU)
∗1
b3 : Middle-speed operation command (RM)
∗1
b8 : Selection of automatic restart after instantaneous power failure (CS)
∗1
,
∗2
b10 : Start self-holding selection (STOP)
∗1
b11 : Inverter reset (RES)
∗1
b4 : Low-speed operation command (RL)
∗1
b9 : Output stop (MRS)
∗1
Middle speed