68
SAM-0017-A Manual for Insulation Monitoring System Sample Ladder Program of MELSEC-Q Series (Insulation Monitoring Module QE82LG) MITSUBISHI ELECTRIC CORPORATION

Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Manual for Insulation Monitoring System

Sample Ladder Program of MELSEC-Q Series

(Insulation Monitoring Module QE82LG)

MITSUBISHI ELECTRIC CORPORATION

Page 2: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

- 2 - SAM-0017-A

Contents

1. Revision History..................................................................................................................................................................... - 3 -

1. 1 Sample Ladder Program Instruction.......................................................................................................................... - 3 -

1. 2 Ladder Program.......................................................................................................................................................... - 3 -

1. 3 Device List.................................................................................................................................................................... - 3 -

2. Overview.................................................................................................................................................................................. - 4 -

3. Sample Ladder Program...................................................................................................................................................... - 5 -

Page 3: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

- 3 - SAM-0017-A

1. Revision History

1. 1 Sample Ladder Program Instruction

Revision Date * Control Number Content May 27, 2011 SAM-0017 First edition May 18, 2012 SAM-0017-A Second edition: modified logics

* Control number is on the right bottom corner.

1. 2 Ladder Program

Revision Date * Control Number Content May 27, 2011 SAF-0015 First edition May 18, 2012 SAF-0015-A Second edition: modified logics

* Control number is the same as the file name.

1. 3 Device List

Revision Date * Control Number Content May 27, 2011 SAM-0016 First edition

* Control number is on the right bottom corner of the supplemental document.

Page 4: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

- 4 - SAM-0017-A

2. Overview

This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

Series QE82LG Insulation Monitoring Module.

Refer to the supplemental material (SAM-0016) for details of devices used in the sample.

For the list of devices, software, and system configuration to which the sample screens and sample program

apply, refer to Section 2 Overview in the screen instruction manual (SAM-0015-□).

Page 5: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

- 5 - SAM-0017-A

3. Sample Ladder Program

This section describes instructions for the sample ladder program of the insulation monitoring system.

For more details, refer to the sample ladder program on next pages.

The program consists of the following contents.

No. Start Step

End Step

Program Contents

1 0 37 Migrate the index register being used in other programs.

2 38 723 Read clock data, check subsequent data necessity in 1 scan after RUN.

3 724 1023 Issue PLS for data switching. 4 1024 1088 Set the I/O slot of QE82LG. 5 1089 1136 Instruct QE82LG on data reset signals. 6 1137 1187 Read the present value data.

7 1188 1301 Determine the maximum value of 10-second data and temporarily store the data.

8 1302 1642 Transition processing when switching 10-second data period.

9 1643 1781 Store 10-second data in HourlyDATATable. 10 1782 1946 Detect the maximum value of the period for HourlyGraph. 11 1947 2025 Store scale for HourlyGraph. 12 2026 2362 Transition processing when switching 5-minute data period.13 2363 2634 Store 5-minute data in DailyDATATable. 14 2635 2799 Detect the maximum value of the period for DailyGraph. 15 2800 2877 Store scale for DailyGraph. 16 2878 3054 Transition processing when switching 2-hour data period. 17 3055 3328 Store 2-hour data in DailyDATATable. 18 3329 3493 Detect the maximum value of the period for MonthlyGraph. 19 3494 3572 Store scale for MonthlyGraph. 20 3573 3748 Transition processing when switching daily data period. 21 3749 4033 Store daily data in DailyDATATable. 22 4034 4174 Detect the maximum value of the period for YearlyGraph. 23 4175 4253 Store scale for YearlyGraph. 24 4254 4304 Read the maximum value from QE82LG. 25 4305 4412 Check the alarm occurrence status on QE82LG.

26 4413 4598 Read date/time when the maximum value occurred in elements of each CH from QE82LG.し

27 4599 4725 Transition processing by switching period of alarm occurrence count data.

28 4726 4842 Read the alarm occurrence count, store the data in DATATable.

29 4843 4923 Store GraphScale for alarm occurrence count. 30 4924 4974 Write setting parameters to QE82LG. 31 4975 5022 Read the present parameter data from QE82LG. 32 5023 5056 Restore the index register being used in other programs.

33 5057 5052 Read the clock data for use after recovering from a blackout.

Page 6: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Migrate the index register being used in other programs.

0 SM403

After RUN, only 1 scan OFF

< ZR17000Index register migration count

K2 ZPUSH ZR17000Index register migration count

38 SM400

Always ON

DATERD ZR17060Present year

= K61 D8001OverLap Window Show Device

BMOV ZR17060Present year

ZR17090For changing present year

K6

M8050

Clock chg PLS, forced data del.

DATEWR ZR17090For changing present year

-6-

Page 7: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Judge elapsed time after blackout in 1 scan after RUN.

Compare current clock data and previously saved clock data.

<Years elapsed bef./aft. blackout>

58 SM402

After RUN, only 1 scan ON

- ZR17060Present year

ZR17050Comp. when pres. year restored.

ZR17600Comp. aft. blkout: elapsed year

<Months elapsed bef/aft blackout >

- ZR17061Present month

ZR17051Comp. when pres. mon. restored.

ZR17601Comp. aft. blkout: elapsed month

<Days elapsed bef./aft. blackout >

- ZR17062Present date

ZR17052Comp. when pres. date restored.

ZR17602Comp. aft. blkout: elapsed day

<Hours elapsed bef./aft. blackout>

- ZR17063Present hour

ZR17053Comp. when pres. hour restored.

ZR17603Comp. aft. blkout: elapsed hour

<Minutes elapsed bef/aft blackout>

- ZR17064Present minute

ZR17054Comp. when pres. min. restored.

ZR17604Comp. aft. blkout: elapsed min.

<Seconds elapsed bef/aft blackout>

- ZR17065Presentn second

ZR17055Comp. when pres. sec. restored.

ZR17605Comp. aft. blkout: elapsed sec.

10Sec DATA ClearTiming Passege Check

270 SM402

After RUN, only 1 scan ON

/ ZR17065Presentn second

K10 ZR17606Check tens digit of pres. second

/ ZR17055Comp. when pres. sec. restored.

K10 ZR17608Check tens digit of past second

-7-

Page 8: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Judge time elasped during blackout.

303 SM402

After RUN, only 1 scan ON

>= ZR17600Comp. aft. blkout: elapsed year

K1 M80301 year or more after blackout

>= ZR17601Comp. aft. blkout: elapsed month

K1 M80311 month or more after blackout

>= ZR17602Comp. aft. blkout: elapsed day

K1 M80321 day or more after blackout

>= ZR17603Comp. aft. blkout: elapsed hour

K1 M80331 hour or more after blackout

>= ZR17604Comp. aft. blkout: elapsed min.

K1 M80341 minute or more after blackout

>= ZR17605Comp. aft. blkout: elapsed sec.

K10 M803510s or more after blackout

<> ZR17606Check tens digit of pres. second

ZR17608Check tens digit of past second

Calculate the number of DATATable transitions.

366 SM402

After RUN, only 1 scan ON

MOV ZR17600Comp. aft. blkout: elapsed year

ZR17770Data transition count: Yearly

>= K0 ZR17600Comp. aft. blkout: elapsed year

MOV K1 ZR17770Data transition count: Yearly

> ZR17600Comp. aft. blkout: elapsed year

K2 MOV K2 ZR17770Data transition count: Yearly

-8-

Page 9: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

412 SM403

After RUN, only 1 scan OFF

MOV K1 ZR17770Data transition count: Yearly

416 SM402

After RUN, only 1 scan ON

MOV ZR17601Comp. aft. blkout: elapsed month

ZR17771Data transition count: Monthly

>= K0 ZR17601Comp. aft. blkout: elapsed month

MOV K1 ZR17771Data transition count: Monthly

<2 trans even if a year passed >

> ZR17601Comp. aft. blkout: elapsed month

K2 MOV K2 ZR17771Data transition count: Monthly

>= ZR17600Comp. aft. blkout: elapsed year

K1

459 SM403

After RUN, only 1 scan OFF

MOV K1 ZR17771Data transition count: Monthly

-9-

Page 10: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

463 SM402

After RUN, only 1 scan ON

MOV ZR17602Comp. aft. blkout: elapsed day

ZR17772Data transition count: Daily

>= K0 ZR17602Comp. aft. blkout: elapsed day

MOV K1 ZR17772Data transition count: Daily

<2 trans even if a yr/mon. passed>

