
Basic
Instructions
2-6
2.3 CT16- (16-bit Counter)
Instruction format
CT16
-
100
U10
n
S
X100
C100
Y131
X101
Count
Reset
Operation unit (i)
There is no operation unit.
List of operands
Operand
Description
n
Counter number (Settalbe range: 0 to 1023 *For the default memory configuration)
S
Counter setting value (Settable range: U0 to U65535)
Available devices (
●
: Available)
Operand
16-bit device
32-bit device
Integer
Real
number
String
Index
modifier
*1
WX WY WR WL WS SD DT LD UM WI WO
TS
CS
TE
CE
IX
K
U
H
SF DF
" "
n
●
●
S
●
●
●
●
●
●
●
●
*1
:
Only 16-bit deivces, 32-bit devices, and integer constants can be modified. (Real number constants and character
constants cannot be specified.)
Outline of operation
This instruction is different from CT instruction. The range settable by the setting value [S] is
U0 to U65535.
All counters are subtraction preset counters.
When the reset input is switched from ON to OFF, the value of the setting value area CS is
preset in the elapsed value area CE.
When the reset input is on, the elapsed value is reset (cleared to zero). When the count
input changes from the off state to the on state, the setting value is subtracted. When the
elapsed value becomes U0, it is output to the counter contact.
When the count input and reset input turn on simultaneously, the reset input has priority.
When the rise of the count input and the fall of the reset input are detected at the same time,
the count input is ignored and only the preset is executed.
It is also possible to describe OT instruction right after the counter instruction.
For details of this instruction, refer to the description of CT instruction in FP7 CPU Unit
Programming Manual.
Содержание FP7 Series
Страница 1: ...FP7 CPU Unit Ver 4 20 Additional Functions Manual 12 21 2015...
Страница 3: ...1 Introduction of Ver 4 20...
Страница 6: ......
Страница 7: ...2 Basic Instructions...
Страница 17: ...3 High level Instructions...
Страница 29: ...4 FP2 FP2SH Program Conversion Function...
Страница 36: ......
Страница 37: ...5 MEWTOCOL COM...
Страница 39: ...6 Multi Connection Server Function...