hit counter script

Mitsubishi Electric FX5 User Manual page 210

Melsec iq-f series
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

• When using user devices, you can change comparison value or output data while the program is running.
• When using user devices, each table occupies 4 devices. Word devices are used in order starting from the
initial device.
Multiple point output, high-speed comparison table operation
Operation of each type high-speed comparison table is explained below.
■Bit output
When comparison value 1 matches the current value of the set high-speed counter, output data is transferred to the output
devices.
Ex.
Bit output, initial output device: Y0, Output points: 16
Table number
Table 1
Table 2
Table 3
Current value 0 to 9
Current value 10 to 12
Current value 13 to 18
Current value 19 to
■Word output
When comparison value 1 matches the current value of the set high-speed counter, output data is transferred to the output
devices.
Ex.
Word output, initial output device: D0, Output points: 1
Table number
Table 1
Table 2
Table 3
Current value 0 to 9
Current value 10 to 12
Current value 13 to 18
Current value 19 to
24 HIGH-SPEED INPUT/OUTPUT FUNCTION
208
24.1 High-speed Counter Function
Comparison value
10
13
19
Y17
Y16
Y15
Y14
Y13
0
0
0
0
0
Y17
Y16
Y15
Y14
Y13
0
0
0
0
0
Y17
Y16
Y15
Y14
Y13
1
0
1
0
1
Y17
Y16
Y15
Y14
Y13
0
0
0
0
0
Comparison value
10
13
19
D0 = 0
D0 = 100
D0 = 300
D0 = 10
Y12
Y11
Y10
Y7
Y6
0
0
0
0
0
Y12
Y11
Y10
Y7
Y6
0
0
0
0
0
Y12
Y11
Y10
Y7
Y6
0
1
0
1
0
Y12
Y11
Y10
Y7
Y6
0
0
1
0
0
Output data
H0001
HAAAA
H0100
Y5
Y4
Y3
Y2
Y1
0
0
0
0
0
Y5
Y4
Y3
Y2
Y1
0
0
0
0
0
Y5
Y4
Y3
Y2
Y1
1
0
1
0
1
Y5
Y4
Y3
Y2
Y1
0
0
0
0
0
Output data
K100
K300
K10
Y0
0
Y0
1
Y0
0
Y0
0

Advertisement

Table of Contents
loading

Table of Contents

Save PDF