E658130
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.
X0 |
|
| X0F |
|
| X1 |
| SW80.0 |
| ( M0) |
|
|
|
| Check the ready of the Station 1 | |||||||||||||
|
|
|
|
|
|
|
| |||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
M0 |
|
|
|
| X20 |
|
|
|
|
|
|
|
|
|
| [ PLS |
| M300] |
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
M300 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| [ SET | M301] |
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
M301 |
| X100F |
|
|
|
|
|
|
|
|
|
|
|
| Write trip history No.1, No.2 read | |||||||||||||
|
|
|
|
|
| [ MOV H74 | W102] |
| ||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| code (H74) to RWw2. | ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| [ SET |
| Y100F] |
|
|
| Turn on the instruction code execution | ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| request (RY0F) | |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| [ RST |
| M301] |
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
M302 |
| X100F |
|
|
|
|
|
|
|
|
| [ SET |
| M302] |
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
| [ MOV | W2 | D1] |
| Read alarm data (RWr3) and reply code | ||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| (RWr2) to D1 and D2 when the |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| [ MOV | W3 | D2] |
|
|
| instruction code execution completion | |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| flag (RX0F) turns on. | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| [ RST | Y100F] |
|
|
| Turn off the instruction code execution | |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| request (RY0F) | ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[RST M302]
[ END]
Example
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)
Past trip code
" Over speed fault "
(0EH)
Current trip code
ol2(Error code: 0EH)
" Motor overload "
Refer to 5.5.9 for detail. | } |
- 44 -