> ZR17602Comp. aft. blkout: elapsed day

K2 MOV K2 ZR17772Data transition count: Daily

>= ZR17600Comp. aft. blkout: elapsed year

K1

>= ZR17601Comp. aft. blkout: elapsed month

K1

511 SM403

After RUN, only 1 scan OFF

MOV K1 ZR17772Data transition count: Daily

-10-

Page 11: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

515 SM402

After RUN, only 1 scan ON

MOV ZR17603Comp. aft. blkout: elapsed hour

ZR17773Data transition count: Hourly

>= K0 ZR17603Comp. aft. blkout: elapsed hour

MOV K1 ZR17773Data transition count: Hourly

<2 trans even a yr/mon/day passed>

> ZR17603Comp. aft. blkout: elapsed hour

K2 MOV K2 ZR17773Data transition count: Hourly

>= ZR17600Comp. aft. blkout: elapsed year

K1

>= ZR17601Comp. aft. blkout: elapsed month

K1

>= ZR17602Comp. aft. blkout: elapsed day

K1

567 SM403

After RUN, only 1 scan OFF

MOV K1 ZR17773Data transition count: Hourly

-11-

Page 12: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Judge whether each DATATable can be deleted or not.

<PLS occurs after 1 year or more.>

571 SM402

After RUN, only 1 scan ON

M8030

1 year or more after blackout

PLS M80401yr data aft BO, forced proc.PLS

<PLS occurs after 1 month or more>

M8031

1 month or more after blackout

PLS M80411mon data aft BO, forcd proc.PLS

M8030

1 year or more after blackout

<PLS occurs after 1 day or more. >

M8032

1 day or more after blackout

PLS M80421day data aft BO, forcd proc.PLS

M8031

1 month or more after blackout

M8030

1 year or more after blackout

<PLS occurs after 1 hour or more.>

M8033

1 hour or more after blackout

PLS M80431hr data aft BO, forced proc.PLS

M8032

1 day or more after blackout

M8031

1 month or more after blackout

-12-

Page 13: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

M8030

1 year or more after blackout

<PLS occurs after 10s or more. >

M8035

10s or more after blackout

PLS M804410s data aft BO, forced proc.PLS

M8034

1 minute or more after blackout

M8033

1 hour or more after blackout

M8032

1 day or more after blackout

M8031

1 month or more after blackout

M8030

1 year or more after blackout

-13-

Page 14: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Graph data: calculate clock data to calculate delimiter.

<To calc. 2-hour data delimiter >

724 SM403

After RUN, only 1 scan OFF

SM401

Always OFF

/ ZR17063Present hour

K2 ZR17070Quot. to extract pres.hr 1 digit

<To calc. 5-min data delimiter >

SM401

Always OFF

/ ZR17064Present minute

K5 ZR17072Quot. to extract pres.min. 1dig.

<To calculate 10s data delimiter >

/ ZR17065Presentn second

K10 ZR17074Quot. to extract pres.sec 1digit

<10s data delimiter PLS >

= K9 ZR17075Rmndr to extract pres.sec 1digit

PLS M8020Clock data 9-minute PLS

In normaly operation, PLS occurs at 00:00:00 on January 1.

849 SM403

After RUN, only 1 scan OFF

= K1 ZR17061Present month

= K1 ZR17062Present date

= K0 ZR17063Present hour

K0

K0 = K0 ZR17064Present minute

= K0 ZR17065Presentn second

PLS M8021Normal operation year change PLS

In normal operation, PLS occurs at 00:00:00 on 1 day.

903 SM403

After RUN, only 1 scan OFF

= K1 ZR17062Present date

= K0 ZR17063Present hour

= K0 ZR17064Present minute

K0

K0 = K0 ZR17065Presentn second

PLS M8022Normal operation month chnge PLS

In normal operation, PLS occurs at 00:00:00.

951 SM403

After RUN, only 1 scan OFF

= K0 ZR17063Present hour

= K0 ZR17064Present minute

= K0 ZR17065Presentn second

PLS M8023Normal operation day change PLS

-14-

Page 15: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

In normal operation, PLS occurs at 00:00.

990 SM403

After RUN, only 1 scan OFF

= K0 ZR17064Present minute

= K0 ZR17065Presentn second

PLS M8024Normal operation time change PLS

Set the head I/O of QE82LG.

<Ex: If X20 or more, chng to H20.>

1024 SM400

Always ON

MOV H0 ZR17100QE82LG Unit I/O No. (Xn, Yn)

MOV ZR17100QE82LG Unit I/O No. (Xn, Yn)

Z2

<Set upp 2 dgts of 3-dgt I/O No. >

MOV H0 ZR17101QE82LG Unit I/O No. (Un)

MOV ZR17101QE82LG Unit I/O No. (Un)

Z4

-15-

Page 16: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

QE82LG reset commands

1089 X0Z2

QE82LG UnitRDY

M8011

QE82LG alarm reset request

Y1Z2QE82LG CH1 alarm reset request

Y5Z2QE82LG CH2 alarm reset request

M8012

QE82LG CH1 max. value clear req.

Y0AZ2QE82LG CH1 max. value CLR req.

Y0AZ2

QE82LG CH1 max. value CLR req.

X0AZ2

QE82LG CH1 max.valueCLR comp.flg

M8013

QE82LG CH2 max. value clear req.

Y0CZ2QE82LG CH2 max. value CLR req

Y0CZ2

QE82LG CH2 max. value CLR req

X0CZ2

QE82LG CH2 max.valueCLR comp.flg

M8022

Normal operation month chnge PLS

Y0BZ2QE82LG CH1 alarm count RST req.

M8041

1mon data aft BO, forcd proc.PLS

Y0BZ2

QE82LG CH1 alarm count RST req.

X0BZ2

QE82LG CH1 alarm count RST comp.

M8022

Normal operation month chnge PLS

Y0DZ2QE82LG CH2 alarm count RST req.

-16-

Page 17: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

M8041

1mon data aft BO, forcd proc.PLS

Y0DZ2

QE82LG CH2 alarm count RST req.

X0DZ2

QE82LG CH2 alarm count RST comp.

Read the present value of leak current in each channel.

1137 X0Z2

QE82LG UnitRDY

MOV U0Z4\G1100CH1 Io present value

ZR17110CH1 Io present value

MOV U0Z4\G1150CH1 Ior present value

ZR17112CH1 Ior present value

MOV U0Z4\G2100CH2 Io present value

ZR17114CH2 Io present value

MOV U0Z4\G2150CH2 Ior present value

ZR17116CH2 Ior present value

Store the max. 10s data for 4 elements in TEMP area.

1188 SM400

Always ON

RST Z0

RST Z1

RST Z3

1223 FOR K4

-17-

Page 18: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

1225 X0Z2

QE82LG UnitRDY

= K0 ZR17075Rmndr to extract pres.sec 1digit

V0Z0

0-second PLS

> ZR17110Z3CH1 Io present value

ZR17300Z1CH1 Io 10-second data max. value

K0

= K1 ZR17075Rmndr to extract pres.sec 1digit

V1Z0

1-second PLS

= K2 ZR17075Rmndr to extract pres.sec 1digit

V2Z0

2-second PLS

= K3 ZR17075Rmndr to extract pres.sec 1digit

V3Z0

3-second PLS

= K4 ZR17075Rmndr to extract pres.sec 1digit

V4Z0

4-second PLS

= K5 ZR17075Rmndr to extract pres.sec 1digit

V5Z0

5-second PLS

= K6 ZR17075Rmndr to extract pres.sec 1digit

V6Z0

6-second PLS

= K7 ZR17075Rmndr to extract pres.sec 1digit

V7Z0

7-second PLS

= K8 ZR17075Rmndr to extract pres.sec 1digit

V8Z0

8-second PLS

= K9 ZR17075Rmndr to extract pres.sec 1digit

V9Z0

9-second PLS

-18-

Page 19: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

K0 MOV ZR17110Z3CH1 Io present value

ZR17300Z1CH1 Io 10-second data max. value

1295 SM400

Always ON

+ K10 Z0

INC Z1

+ K2 Z3

1301 NEXT

Execute BMOV of HourlyDATA for the number of DATA transitions.

1302 FOR ZR17773Data transition count: Hourly

-19-

Page 20: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

HourGraphDATA transition

1338 M8024

Normal operation time change PLS

BMOV ZR0CH1 Io 10s DATA max. 00:00NOW

ZR400CH1 Io 10s DATA max. 00:00 OLD

K400

