PROGRAMMING EXAMPLES
36
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: 0001
H
(hexadecimal)
Example: The output frequency of 60Hz is indicated 1770
H
(6000).
M9036
FROM 0000
H
00E2
H
M200
K4
2
K
X0000 X000F X0001 X0020
MOV 0001
H
D100
TO
0000
H
01E4
H
D100 1
K
FROM 0000
H
02E4
H
D1
1
K
M9036
TO
0000
H
0162
H
M100
K4
2
K
X0000 X000F X0001 X0020
26
36
65
75
SET
M112
RST
M112
M212
Read
setting
Sets the monitor code (01
H
)
of the output frequency to RWw4.
Switches on the monitor command (RY2C).
Monitoring stop.
Reads the remote input (RX20 to RX3F)
data of buffer memory to M200-M231.
M212: Reads output frequency (RWr
4
) to D1
when monitoring (RX2C) switches on.
Writes M100-M131 data to the remote
outputs (RY20 to RY3F) of buffer memory.