6
PROGRAMMING
6.1.1 Programming example using the utility package
(1)
6 - 2
Operating the utility package
(a)
Initial setting (refer to Section 5.4)
CH1, CH2, CH3 A/D conversion enable/disable setting .... "Enable"
CH1 Averaging process setting .......................................... "Sampling"
CH2 Averaging process setting .......................................... "Averaging"
CH2 Time/number of times specifying ................................ "Number of times"
CH2 Average time/average number of times setting ......... "50"
CH3 Averaging process setting .......................................... " Averaging"
CH3 Time/number of times specifying ................................ "Time (ms)"
CH3 Average time/average number of times setting ......... "1000"
(b)
Auto refresh setting (refer to Section 5.5)
CH1 Digital output value ................."D11"
CH2 Digital output value ................."D12"
CH3 Digital output value ................."D13"
Error code ......................................."D14"
MELSEC-Q
6
6 - 2