M8043

1hr data aft BO, forced proc.PLS

BMOV ZR4000CH1 Ior 10s DATA max. 00:00NOW

ZR4400CH1 Ior 10s DATA max. 00:00OLD

K400

BMOV ZR8000CH2 Io 10s DATA max. 00:00NOW

ZR8400CH2 Io 10s DATA max. 00:00OLD

K400

BMOV ZR12000CH2 Ior 10s DATA max. 00:00NOW

ZR12400CH2 Ior 10s DATA max. 00:00OLD

K400

<CH1 Io DATATable Clear >

FMOV K-1 ZR0CH1 Io 10s DATA max. 00:00NOW

K400

<CH1 Ior DATATable Clear >

FMOV K-1 ZR4000CH1 Ior 10s DATA max. 00:00NOW

K400

<CH2 Io DATATable Clear >

FMOV K-1 ZR8000CH2 Io 10s DATA max. 00:00NOW

K400

<CH2 Ior DATATable Clear >

FMOV K-1 ZR12000CH2 Ior 10s DATA max. 00:00NOW

K400

1452 NEXT

-20-

Page 21: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

<CH1 Io DATATable Clear >

1453 M8050

Clock chg PLS, forced data del.

FMOV K-1 ZR0CH1 Io 10s DATA max. 00:00NOW

K400

<CH1 Io DATATable Clear >

FMOV K-1 ZR400CH1 Io 10s DATA max. 00:00 OLD

K400

<CH1 Ior DATATable Clear >

FMOV K-1 ZR4000CH1 Ior 10s DATA max. 00:00NOW

K400

<CH1 Ior DATATable Clear >

FMOV K-1 ZR4400CH1 Ior 10s DATA max. 00:00OLD

K400

<CH2 Io DATATable Clear >

FMOV K-1 ZR8000CH2 Io 10s DATA max. 00:00NOW

K400

<CH2 Io DATATable Clear >

FMOV K-1 ZR8400CH2 Io 10s DATA max. 00:00OLD

K400

<CH2 Ior DATATable Clear >

FMOV K-1 ZR12000CH2 Ior 10s DATA max. 00:00NOW

K400

<CH2 Ior DATATable Clear >

FMOV K-1 ZR12400CH2 Ior 10s DATA max. 00:00OLD

K400

-21-

Page 22: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

1602 SM403

After RUN, only 1 scan OFF

> K0 ZR770CH1 Io HourlyDATA Time StampOLD

FMOV K0 ZR770CH1 Io HourlyDATA Time StampOLD

K6

> K0 ZR4770CH1 Ior HourlyDATA Time StampOLD

FMOV K0 ZR4770CH1 Ior HourlyDATA Time StampOLD

K6

> K0 ZR8770CH2 Io HourlyDATA Time StampOLD

FMOV K0 ZR8770CH2 Io HourlyDATA Time StampOLD

K6

> K0 ZR12770CH2 Ior HourlyDATA Time StampOLD

FMOV K0 ZR12770CH2 Ior HourlyDATA Time StampOLD

K6

Calc. storage dest. in HourGraphDATATable using pres. min., sec.

1643 SM400

Always ON

RST Z0

* ZR17064Present minute

K6 ZR1731010s DATA storage dest. calc.TMP1

/ ZR17065Presentn second

K10 ZR1731210s DATA storage dest. calc.TMP3

+ ZR1731010s DATA storage dest. calc.TMP1

ZR1731210s DATA storage dest. calc.TMP3

ZR1731410s DATA storage dest. offset

MOV ZR1731410s DATA storage dest. offset

Z0

-22-

Page 23: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Store DATA for HourGraph.

1702 M8020

Clock data 9-minute PLS

MOV ZR17300CH1 Io 10-second data max. value

ZR0Z0CH1 Io 10s DATA max. 00:00NOW

MOV ZR17301CH1 Ior 10-second data max.value

ZR4000Z0CH1 Ior 10s DATA max. 00:00NOW

MOV ZR17302CH2 Io 10-second data max. value

ZR8000Z0CH2 Io 10s DATA max. 00:00NOW

MOV ZR17303CH2 Ior 10-second data max.value

ZR12000Z0CH2 Ior 10s DATA max. 00:00NOW

1734 SM403

After RUN, only 1 scan OFF

BMOV ZR17050Comp. when pres. year restored.

ZR370CH1 Io HourlyDATA Time Stamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR4370CH1 Ior HourlyDATA Time Stamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR8370CH2 Io Hourly DATA Time Stamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR12370CH2 Ior Hourly DATA Time Stamp

K6

<10s DATATable initialization >

1759 M8020

Clock data 9-minute PLS

FMOV K0 ZR17300CH1 Io 10-second data max. value

K4

M8044

10s data aft BO, forced proc.PLS

-23-

Page 24: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Calculate the maximum period value for graph display.

1782 SM403

After RUN, only 1 scan OFF

MAX ZR0CH1 Io 10s DATA max. 00:00NOW

ZR17612CH1 Io 10s data max. value NOW

K360

MAX ZR400CH1 Io 10s DATA max. 00:00 OLD

ZR17615CH1 Io 10s data max. value OLD

K360

MAX ZR4000CH1 Ior 10s DATA max. 00:00NOW

ZR17652CH1 Ior 10s data max. value NOW

K360

MAX ZR4400CH1 Ior 10s DATA max. 00:00OLD

ZR17655CH1 Ior 10s data max. value OLD

K360

MAX ZR8000CH2 Io 10s DATA max. 00:00NOW

ZR17692CH2 Io 10s data max. value NOW

K360

MAX ZR8400CH2 Io 10s DATA max. 00:00OLD

ZR17695CH2 Io 10s data max. value OLD

K360

MAX ZR12000CH2 Ior 10s DATA max. 00:00NOW

ZR17732CH2 Ior 10s data max. value NOW

K360

MAX ZR12400CH2 Ior 10s DATA max. 00:00OLD

ZR17735CH2 Ior 10s data max. value OLD

K360

-24-

Page 25: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

If only -1 exists in DATATable, store 0.

1860 SM403

After RUN, only 1 scan OFF

>= K0 ZR17612CH1 Io 10s data max. value NOW

MOV K0 ZR17612CH1 Io 10s data max. value NOW

>= K0 ZR17615CH1 Io 10s data max. value OLD

MOV K0 ZR17615CH1 Io 10s data max. value OLD

>= K0 ZR17652CH1 Ior 10s data max. value NOW

MOV K0 ZR17652CH1 Ior 10s data max. value NOW

>= K0 ZR17655CH1 Ior 10s data max. value OLD

MOV K0 ZR17655CH1 Ior 10s data max. value OLD

>= K0 ZR17692CH2 Io 10s data max. value NOW

MOV K0 ZR17692CH2 Io 10s data max. value NOW

>= K0 ZR17695CH2 Io 10s data max. value OLD

MOV K0 ZR17695CH2 Io 10s data max. value OLD

>= K0 ZR17732CH2 Ior 10s data max. value NOW

MOV K0 ZR17732CH2 Ior 10s data max. value NOW

>= K0 ZR17735CH2 Ior 10s data max. value OLD

MOV K0 ZR17735CH2 Ior 10s data max. value OLD

-25-

Page 26: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

HourlyGraphScaleSetting

1947 SM400

Always ON

>= K0 ZR17610CH1 Io Hourly Graph Scale Lower

MOV K0 ZR17610CH1 Io Hourly Graph Scale Lower

>= K0 ZR17611CH1 Io Hourly Graph Scale Upper

MOV K100 ZR17611CH1 Io Hourly Graph Scale Upper

>= K0 ZR17650CH1 Ior Hourly Graph Scale Lower

MOV K0 ZR17650CH1 Ior Hourly Graph Scale Lower

>= K0 ZR17651CH1 Ior Hourly Graph Scale Upper

MOV K100 ZR17651CH1 Ior Hourly Graph Scale Upper

>= K0 ZR17690CH2 Io Hourly Graph Scale Lower

MOV K0 ZR17690CH2 Io Hourly Graph Scale Lower

>= K0 ZR17691CH2 Io Hourly Graph Scale Upper

MOV K100 ZR17691CH2 Io Hourly Graph Scale Upper

>= K0 ZR17730CH2 Ior Hourly Graph Scale Lower

MOV K0 ZR17730CH2 Ior Hourly Graph Scale Lower

>= K0 ZR17731CH2 Ior Hourly Graph Scale Upper

