814
14 HIGH-SPEED COUNTER INSTRUCTION
14.1 High-speed Processing Instruction
*1 When high-speed counter (function number: K0) is stopped during function operation, the function continues to operate, but nothing will
be processed.
*2 When multi-output high-speed comparison table (function number: K30) is stopped, high-speed counter of the same ch is also stopped.
The following table shows the values which can be specified in (s2) and (s3) for each function number.
• Function number K0
The counting start and stop of a high-speed counter can be controlled for each channel of the high-speed counter.
CH1 to CH8 are for the CPU module, and CH9 to CH16 are for the high-speed pulse input/output module.
Ex.
To start CH3, set 04H in (s2). To stop it, set 04H in (s3).
To start CH1, CH4, and CH5, set 19H in (s2). To stop them, set 19H in (s3).
To start CH1 and CH4 and to stop CH5, set 09H in (s2) and set 10H in (s3).
• Function number K10
The measuring start and stop of the pulse density (rotation speed measurement) can be controlled for each channel of the
high-speed counter.
• Function number K20 to K24
Set the value to turn on the bit of the high-speed comparison table number which is to be started or stopped.
In the case of the CPU module (K20), b0 to b31 can be used.
In the case of the high-speed pulse input/output module (K21 to K24), b0 to b14 can be used.
• Function number K30
For the multi-output high-speed comparison table, specification of a channel is not required. To start the multi-output high-
speed comparison table, set 01H in (s2). To stop it, set 01H in (s3).
• Function numbers K40 and K50
The measuring start and stop of pulse width measurement and PWM can be controlled for each channel.
CH1 to CH4 are for the CPU module, and CH5 to CH12 are for the high-speed pulse input/output module.
K30
Multi-output high-speed comparison table
K40
Pulse width measurement
K50
PWM
Bit position
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
CH16
CH15
CH14
CH13
CH12
CH11
CH10
CH9
CH8
CH7
CH6
CH5
CH4
CH3
CH2
CH1
Bit position
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
CH8
CH7
CH6
CH5
CH4
CH3
CH2
CH1
Low-order bit position
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
High-order bit position
b31
b30
b29
b28
b27
b26
b25
b24
b23
b22
b21
b20
b19
b18
b17
b16
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
Bit position
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
Valid
Bit position
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
CH12
CH11
CH10
CH9
CH8
CH7
CH6
CH5
CH4
CH3
CH2
CH1
Function
number
Function name
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......