Handling Timers As Numeric Devices - Mitsubishi Electric MELSEC-Q Structured Programming Manual

Hide thumbs Also See for MELSEC-Q:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
[Device & Common]
Flicker timer
X000
M3
X000
M 2
M 1
In addition, the timer time can be set according to the switch input time using the teaching timer instruction
TTMR.
2.5.7

Handling timers as numeric devices

In timers, the output contact operating in accordance with the set value is used in some cases, and the
current value is used as numeric data for control in other cases.
The figures below show the structure of timer current value registers. When a timer number is specified in an
input variable of an instruction, the timer is handled as a device which stores 16-bit or 32-bit data in the same
way as data registers.
1. Structure of timer current value registers
1) 16-bit
High order
0
b15
*1
Sign
0 : Positive
1 : Negative
*1.The sign is valid only when a timer is handled as a substitute for a data register.
2) 32-bit
High order
0
b31
Sign
0 : Positive
1 : Negative
2. Use examples
For the full use of timers as numeric devices, refer to the instruction explanation manual offered separately.
54
STMR
EN
ENO
s
d
T10
K100
m
16 bit
1
0
1
0
1
0
1
0
1
0
1
1
0
1
0
1
0
1
0
1
0
1
→ FX Structured Programming Manual [Basic & Applied Instruction]
When M3 is connected as shown in the
left figure, M2 and M1 become flicker outputs.
M0
When X000 is set to OFF, M0, M1 and M3 turn
OFF and T10 is reset after the set time.
Do not use the timers used here in other
general circuits again.
Low order
Available numeric value range
0
1
0
1
b0
16-bit:0 to 32,767
32-bit:-2,147,483,648 to +2,147,483,647
32 bit
1
1
1
1
0
0
0
1
0
1
2 Devices in Detail
Low order
0
0
1
1
1
1
0
0
0
0
b0
2.5 Timer [T]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-lMelsec-fFx3sFx3gFx3gcFx3u ... Show all

Table of Contents