EasyManua.ls Logo

Mitsubishi FR-E520-0.1KN - Operation Mode Setting Program Example

Mitsubishi FR-E520-0.1KN
193 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
60
3.4.3 Operation mode setting program example
Write programs as explained below to write various data to the inverters:
(
1
)
Operation mode switching program example
1) The following program changes the operation mode of station 2 inverter to CC-Link
operation.
Operation mode writing code number: FB
H
(hexadecimal)
CC-Link operation set data: 0000
H
(hexadecimal) (Refer to page 57.)
The reply code at the time of instruction code execution is set to D2. (Refer to
page 58.)
SET M303
M9036
FROM 0000 00E2 M200 2
PLS M302
M303
FROM 0000 02E6 D2 1
HH K
MOV 00FB
H
D100
TO 0000 01E6 D100 2
HH K
26
46
X0000 X000F X0001 X0020
M302
HH KK4
SET M115
M215
67
RST M115
RST M303
TO 0000 0162 M100
2
HHK4K
M9036
88
36
44
M202
MOV 0000
H
D101
Switches on the instruction code
execution request (RY2F).
Switches off the instruction code
execution request (RY2F).
Reads the remote input (RX20 to RX3F)
data of buffer memory to M200-M231.
Writes operation mode writing code (FB
H
)
to RWw
6
and set data (0000
H
) to RWw
7
.
Reads reply code (RWr
6
) to D2 when
the instruction code execution completion
(RX2F) switches on.
Writes M100-M131 data to the remote
outputs (RY20 to RY3F) of buffer memory.
Write setting Inverter running
*The switching result is stored into D2.
D2 = 0000
H
..........Normal completion of switching
0001
H
..........Write error
0002
H
..........Parameter selection error
0003
H
..........Setting range error
2) Operation mode setting
Code number: FB
H
Set data......... 0000
H
: CC-Link operation
0002
H
: PU operation
Note: PU operation cannot be set from the PLC.
The reply code at the time of instruction code execution is set to D2. (Refer to
page 58.)
3

Table of Contents

Related product manuals