E658130
- 44 -
6.8.
Program example for trip information reading
Example 8 shows
a ladder logic to
read the trip information of station 1 inverter to D1.
Trip history No. 1, No. 2 reading code number: 74H (hexadecimal)
The reply code at the time of instruction code execution is set to D2.
For example of trip information
Read dara: 2D0EH
b15
b8 b7
b0
0
0
1
0
1
1
0
1
0
0
0
0
1
1
1
0
(2DH)
(0EH)
Past trip code
Current
trip code
e-13
(
Error code
: 2DH)
ol2
(
Error code
: 0EH)
" Over speed fault "
" Motor overload "
Refer to 5.5.9 for detail.
}
X0
X0F X1
( M0)
Check the ready of the Station 1
SW80.0
M0
X20
[ PLS M300]
M300
[ SET M301]
M301
X100F
[ MOV H74 W102]
[ SET Y100F]
[ RST M301]
[ SET M302]
M302
X100F
[ MOV W2 D1]
[ RST Y100F]
[ RST M302]
[ END]
[ MOV W3 D2]
Write trip history No.1, No.2 read
code (H74) to RWw2.
Turn on the instruction code execution
request (RY0F)
Read alarm data (RWr3) and reply code
(RWr2) to D1 and D2 when the
instruction code execution completion
flag (RX0F) turns on.
Turn off the instruction code execution
request (RY0F)
Example