Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual page 406

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

Notation of time
In the notation of time, add "T#" or "TIME#" at the beginning of the value specified in units of time; d (day), h (hour), m
(minute), s (second), and ms (millisecond). The following table lists the effective range for each unit of time.
Item
d (day)
h (hour)
m (minute)
s (second)
ms (millisecond)
• Each unit of time can be omitted sequentially from the beginning to the end or in reverse order.
T#31m23s, T#31m0s648ms
• A sign can be added only before the first unit of time.
T#-31m23s
• An unsigned real decimal number with a decimal point can be used for the last unit of time. The values after the decimal point of ms (millisecond) are rounded
down.
T#-24d20h31m23s648.123 ms (The time is treated as T#-24d20h31m23s648 ms.)
T#1.2345 ms (The time is treated as T#1 ms.)
• Only for the first unit of time other than d, the following values within the effective range can be input.
h: 0 to 596
m: 0 to 35791
s: 0 to 2147483
ms: 0 to 2147483647
Special character (escape sequence)
"$" is used as an escape sequence in a string. The following characters can be input as escape sequences with "$".
Symbol used in a string or printer code
$
'
"
Line feed
Line break
Page feed
Return
Tab
Two hexadecimal digits and characters that correspond to the ASCII code
If the two hexadecimal digits following "$" do not correspond to the ASCII code, a conversion error occurs.
25 CONSTANTS
404
25.5 Notation of Constants
Effective range
0 to 24
0 to 23
0 to 59
0 to 59
0 to 999
Escape sequence
$$
$'
$"
$L or $l
$N or $n
$P or $p
$R or $r
$T or $t
Two hexadecimal digits following $

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents