Tccst (Timer/Counter Current Value Store) - IDEC MICROSmart FC6A Series Ladder Programming Manual

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

5: M
I
OVE
NSTRUCTIONS

TCCST (Timer/Counter Current Value Store)

TCCST(*)
S1(R)
*****
Valid Devices
Device
S1 (Source 1)
D1 (Destination 1)
For valid device address ranges, see "Device Addresses" on page 2-1.
When T (timer) or C (counter) is used as S1, the timer/counter current value (TC or CC) is displayed. T (timer) or C (counter) is used as D1, and the
data is written in as a current value (TP or CP).
Since the TCCST instruction is executed in each scan while input is on, a pulse input from a SOTU or SOTD instruction should be used.
Valid Data Types
W (word)
X
I (integer)
D (double word)
X
L (long)
F (float)
Example: TCCST
When input I2 is turned on, 99,998 is written to the current value of counter C23.
Ladder Diagram
I0
I1
LC=(D)
C23
99999
TCCST(D)
SOTU
I2
5-18
D1(R)
REP
*****
**
Function
First device address to move
First device address to move to
When a bit device such as I (input), Q (output), M (internal relay), or R (shift register) is assigned as the source,
16 points (word data) or 32 points (double-word data) are used. When repeat is assigned for a bit device, the
quantity of device bits increases in 16- or 32-point increments.
When a word device such as T (timer), C (counter), or D (data register) is assigned as the source or destination,
1 point (word data) or 2 points (double-word data) are used. When repeat is assigned for a word device, the
quantity of device words increases in 1- or 2-point increments.
CNTD
C23
100000
S1 –
D1 –
REP
99998
C23
FC6A S
MICROS
ERIES
MART
S1 → D1
When input is on, 16- or 32-bit data assigned by S1 is displayed and stored to the
current value of device assigned by D1.
I
Q
X
X
Timing Chart
Reset Input I0
Pulse Input I1
Counter C23
Input I2
Q0
Output Q0
L
P
M
ADDER
ROGRAMMING
M
R
T
C
D
P
X
X
X
X
X
X
X
ON
OFF
99998
99999
99998
ON
OFF
ON
OFF
ON
OFF
ON
OFF
FC9Y-B1726
ANUAL
Constant
Repeat
X
1-99
1-99
99999
100000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents