Mitsubishi Electronics FR-E5NC Marine Battery User Manual


 
PROGRAMMING EXAMPLES
35
6.4 Program Example for Setting the Operation Commands
Write a program as explained below to write the inverter operation commands to the master station buffer memory:
The inverter is operated in accordance with the operation commands written to the remote outputs (addresses 160
H
to
1DF
H
).
The following program outputs the commands of forward rotation and middle speed signals to the inverter of station 2:
SET M103
SET M100
TO 0000
H
0162
H
M100 1
K
X0000 X000F X0001
26
K4
Forward rotation command (RY20)
Middle-speed command (RY23)
Writes the operation commands to buffer
memory and outputs to the inverter.
0 1 0 0 1
M115 M110 M105 M100
1: ON
0: OFF
RY0F to RY00160
H
RY1F to RY10161
H
1DE
H
RY2F to RY20
RY3F to RY30
RY7EF to RY7E0
RY7FF to RY7F01DF
H
162
H
163
H
[RY2F to RY2A] [Operation commands]
Note: : Enter 0 since they are reserved bits.
TO instruction
Address
Station 1
Station 2
Station 64
** *
*
M100 ..... Forward rotation command
M101 ..... Reverse rotation command
M102 ..... High speed (RH)
M103 ..... Middle speed (RM)
M104 ..... Low speed (RL)
M105 .....
M106 .....
M107 .....
M108 .....
M109 ..... MRS
Operation commands
0000
***
0
M110 .....
M111 .....
M112 ..... Monitor command
M113 ..... Frequency setting command (RAM)
M114 ..... Frequency setting command (E PROM)
M115 ..... Instruction code execution request
RY2F to RY2A
Forward
rotation
Middle
speed
2