(N) Operation via communication and its settings
69
2
GROUP
N
Program example for parameter writing
The following program changes the setting of
Pr.7 Acceleration time
of station 1 inverter to 3.0 s.
• Acceleration time writing instruction code: H87 (hexadecimal)
• Acceleration time set data: K30 (decimal)
For the parameter instruction codes, refer to the Instruction Manual (Detailed) of the FR-A800/FR-F800 inverter.
The reply code at the time of instruction code execution is set to D2. (Refer to
.)
NOTE
• For parameters having numbers 100 and later, change their link parameter extended settings (set them to other than H00).
Refer to the parameter list of the Instruction Manual (Detailed) of the FR-A800/FR-F800 inverter for settings.
• For other functions, refer to the instruction codes. (Refer to
Program example for setting the running frequency
• The following program example changes the running frequency of station 1 inverter to 50.00 Hz
Set frequency: K5000 decimal
The reply code at the time of instruction code execution is set to D2. (Refer to
.)
• To continuously change the running frequency from the programmable controller
When the frequency (speed) setting completion (example: X100D) switches on, make sure that the reply code in the
remote register is 0000H and change the set data (example: W101) continuously.
Write
Pr.7
write (H87) to RWw2 and
acceleration time setting data (K30) 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
H87
W102
MOV
K30
W103
SET
Y100F
RST
M301
SET
M302
(19)
M302
X100F
MOV
W2
D2
RST
Y100F
RST
M302
(25)
END
Write set frequency to RWw1.
Turn off the frequency setting command RAM
(RY0D)
Turn off the frequency setting
command RAM (RY0D)
Read reply code (RWr2) to D2 when the
frequency setting completion (RX0D) 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
X100D
MOV
K5000
W101
SET
Y100D
RST
M301
SET
M302
(17)
M302
X100D
MOV
W2
D2
RST
Y100D
RST
M302
(23)
END