MOV K100 ZR17731CH2 Ior Hourly Graph Scale Upper

Execute BMOV daily for the number of DATA transitions.

2026 FOR ZR17772Data transition count: Daily

-26-

Page 27: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

DayGraphDATA transition

2058 M8023

Normal operation day change PLS

BMOV ZR800CH1 Io 5-min. DATA 00:00 NOW

ZR1200CH1 Io 5-min. DATA 00:00 OLD

K300

M8042

1day data aft BO, forcd proc.PLS

BMOV ZR4800CH1 Ior 5-min DATA 00:00 NOW

ZR5200CH1 Ior 5-min DATA 00:00 OLD

K300

BMOV ZR8800CH2 Io 5-min DATA 00:00 NOW

ZR9200CH2 Io 5-min DATA 00:00 OLD

K300

BMOV ZR12800CH2 Ior 5-min DATA 00:00 NOW

ZR13200CH2 Ior 5-min DATA 00:00 OLD

K300

<CH1 Io DATATable Clear >

FMOV K-1 ZR800CH1 Io 5-min. DATA 00:00 NOW

K300

<CH1 Ior DATATable Clear >

FMOV K-1 ZR4800CH1 Ior 5-min DATA 00:00 NOW

K300

<CH2 Io DATATable Clear >

FMOV K-1 ZR8800CH2 Io 5-min DATA 00:00 NOW

K300

<CH2 Ior DATATable Clear >

FMOV K-1 ZR12800CH2 Ior 5-min DATA 00:00 NOW

K300

2172 NEXT

-27-

Page 28: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

<CH1 Io DATATable Clear >

2173 M8050

Clock chg PLS, forced data del.

FMOV K-1 ZR800CH1 Io 5-min. DATA 00:00 NOW

K300

<CH1 Io DATATable Clear >

FMOV K-1 ZR1200CH1 Io 5-min. DATA 00:00 OLD

K300

<CH1 Ior DATATable Clear >

FMOV K-1 ZR4800CH1 Ior 5-min DATA 00:00 NOW

K300

<CH1 Ior DATATable Clear >

FMOV K-1 ZR5200CH1 Ior 5-min DATA 00:00 OLD

K300

<CH2 Io DATATable Clear >

FMOV K-1 ZR8800CH2 Io 5-min DATA 00:00 NOW

K300

<CH2 Io DATATable Clear >

FMOV K-1 ZR9200CH2 Io 5-min DATA 00:00 OLD

K300

<CH2 Ior DATATable Clear >

FMOV K-1 ZR12800CH2 Ior 5-min DATA 00:00 NOW

K300

<CH2 Ior DATATable Clear >

FMOV K-1 ZR13200CH2 Ior 5-min DATA 00:00 OLD

K300

-28-

Page 29: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

2322 SM403

After RUN, only 1 scan OFF

> K0 ZR1490CH1 Io Daily DATA Time StampOLD

FMOV K0 ZR1490CH1 Io Daily DATA Time StampOLD

K6

> K0 ZR5490CH1 Ior Daily DATA Time StampOLD

FMOV K0 ZR5490CH1 Ior Daily DATA Time StampOLD

K6

> K0 ZR9490CH2 Io Daily DATA Time StampOLD

FMOV K0 ZR9490CH2 Io Daily DATA Time StampOLD

K6

> K0 ZR13490CH2 Ior Daily DATA Time StampOLD

FMOV K0 ZR13490CH2 Ior Daily DATA Time StampOLD

K6

Calc. ref. dest. in HourGraphDATATable using present hr, min.

2363 SM400

Always ON

RST Z0

/ ZR17064Present minute

K5 ZR173205min data ref. dest. calc. TMP1

* ZR173205min data ref. dest. calc. TMP1

K30 ZR173225min data ref. dest. calc. TMP3

MOV K0 ZR173235min data ref. dest. calc. TMP4

MOV ZR173225min data ref. dest. calc. TMP3

Z0

-29-

Page 30: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Calc. storage dest. in DayGraphDATATable using pres. hr, min.

2417 SM400

Always ON

RST Z1

* ZR17063Present hour

K12 ZR173305min data storage dest.calc.TMP1

/ ZR17064Present minute

K5 ZR173325min data storage dest.calc.TMP3

+ ZR173305min data storage dest.calc.TMP1

ZR173325min data storage dest.calc.TMP3

ZR173345min data storage dest. Offset

MOV ZR173345min data storage dest. Offset

Z1

Always judge the maximum value from HourGraphDataTable.

CH1 Io 5-minute DATA

2475 SM403

After RUN, only 1 scan OFF

MAX ZR0Z0CH1 Io 10s DATA max. 00:00NOW

ZR17340CH1 Io 10s data max. value

K30

MOV ZR17340CH1 Io 10s data max. value

ZR800Z1CH1 Io 5-min. DATA 00:00 NOW

CH1 Ior 5-minute DATA

2528 SM403

After RUN, only 1 scan OFF

MAX ZR4000Z0CH1 Ior 10s DATA max. 00:00NOW

ZR17350CH1 Ior 10s data max. value

K30

MOV ZR17350CH1 Ior 10s data max. value

ZR4800Z1CH1 Ior 5-min DATA 00:00 NOW

-30-

Page 31: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

CH2 Io 5-minute DATA

2552 SM403

After RUN, only 1 scan OFF

MAX ZR8000Z0CH2 Io 10s DATA max. 00:00NOW

ZR17360CH2 Io 10s data max. value

K30

MOV ZR17360CH2 Io 10s data max. value

ZR8800Z1CH2 Io 5-min DATA 00:00 NOW

CH2 Ior 5-minute DATA

2575 SM403

After RUN, only 1 scan OFF

MAX ZR12000Z0CH2 Ior 10s DATA max. 00:00NOW

ZR17370CH2 Ior 10s data max. value

K30

MOV ZR17370CH2 Ior 10s data max. value

ZR12800Z1CH2 Ior 5-min DATA 00:00 NOW

DATA TimeStamp SET

2599 SM403

After RUN, only 1 scan OFF

BMOV ZR17050Comp. when pres. year restored.

ZR1090CH1 Io Daily DATA Time Stamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR5090CH1 Ior Daily DATA Time Stamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR9090CH2 Io DailyDATA Time Stamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR13090CH2 Ior Daily DATA Time Stamp

K6

-31-

Page 32: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Calculate the maximum period value for graph display.

2635 SM403

After RUN, only 1 scan OFF

MAX ZR800CH1 Io 5-min. DATA 00:00 NOW

ZR17622CH1 Io 5min data max. value NOW

K288

MAX ZR1200CH1 Io 5-min. DATA 00:00 OLD

ZR17625CH1 Io 5min data max. value OLD

K288

MAX ZR4800CH1 Ior 5-min DATA 00:00 NOW

ZR17662CH1 Ior 5min data max. value NOW

K288

MAX ZR5200CH1 Ior 5-min DATA 00:00 OLD

ZR17665CH1 Ior 5min data max. value OLD

K288

MAX ZR8800CH2 Io 5-min DATA 00:00 NOW

ZR17702CH2 Io 5min data max. value NOW

K288

MAX ZR9200CH2 Io 5-min DATA 00:00 OLD

ZR17705CH2 Io 5min data max. value OLD

K288

MAX ZR12800CH2 Ior 5-min DATA 00:00 NOW

ZR17742CH2 Ior 5min data max. value NOW

K288

MAX ZR13200CH2 Ior 5-min DATA 00:00 OLD

ZR17745CH2 Ior 5min data max. value OLD

K288

-32-

Page 33: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

If only -1 exists in DATATable, store 0.

2713 SM403

After RUN, only 1 scan OFF

>= K0 ZR17622CH1 Io 5min data max. value NOW

MOV K0 ZR17622CH1 Io 5min data max. value NOW

>= K0 ZR17625CH1 Io 5min data max. value OLD

MOV K0 ZR17625CH1 Io 5min data max. value OLD

>= K0 ZR17662CH1 Ior 5min data max. value NOW

MOV K0 ZR17662CH1 Ior 5min data max. value NOW

>= K0 ZR17665CH1 Ior 5min data max. value OLD

MOV K0 ZR17665CH1 Ior 5min data max. value OLD

>= K0 ZR17702CH2 Io 5min data max. value NOW

MOV K0 ZR17702CH2 Io 5min data max. value NOW

>= K0 ZR17705CH2 Io 5min data max. value OLD

MOV K0 ZR17705CH2 Io 5min data max. value OLD

