PROGRAMMING EXAMPLES
6.5 Program Example for Monitoring the Output Frequency
Write programs as explained below to monitor the data of the inverters:
The following program reads the output frequency of station 2 inverter to D1.
Output frequency reading code number: 0001H (hexadecimal)
Example: The output frequency of 60Hz is indicated 1770H (6000).
| M9036 |
|
|
|
| H | H | K4 | K | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
26 |
|
|
|
|
|
|
|
|
|
|
|
|
| FROM 0000 | 00E2 | M200 | 2 | |
|
|
|
|
|
|
|
|
|
|
|
| |||||||
| X0000 X000F X0001 X0020 |
|
|
|
|
|
| H |
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| MOV | 0001 | D100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
| Read |
|
|
|
| H | H |
| K | ||
|
|
|
|
|
|
|
| setting |
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
| TO | 0000 | 01E4 | D100 | 1 | |||
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| SET | M112 |
|
|
|
|
|
|
|
|
|
|
| M212 |
|
| |||||
|
|
|
|
|
|
|
|
|
|
| H | H |
| K | ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
| FROM 0000 | 02E4 | D1 | 1 | |
| M9036 |
|
|
| ||||||||||||||
|
|
|
|
| H | H | K4 | K | ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
65 |
|
|
|
|
|
|
|
|
|
|
|
|
| TO | 0000 | 0162 | M100 | 2 |
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
| X0000 X000F X0001 X0020 |
|
|
|
|
|
|
|
| |||||||||
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| RST | M112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reads the remote input (RX20 to RX3F) data of buffer memory to
Sets the monitor code (01H)
of the output frequency to RWw4.
Switches on the monitor command (RY2C).
M212: Reads output frequency (RWr4) to D1 when monitoring (RX2C) switches on.
Writes
Monitoring stop.
36