Programming Example For Setting The Running Frequency - Mitsubishi Electric CC-Link IE TSN FR-A8NCG Instruction Manual

Table of Contents

Advertisement

8.7

Programming 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. (RWr0: Refer to
SB49
SW0B0.0
0
M0
X20
3
M300
7
M301
X1021
9
M302 X1021
16
22
Check the data link status of the station 1
M0
PLS
M300
SET M301
MOV K5000 W100
Write set frequency to RWw0.
SET Y1021
Turn off the frequency setting
command RAM (RY21)
RST M301
SET M302
Read reply code (RWr0) to D2 when the
MOV W0
D2
frequency setting completion (RX21) turns on.
RST Y1021
Turn off the frequency setting command RAM
(RY21)
RST M302
END
PROGRAMMING EXAMPLES
page
76)
8
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

800 series

Table of Contents