>= K0 ZR17742CH2 Ior 5min data max. value NOW

MOV K0 ZR17742CH2 Ior 5min data max. value NOW

>= K0 ZR17745CH2 Ior 5min data max. value OLD

MOV K0 ZR17745CH2 Ior 5min data max. value OLD

-33-

Page 34: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

DailyGraphScaleSetting

2800 SM400

Always ON

>= K0 ZR17620CH1 Io Daily Graph Scale Lower

MOV K0 ZR17620CH1 Io Daily Graph Scale Lower

>= K0 ZR17621CH1 Io Daily Graph Scale Upper

MOV K100 ZR17621CH1 Io Daily Graph Scale Upper

>= K0 ZR17660CH1 Ior Daily Graph Scale Lower

MOV K0 ZR17660CH1 Ior Daily Graph Scale Lower

>= K0 ZR17661CH1 Ior Daily Graph Scale Upper

MOV K100 ZR17661CH1 Ior Daily Graph Scale Upper

>= K0 ZR17700CH2 Io Daily Graph Scale Lower

MOV K0 ZR17700CH2 Io Daily Graph Scale Lower

>= K0 ZR17701CH2 Io Daily Graph Scale Upper

MOV K100 ZR17701CH2 Io Daily Graph Scale Upper

>= K0 ZR17740CH2 Ior Daily Graph Scale Lower

MOV K0 ZR17740CH2 Ior Daily Graph Scale Lower

>= K0 ZR17741CH2 Ior Daily Graph Scale Upper

MOV K100 ZR17741CH2 Ior Daily Graph Scale Upper

Execute BMOV monthly for the number of DATA transitions.

2878 FOR ZR17771Data transition count: Monthly

-34-

Page 35: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

MonthGraphDATA transition

2911 M8022

Normal operation month chnge PLS

BMOV ZR1500CH1 Io 2hr DATA 1day 00:00NOW

ZR1900CH1 Io 2hr DATA 1 day 00:00OLD

K400

M8041

1mon data aft BO, forcd proc.PLS

BMOV ZR5500CH1 Ior 2hr DATA 1 day 00:00NOW

ZR5900CH1 Ior 2hr DATA 1 day 00:00OLD

K400

BMOV ZR9500CH2 Io 2hr DATA 1 day 00:00NOW

ZR9900CH2 Io 2hr DATA 1 day 00:00OLD

K400

BMOV ZR13500CH2 Ior 2hr DATA 1 day 00:00NOW

ZR13900CH2 Ior 2hr DATA 1 day 00:00OLD

K400

FMOV K-1 ZR1500CH1 Io 2hr DATA 1day 00:00NOW

K400

FMOV K-1 ZR5500CH1 Ior 2hr DATA 1 day 00:00NOW

K400

FMOV K-1 ZR9500CH2 Io 2hr DATA 1 day 00:00NOW

K400

FMOV K-1 ZR13500CH2 Ior 2hr DATA 1 day 00:00NOW

K400

2972 NEXT

-35-

Page 36: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

2973 M8050

Clock chg PLS, forced data del.

FMOV K-1 ZR1500CH1 Io 2hr DATA 1day 00:00NOW

K400

FMOV K-1 ZR1900CH1 Io 2hr DATA 1 day 00:00OLD

K400

FMOV K-1 ZR5500CH1 Ior 2hr DATA 1 day 00:00NOW

K400

FMOV K-1 ZR5900CH1 Ior 2hr DATA 1 day 00:00OLD

K400

FMOV K-1 ZR9500CH2 Io 2hr DATA 1 day 00:00NOW

K400

FMOV K-1 ZR9900CH2 Io 2hr DATA 1 day 00:00OLD

K400

FMOV K-1 ZR13500CH2 Ior 2hr DATA 1 day 00:00NOW

K400

FMOV K-1 ZR13900CH2 Ior 2hr DATA 1 day 00:00OLD

K400

-36-

Page 37: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

3014 SM403

After RUN, only 1 scan OFF

> K0 ZR2280CH1 Io Monthly DATATimeStampOLD

FMOV K0 ZR2280CH1 Io Monthly DATATimeStampOLD

K6

> K0 ZR6280CH1 Ior Monthly DATATimeStampOLD

FMOV K0 ZR6280CH1 Ior Monthly DATATimeStampOLD

K6

> K0 ZR10280CH2 Io Monthly DATATimeStampOLD

FMOV K0 ZR10280CH2 Io Monthly DATATimeStampOLD

K6

> K0 ZR14280CH2 Ior Monthly DATATimeStampOLD

FMOV K0 ZR14280CH2 Ior Monthly DATATimeStampOLD

K6

Calc. reference dest. in DayGraphDATATable using present hour.

3055 SM400

Always ON

RST Z0

/ ZR17063Present hour

K2 ZR17380DayDATA ref. dest. calc. TEMP1

* ZR17380DayDATA ref. dest. calc. TEMP1

K24 ZR17382DayDATA ref. dest. offset

MOV K0 ZR17383DayDATA ref. dest. calc. TEMP4

MOV ZR17382DayDATA ref. dest. offset

Z0

-37-

Page 38: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Calc. storage dest. in MonthGraphDATATable using pres. day, hour

3109 SM400

Always ON

RST Z1

- ZR17062Present date

K1 ZR17390MonthData storage dest.calc.TMP1

* ZR17390MonthData storage dest.calc.TMP1

K12 ZR17392MonthData storage dest.calc.TMP3

/ ZR17063Present hour

K2 ZR17394MonthData storage dest.calc.TMP4

+ ZR17392MonthData storage dest.calc.TMP3

ZR17394MonthData storage dest.calc.TMP4

ZR17396MonthData storage dest. offset

MOV ZR17396MonthData storage dest. offset

Z1

Always judge the maximum value from DayGraphDataTable.

CH1 Io 2-hour DATA

3174 SM403

After RUN, only 1 scan OFF

MAX ZR800Z0CH1 Io 5-min. DATA 00:00 NOW

ZR17400CH1 Io 5min data max. value

K24

MOV ZR17400CH1 Io 5min data max. value

ZR1500Z1CH1 Io 2hr DATA 1day 00:00NOW

-38-

Page 39: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

CH1 Ior 2-hour DATA

3225 SM403

After RUN, only 1 scan OFF

MAX ZR4800Z0CH1 Ior 5-min DATA 00:00 NOW

ZR17410CH1 Ior 5min data max. value

K24

MOV ZR17410CH1 Ior 5min data max. value

ZR5500Z1CH1 Ior 2hr DATA 1 day 00:00NOW

CH2 Io 2-hour DATA

3248 SM403

After RUN, only 1 scan OFF

MAX ZR8800Z0CH2 Io 5-min DATA 00:00 NOW

ZR17420CH2 Io 5min data max. value

K24

MOV ZR17420CH2 Io 5min data max. value

ZR9500Z1CH2 Io 2hr DATA 1 day 00:00NOW

CH2 Ior 2-hour DATA

3270 SM403

After RUN, only 1 scan OFF

MAX ZR12800Z0CH2 Ior 5-min DATA 00:00 NOW

ZR17430CH2 Ior 5min data max. value

K24

MOV ZR17430CH2 Ior 5min data max. value

ZR13500Z1CH2 Ior 2hr DATA 1 day 00:00NOW

-39-

Page 40: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

DATA TimeStamp SET

3293 SM403

After RUN, only 1 scan OFF

BMOV ZR17050Comp. when pres. year restored.

ZR1880CH1 Io Monthly DATA Time Stamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR5880CH1 Ior Monthly DATA Time Stamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR9880CH2 Io Monthly DATA Time Stamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR13880CH2 Ior Monthly DATA Time Stamp

K6

-40-

Page 41: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Calculate the maximum period value for graph display.

3329 SM403

After RUN, only 1 scan OFF

MAX ZR1500CH1 Io 2hr DATA 1day 00:00NOW

ZR17632CH1 Io 2hr data max. value NOW

K372

MAX ZR1900CH1 Io 2hr DATA 1 day 00:00OLD

ZR17635CH1 Io 2hr data max. value OLD

K372

MAX ZR5500CH1 Ior 2hr DATA 1 day 00:00NOW

ZR17672CH1 Ior 2hr data max. value NOW

K372

MAX ZR5900CH1 Ior 2hr DATA 1 day 00:00OLD

ZR17675CH1 Ior 2hr data max. value OLD

K372

MAX ZR9500CH2 Io 2hr DATA 1 day 00:00NOW

ZR17712CH2 Io 2hr data max. value NOW

