
PROGRAMMING EXAMPLES
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 160H to 1DFH).
The following program outputs the commands of forward rotation and middle speed signals to the inverter of station 2:
26 |
| X0000 X000F X0001 |
| SET | M100 | |||||||||
|
| |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
| SET | M103 |
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
| H | H | K4 | K |
|
|
|
|
|
|
|
|
|
|
| TO 0000 | 0162 | M100 | 1 |
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forward rotation command (RY20)
Writes the operation commands to buffer memory and outputs to the inverter.
M115 |
|
| M110 |
|
| M105 |
|
| M100 TO instruction | ||||||||
0 | 0 | 0 | 0 | * | * | 0 | * | * | * | * | 0 | 1 | 0 | 0 | 1 |
|
|
|
|
Address
160H RY0F to RY00
161H RY1F to RY10
162H RY2F to RY20
163H RY3F to RY30
Station 1
Station 2
[RY2F to RY2A] | [Operation commands] |
1DEH RY7EF to RY7E0
|
|
|
|
| Middle | Forward | 1: ON |
| Note: *: Enter 0 since they are reserved bits. |
| 0: OFF | ||||
|
| speed | rotation |
| |||
RY2F to RY2A | Operation commands |
| |||||
M110 | ..... |
|
| M100 | ..... Forward rotation command | ||
|
|
| |||||
M111 | ..... |
|
| M101 | ..... Reverse rotation command | ||
|
|
| |||||
M112 | ..... Monitor command | M102 | ..... High speed (RH) |
| |||
M113 | ..... Frequency setting command (RAM) | M103 | ..... Middle speed (RM) | ||||
M114 | ..... Frequency setting command (E2 PROM) | M104 | ..... Low speed (RL) |
| |||
M115 | ..... Instruction code execution request |
|
|
|
|
1DFH RY7FF to RY7F0
M105 ..... |
|
M106 ..... |
|
M107 ..... |
|
M108 ..... |
|
M109 ..... | MRS |
Station 64
35