Panasonic FP7 Series Additional Functions Manual page 10

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

Advertisement

Basic Instructions
 For details of this instruction, refer to the description of TM instruction in FP7 CPU Unit
Programming Manual.
- The setting time of the timer is (Timer unit) x (Timer setting value).
"TM16S" is 0.00000 to 0.65535 seconds by 0.00001 seconds.
"TM16L" is 0.000 to 65.535 seconds by 0.001 seconds.
"TM16R" is 0.00 to 655.35 seconds by 0.01 seconds.
"TM16X" is 0.0 to 6553.5 seconds by 0.1 seconds.
"TM16Y" is 0 to 65535 seconds by 1 second.
 Difference between TIM and TM16 instructions
When specifying a 16-bit device
DT0
U1
DT1
U2
- TM instruction
R0
T0
DT0 is treated as 32-bit data U131073(H20001).
U131073 is set in the elapsed value area TE0 when the input of R0 rises.
- TM16 instruction
R0
T0
DT0 is treated as 16-bit data U1(H1).
U1 is set in the elapsed value area TE0 when the input of R0 rises.
Note)
When a 32-bit value is written into the elapsed value area TE while the timer is being operated
using an instruction such as MV instruction, the timer operates with the written 32-bit value.
2-4
TMX0
DT0
Y111
TM16X
DT0
0
Y111
DT0 DT1
TE0
U1
U2
U131073
DT0
TE0
U1
U1

Advertisement

Table of Contents
loading

Table of Contents