K372

MAX ZR9900CH2 Io 2hr DATA 1 day 00:00OLD

ZR17715CH2 Io 2hr data max. value OLD

K372

MAX ZR13500CH2 Ior 2hr DATA 1 day 00:00NOW

ZR17752CH2 Ior 2hr data max. value NOW

K372

MAX ZR13900CH2 Ior 2hr DATA 1 day 00:00OLD

ZR17755CH2 Ior 2hr data max. value OLD

K372

-41-

Page 42: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

If only -1 exists in DATATable, store 0.

3407 SM403

After RUN, only 1 scan OFF

>= K0 ZR17632CH1 Io 2hr data max. value NOW

MOV K0 ZR17632CH1 Io 2hr data max. value NOW

>= K0 ZR17635CH1 Io 2hr data max. value OLD

MOV K0 ZR17635CH1 Io 2hr data max. value OLD

>= K0 ZR17672CH1 Ior 2hr data max. value NOW

MOV K0 ZR17672CH1 Ior 2hr data max. value NOW

>= K0 ZR17675CH1 Ior 2hr data max. value OLD

MOV K0 ZR17675CH1 Ior 2hr data max. value OLD

>= K0 ZR17712CH2 Io 2hr data max. value NOW

MOV K0 ZR17712CH2 Io 2hr data max. value NOW

>= K0 ZR17715CH2 Io 2hr data max. value OLD

MOV K0 ZR17715CH2 Io 2hr data max. value OLD

>= K0 ZR17752CH2 Ior 2hr data max. value NOW

MOV K0 ZR17752CH2 Ior 2hr data max. value NOW

>= K0 ZR17755CH2 Ior 2hr data max. value OLD

MOV K0 ZR17755CH2 Ior 2hr data max. value OLD

-42-

Page 43: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

MonthlyGraphScaleSetting

3494 SM400

Always ON

>= K0 ZR17630CH1 Io Monthly Graph Scale Lower

MOV K0 ZR17630CH1 Io Monthly Graph Scale Lower

>= K0 ZR17631CH1 Io Monthly Graph Scale Upper

MOV K100 ZR17631CH1 Io Monthly Graph Scale Upper

>= K0 ZR17670CH1 Ior Monthly GraphScale Lower

MOV K0 ZR17670CH1 Ior Monthly GraphScale Lower

>= K0 ZR17671CH1 Ior Monthly GraphScale Upper

MOV K100 ZR17671CH1 Ior Monthly GraphScale Upper

>= K0 ZR17710CH2 Io Monthly Graph Scale Lower

MOV K0 ZR17710CH2 Io Monthly Graph Scale Lower

>= K0 ZR17711CH2 Io Monthly Graph Scale Upper

MOV K100 ZR17711CH2 Io Monthly Graph Scale Upper

>= K0 ZR17750CH2 Ior Monthly GraphScaleLower

MOV K0 ZR17750CH2 Ior Monthly GraphScaleLower

>= K0 ZR17751CH2 Ior Monthly GraphScaleUpper

MOV K100 ZR17751CH2 Ior Monthly GraphScaleUpper

Execute BMOV yearly for the number of DATA transitions.

3573 FOR ZR17770Data transition count: Yearly

-43-

Page 44: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

YearGraphDATA transition

3606 M8021

Normal operation year change PLS

BMOV ZR2300CH1 Io Day DATA NOW

ZR2700CH1 Io Day DATA OLD

K400

M8040

1yr data aft BO, forced proc.PLS

BMOV ZR6300CH1 Ior Day DATA NOW

ZR6700CH1 Ior Day DATA OLD

K400

BMOV ZR10300CH2 Io DayDATA NOW

ZR10700CH2 Io Day DATA OLD

K400

BMOV ZR14300CH2 Ior Day DATA NOW

ZR14700CH2 Ior Day DATA OLD

K400

FMOV K-1 ZR2300CH1 Io Day DATA NOW

K400

FMOV K-1 ZR6300CH1 Ior Day DATA NOW

K400

FMOV K-1 ZR10300CH2 Io DayDATA NOW

K400

FMOV K-1 ZR14300CH2 Ior Day DATA NOW

K400

3666 NEXT

-44-

Page 45: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

3667 M8050

Clock chg PLS, forced data del.

FMOV K-1 ZR2300CH1 Io Day DATA NOW

K400

FMOV K-1 ZR2700CH1 Io Day DATA OLD

K400

FMOV K-1 ZR6300CH1 Ior Day DATA NOW

K400

FMOV K-1 ZR6700CH1 Ior Day DATA OLD

K400

FMOV K-1 ZR10300CH2 Io DayDATA NOW

K400

FMOV K-1 ZR10700CH2 Io Day DATA OLD

K400

FMOV K-1 ZR14300CH2 Ior Day DATA NOW

K400

FMOV K-1 ZR14700CH2 Ior Day DATA OLD

K400

-45-

Page 46: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

3708 SM403

After RUN, only 1 scan OFF

> K0 ZR3080CH1 Io Yearly DATATimeStampOLD

FMOV K0 ZR3080CH1 Io Yearly DATATimeStampOLD

K6

> K0 ZR7080CH1 Ior Yearly DATA TimeStampOLD

FMOV K0 ZR7080CH1 Ior Yearly DATA TimeStampOLD

K6

> K0 ZR11080CH2 Io Yearly DATA TimeStampOLD

FMOV K0 ZR11080CH2 Io Yearly DATA TimeStampOLD

K6

> K0 ZR15080CH2 Ior Yearly DATA Time Stamp

FMOV K0 ZR15080CH2 Ior Yearly DATA Time Stamp

K6

Calc. reference dest. in MonthGraphDATATable using present date.

3749 SM400

Always ON

RST Z0

- ZR17062Present date

K1 ZR17440MonthData ref. dest. calc. TEMP1

* ZR17440MonthData ref. dest. calc. TEMP1

K12 ZR17442MonthData ref. dest. offset

MOV ZR17442MonthData ref. dest. offset

Z0

-46-

Page 47: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Calc. storage dest. in YearGraphDATATable using pres. mon., date

3801 SM400

Always ON

RST Z1

- ZR17061Present month

K1 ZR17450YearData storage dest. calc.TMP1

* ZR17450YearData storage dest. calc.TMP1

K31 ZR17452YearData storage dest. calc.TMP2

- ZR17062Present date

K1 ZR17454YearData storage dest. calc.TMP3

+ ZR17452YearData storage dest. calc.TMP2

ZR17454YearData storage dest. calc.TMP3

ZR17456YearData storage dest. offset

MOV ZR17456YearData storage dest. offset

Z1

Always judge the maximum value from MonthGraphDataTable.

CH1 Io DAYDATA

3866 SM403

After RUN, only 1 scan OFF

MAX ZR1500Z0CH1 Io 2hr DATA 1day 00:00NOW

ZR17460CH1 Io 2hr data max. value

K12

MOV ZR17460CH1 Io 2hr data max. value

ZR2300Z1CH1 Io Day DATA NOW

-47-

Page 48: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

CH1 Ior DAYDATA

3916 SM403

After RUN, only 1 scan OFF

MAX ZR5500Z0CH1 Ior 2hr DATA 1 day 00:00NOW

ZR17470CH1 Ior 2hr data 1day max. value

K12

MOV ZR17470CH1 Ior 2hr data 1day max. value

ZR6300Z1CH1 Ior Day DATA NOW

CH2 Io DAYDATA

3937 SM403

After RUN, only 1 scan OFF

MAX ZR9500Z0CH2 Io 2hr DATA 1 day 00:00NOW

ZR17480CH2 Io 2hr data 1 day max. value

K12

MOV ZR17480CH2 Io 2hr data 1 day max. value

ZR10300Z1CH2 Io DayDATA NOW

CH2 Ior DAYDATA

3957 SM403

After RUN, only 1 scan OFF

MAX ZR13500Z0CH2 Ior 2hr DATA 1 day 00:00NOW

ZR17490CH2 Io 2hr data 1 day max. value

K12

MOV ZR17490CH2 Io 2hr data 1 day max. value

ZR14300Z1CH2 Ior Day DATA NOW

-48-

Page 49: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

DATA TimeStamp SET

3978 SM403

After RUN, only 1 scan OFF

BMOV ZR17050Comp. when pres. year restored.

ZR2680CH1 Io Yearly DATATimeStamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR6680CH1 Ior Yearly DATA Time Stamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR10680CH2 Io Yearly DATATimeStamp

