Chapter 7 Built-in High-speed Counter Function
XBC E-Type Main Unit 7-12 Ver. 1
3. Compared output
a. High Speed counter module has a compared output function used to compare present
count value with compared value in size to output as compared.
b. Available compared outputs are 2 for 1 channel, which can be used separately.
c. Compared output conditions are associated with >, =, < .
d. Parameter setting
i. Compared output mode setting
ii. Upper setting value is saved in special K area.
Compared output condition Memory address (word) Value
*2)
Present Value < Compared Value
Channel 0 : K302
Channel 1 : K330
Channel 2 : K358
Channel 3 : K386
Set to “0”
Present Value ≤ Compared Value Set to “1”
Present Value = Compared Value Set to “2”
Present Value ≥ Compared Value Set to “3”
Present Value > Compared Value Set to “4”
Compared value 1 ≤ Count value ≤ Compared value 2
Set to “5”
Count value ≤ Compared value 1,
Count value ≥ Compared value 2
Set to “6”
*2)
If compared output mode set value is other than 0~6 at using counter, error code ‘23’ occurs.