Panasonic FP7 Series Additional Functions Manual page 14

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

Basic Instructions
 When specifying a constant
- CT instruction
X100
Count
X101
Reset
C0
U100 is set in the setting value area CS0 when compiling the program.
The setting value area CS0 is set in the elapsed value area CE0 when the input of X101 falls.
The setting range of a constant is U0 to U4294967295.
- CT16- instruction
X100
Count
X101
Reset
C0
U100 is set in the setting value area CS0 when compiling the program.
The setting value area CS0 is set in the elapsed value area CE0 when the input of X101 falls.
The setting range of a constant is U0 to U65535.
Note)
When a 32-bit value is written into the elapsed value area CE while the counter is being
operated using an instruction such as MV instruction, the timer operates with the written 32-bit
value.
When a 32-bit value is written into the setting value area CS, the timer operates with the
written 32-bit value.
Precautions during programming
Both the counter setting value area CS and the counter elapsed value area CE occupy the
32-bit area.
When specifying a 16-bit device such as DT for the operation [S] of CT16- instruction, it is
used as 16-bit data.
When U0 is specified for the setting value, the count-up operation is performed when the
instruction is executed and the counter contact [C] turns ON.
2-8
CT0
U100
Y131
CT16-
0
U100
Y131
CS0
U100
CE0
U100
CS0
U100
CE0
U100

Advertisement

Table of Contents
loading

Table of Contents