K6

BMOV ZR17050Comp. when pres. year restored.

ZR14680CH2 Ior Yearly DATA Time Stamp

K6

-49-

Page 50: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Calculate the maximum period value for garph.

4014 SM403

After RUN, only 1 scan OFF

MAX ZR2300CH1 Io Day DATA NOW

ZR17642CH1 Io DayData max. value NOW

K372

MAX ZR2700CH1 Io Day DATA OLD

ZR17645CH1 Io DayData max. value OLD

K372

MAX ZR6300CH1 Ior Day DATA NOW

ZR17682CH1 Ior DayData max. value NOW

K372

MAX ZR6700CH1 Ior Day DATA OLD

ZR17685CH1 Ior DayData max. value OLD

K372

MAX ZR10300CH2 Io DayDATA NOW

ZR17722CH2 Io DayData max. value NOW

K372

MAX ZR10700CH2 Io Day DATA OLD

ZR17725CH2 Io DayData max. value OLD

K372

MAX ZR14300CH2 Ior Day DATA NOW

ZR17762CH2 Ior DayData max. value NOW

K372

MAX ZR14700CH2 Ior Day DATA OLD

ZR17765CH2 Ior DayData max. value OLD

K372

-50-

Page 51: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

If only -1 exists in DATATable, store 0.

4088 SM403

After RUN, only 1 scan OFF

>= K0 ZR17642CH1 Io DayData max. value NOW

MOV K0 ZR17642CH1 Io DayData max. value NOW

>= K0 ZR17645CH1 Io DayData max. value OLD

MOV K0 ZR17645CH1 Io DayData max. value OLD

>= K0 ZR17682CH1 Ior DayData max. value NOW

MOV K0 ZR17682CH1 Ior DayData max. value NOW

>= K0 ZR17685CH1 Ior DayData max. value OLD

MOV K0 ZR17685CH1 Ior DayData max. value OLD

>= K0 ZR17722CH2 Io DayData max. value NOW

MOV K0 ZR17722CH2 Io DayData max. value NOW

>= K0 ZR17725CH2 Io DayData max. value OLD

MOV K0 ZR17725CH2 Io DayData max. value OLD

>= K0 ZR17762CH2 Ior DayData max. value NOW

MOV K0 ZR17762CH2 Ior DayData max. value NOW

>= K0 ZR17765CH2 Ior DayData max. value OLD

MOV K0 ZR17765CH2 Ior DayData max. value OLD

-51-

Page 52: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

YearlyGraphScaleSetting

4175 SM400

Always ON

>= K0 ZR17640CH1 Io DayData Graph Scale Lower

MOV K0 ZR17640CH1 Io DayData Graph Scale Lower

>= K0 ZR17641CH1 Io DayData Graph Scale Upper

MOV K100 ZR17641CH1 Io DayData Graph Scale Upper

>= K0 ZR17680CH1 Ior DayData GraphScaleLower

MOV K0 ZR17680CH1 Ior DayData GraphScaleLower

>= K0 ZR17681CH1 Ior DayData GraphScaleUpper

MOV K100 ZR17681CH1 Ior DayData GraphScaleUpper

>= K0 ZR17720CH2 Io DayData Graph Scale Lower

MOV K0 ZR17720CH2 Io DayData Graph Scale Lower

>= K0 ZR17721CH2 Io DayData Graph Scale Upper

MOV K100 ZR17721CH2 Io DayData Graph Scale Upper

>= K0 ZR17760CH2 Ior DayData GraphScaleLower

MOV K0 ZR17760CH2 Ior DayData GraphScaleLower

>= K0 ZR17761CH2 Ior DayData GraphScaleUpper

MOV K100 ZR17761CH2 Ior DayData GraphScaleUpper

-52-

Page 53: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Read the maximum value of leak current in each channel.

4254 X0Z2

QE82LG UnitRDY

MOV U0Z4\G1101CH1 Io max. value

ZR17111CH1 Io max. value

MOV U0Z4\G1151CH1 Ior max. value

ZR17113CH1 Ior max. value

MOV U0Z4\G2101CH2 Io max. value

ZR17115CH2 Io max. value

MOV U0Z4\G2151CH2 Ior max. value

ZR17117CH2 Ior max. value

-53-

Page 54: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Read alarm status.

4305 X0Z2

QE82LG UnitRDY

X1Z2

CH1Io primary alarm occurred

M8001CH1Io primary alarm occurred

MOV K11 ZR17080GOT AlarmCommentNo

MOV K1 D8001OverLap Window Show Device

X2Z2

CH1Io secondary alarm occurred

M8002CH1Io secondary alarm occurred

MOV K12 ZR17080GOT AlarmCommentNo

MOV K1 D8001OverLap Window Show Device

X3Z2

CH1Ior primary alarm occurred

M8003CH1Ior primary alarm occurred

MOV K13 ZR17080GOT AlarmCommentNo

MOV K1 D8001OverLap Window Show Device

X4Z2

CH1Ior secondary alarm occurred

M8004CH1Ior secondary alarm occurred

-54-

Page 55: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

MOV K14 ZR17080GOT AlarmCommentNo

MOV K1 D8001OverLap Window Show Device

X5Z2

CH2Io primary alarm occurred

M8005CH2Io primary alarm occurred

MOV K15 ZR17080GOT AlarmCommentNo

MOV K1 D8001OverLap Window Show Device

X6Z2

CH2Io secondary alarm occurred

M8006CH2Io secondary alarm occurred

MOV K16 ZR17080GOT AlarmCommentNo

MOV K1 D8001OverLap Window Show Device

X7Z2

CH2Ior primary alarm occurred

M8007CH2Ior primary alarm occurred

MOV K17 ZR17080GOT AlarmCommentNo

-55-

Page 56: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

MOV K1 D8001OverLap Window Show Device

X8Z2

CH2Ior secondary alarm occurred

M8008CH2Ior secondary alarm occurred

MOV K18 ZR17080GOT AlarmCommentNo

MOV K1 D8001OverLap Window Show Device

Read CH1 alarm occurrence time.

4413 SM400

Always ON

RST Z0

RST Z1

<Io and Ior are K2. >

4436 FOR K2

-56-

Page 57: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

4449 X0Z2

QE82LG UnitRDY

MOV U0Z4\G1102Z0CH1 Io max. value occurred year

ZR17120Z1CH1 Io max. value occurred year

WAND U0Z4\G1103Z0CH1 Io max.value occrrd mon/date

H0FF00 ZR17121Z1CH1 Io max.value occurred month

SWAP ZR17121Z1CH1 Io max.value occurred month

WAND U0Z4\G1103Z0CH1 Io max.value occrrd mon/date

H0FF ZR17122Z1CH1 Io max. value occurred date

WAND U0Z4\G1104Z0CH1 Io max.value occurred hr/min

H0FF00 ZR17123Z1CH1 Io max. value occurred hour

SWAP ZR17123Z1CH1 Io max. value occurred hour

WAND U0Z4\G1104Z0CH1 Io max.value occurred hr/min

H0FF ZR17124Z1CH1 Io max. value occurred min.

WAND U0Z4\G1105Z0CH1 Io max.v occurrd sec/dayofwk

H0FF00 ZR17125Z1CH1 Io max. value occurred sec.

SWAP ZR17125Z1CH1 Io max. value occurred sec.

WAND U0Z4\G1105Z0CH1 Io max.v occurrd sec/dayofwk

H0F ZR17126Z1CH1 Io max.value occurrd dayofwk

-57-

Page 58: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

4500 SM400

Always ON

+ K50 Z0

+ K10 Z1

4505 NEXT

Read CH2 alarm occurrence time.

4506 SM400

Always ON

RST Z0

RST Z1

<Io and Ior are K2. >

4529 FOR K2

-58-

Page 59: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

4542 X0Z2

QE82LG UnitRDY

MOV U0Z4\G2102Z0CH2 Io max. value occurred year

ZR17140Z1CH2 Io max. value occurred year

WAND U0Z4\G2103Z0CH2 Io max.value occrrd mon/date

H0FF00 ZR17141Z1CH2 Io max. value occurred month

SWAP ZR17141Z1CH2 Io max. value occurred month

WAND U0Z4\G2103Z0CH2 Io max.value occrrd mon/date

H0FF ZR17142Z1CH2 Io max. value occurred date

WAND U0Z4\G2104Z0CH2 Io max.value occurred hr/min

H0FF00 ZR17143Z1CH2 Io max. value occurred hour

SWAP ZR17143Z1CH2 Io max. value occurred hour

WAND U0Z4\G2104Z0CH2 Io max.value occurred hr/min

H0FF ZR17144Z1CH2 Io max. value occurred min.

WAND U0Z4\G2105Z0CH2 Io max.v occurrd sec/dayofwk

H0FF00 ZR17145Z1CH2 Io max. value occurred sec.

SWAP ZR17145Z1CH2 Io max. value occurred sec.

WAND U0Z4\G2105Z0CH2 Io max.v occurrd sec/dayofwk

H0F ZR17146Z1CH2 Io max.value occurrd dayofwk

-59-

Page 60: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

4593 SM400

Always ON

+ K50 Z0

+ K10 Z1

4598 NEXT

4599 FOR ZR17770Data transition count: Yearly

-60-

Page 61: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

AlarmGraphDATA transition

4602 M8021

Normal operation year change PLS

BMOV ZR16000QE82LG CH1 Io primary ALM CNTNow

ZR16120QE82LG CH1 Io primary ALMCNT OLD

K120

M8040

1yr data aft BO, forced proc.PLS

BMOV ZR16300QE82LG CH2 Io primary ALMCNT NOW

ZR16420QE82LG CH2 Io primary ALMCNT OLD

K120

FMOV K0 ZR16000QE82LG CH1 Io primary ALM CNTNow

K24

FMOV K0 ZR16030QE82LG CH1Io secondary ALM CNT

K24

FMOV K0 ZR16060QE82LG CH1 Ior primary ALM CNT

K24

FMOV K0 ZR16090QE82LG CH1 Ior secondary ALM CNT

K24

FMOV K0 ZR16300QE82LG CH2 Io primary ALMCNT NOW

K24

FMOV K0 ZR16330QE82LG CH2 Io secondary ALM CNT

K24

FMOV K0 ZR16360QE82LG CH2 Ior primary ALM CNT

K24

FMOV K0 ZR16390QE82LG CH2 Ior secondary ALM CNT

K24

-61-

Page 62: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

MOV ZR59900Alarm Graph Date

ZR59910Alarm Graph Data OLD

MOV K0 ZR59900Alarm Graph Date

4678 NEXT

-62-

Page 63: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

4679 M8050

Clock chg PLS, forced data del.

FMOV K0 ZR16000QE82LG CH1 Io primary ALM CNTNow

K24

FMOV K0 ZR16030QE82LG CH1Io secondary ALM CNT

K24

FMOV K0 ZR16060QE82LG CH1 Ior primary ALM CNT

K24

FMOV K0 ZR16090QE82LG CH1 Ior secondary ALM CNT

K24

FMOV K0 ZR16300QE82LG CH2 Io primary ALMCNT NOW

K24

FMOV K0 ZR16330QE82LG CH2 Io secondary ALM CNT

K24

FMOV K0 ZR16360QE82LG CH2 Ior primary ALM CNT

K24

FMOV K0 ZR16390QE82LG CH2 Ior secondary ALM CNT

K24

MOV K0 ZR59900Alarm Graph Date

MOV K0 ZR59910Alarm Graph Data OLD

-63-

Page 64: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Calc. storage dest. for the number of QE82LG alarm occurrences.

4726 SM400

Always ON

RST Z0

- ZR17061Present month

K1 ZR17500Alarm count storage dest. offset

MOV ZR17500Alarm count storage dest. offset

Z0

-64-

Page 65: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Store the number of alarm occurrences.

4772 X0Z2

QE82LG UnitRDY

Y0BZ2

QE82LG CH1 alarm count RST req.

MOV U0Z4\G1200QE82LG CH1 Io primary ALM count

ZR16000Z0QE82LG CH1 Io primary ALM CNTNow

MOV U0Z4\G1201QE82LG CH1 Io secondary ALM CNT

ZR16030Z0QE82LG CH1Io secondary ALM CNT

MOV U0Z4\G1250QE82LG CH1 Ior primary ALM count

ZR16060Z0QE82LG CH1 Ior primary ALM CNT

MOV U0Z4\G1251QE82LG CH1 Ior secondary ALM CNT

ZR16090Z0QE82LG CH1 Ior secondary ALM CNT

Y0DZ2

QE82LG CH2 alarm count RST req.

MOV U0Z4\G2200QE82LG CH2 Io primary ALM count

ZR16300Z0QE82LG CH2 Io primary ALMCNT NOW

MOV U0Z4\G2201QE82LG CH2 Io secondary ALM CNT

ZR16330Z0QE82LG CH2 Io secondary ALM CNT

MOV U0Z4\G2250QE82LG CH2 Ior primary ALM count

ZR16360Z0QE82LG CH2 Ior primary ALM CNT

MOV U0Z4\G2251QE82LG CH2 Ior secondary ALM CNT

ZR16390Z0QE82LG CH2 Ior secondary ALM CNT

MOV ZR17050Comp. when pres. year restored.

ZR59900Alarm Graph Date

-65-

Page 66: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Alarm Occurence Graph Scale

4843 SM400

Always ON

>= K0 ZR16028CH1 Io 1st AL Graph Scale

MOV K100 ZR16028CH1 Io 1st AL Graph Scale

>= K0 ZR16058CH1 Io 2nd AL Graph Scale

MOV K100 ZR16058CH1 Io 2nd AL Graph Scale

>= K0 ZR16088CH1 Ior 1st AL Graph Scale

MOV K100 ZR16088CH1 Ior 1st AL Graph Scale

>= K0 ZR16118CH1 Ior 2nd AL Graph Scale

MOV K100 ZR16118CH1 Ior 2nd AL Graph Scale

>= K0 ZR16328CH2 Io 1st AL Graph Scale

MOV K100 ZR16328CH2 Io 1st AL Graph Scale

>= K0 ZR16358CH2 Io 2nd AL Graph Scale

MOV K100 ZR16358CH2 Io 2nd AL Graph Scale

>= K0 ZR16388CH2 Ior 1st AL Graph Scale

MOV K100 ZR16388CH2 Ior 1st AL Graph Scale

>= K0 ZR16418CH2 Ior 2nd AL Graph Scale

MOV K100 ZR16418CH2 Ior 2nd AL Graph Scale

-66-

Page 67: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

QE82LG main unit settings

4924 X0Z2

QE82LG UnitRDY

M8010

QE82LG initial settings chng PLS

MOV ZR17160QE82LG phase wire method

U0Z4\G0QE82LG phase wire method setting

Y9Z2

QE82LG action cond. SET request

X9Z2

QE82LG action cond. SET comp.flg

BMOV ZR17170QE82LG CH1 Io primary ALM value

U0Z4\G1000QE82LG CH1 Io primary ALM value

K6

BMOV ZR17180QE82LG CH1 Ior primary ALM value

U0Z4\G1050QE82LG CH1 Ior primary ALM value

K6

BMOV ZR17190QE82LG CH2 Io primary ALM value

U0Z4\G2000QE82LG CH2 Io primary ALM value

K6

BMOV ZR17200QE82LG CH2 Ior primary ALM value

U0Z4\G2050QE82LG CH2 Ior primary ALM value

K6

Y9Z2QE82LG action cond. SET request

RST M8010QE82LG initial settings chng PLS

-67-

Page 68: Manual for Insulation Monitoring System Sample Ladder ...- 4 - SAM-0017-A 2. Overview This document describes the sample ladder program for insulation monitoring system using the MELSEC-Q

SAM-0017-A

Read QE82LG main unit settings.

4975 X0Z2

QE82LG UnitRDY

MOV U0Z4\G0QE82LG phase wire method setting

ZR17210QE82LG phase wire method setting

BMOV U0Z4\G1000QE82LG CH1 Io primary ALM value

ZR17220QE82LG CH1 Io primary ALM value

K6

BMOV U0Z4\G1050QE82LG CH1 Ior primary ALM value

ZR17230QE82LG CH1 Ior primary ALM value

K6

BMOV U0Z4\G2000QE82LG CH2 Io primary ALM value

ZR17240QE82LG CH2 Io primary ALM value

K6

BMOV U0Z4\G2050QE82LG CH2 Ior primary ALM value

ZR17250QE82LG CH2 Ior primary ALM value

K6

Restore the index register being used in other programs.

5023 SM403

After RUN, only 1 scan OFF

ZPOP ZR17000Index register migration count

Store clock data before blackout.

5057 SM400

Always ON

DATERD ZR17050Comp. when pres. year restored.

5080 END

-68-