Time To Wait : Time - Mitsubishi Electric Q173CPU Programming Manual

Q series motion controller
Hide thumbs Also See for Q173CPU:
Table of Contents

Advertisement

7 OPERATION CONTROL PROGRAMS

7.13.10 Time to wait : TIME

Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(S)
[Setting data]
Setting data
[Functions]
[Errors]
[Program examples]
TIME(S)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
(S)
Waiting time (0 to 2147483647)ms
(1) A wait state continues for the time specified with (S). The result is false when the
elapsed time is less than the preset time, or the result is true and execution
transits when the preset time has elapsed.
(2) When a 16-bit integer type word device is used to specify any of 32768 to
65535ms at (S), convert it into an unsigned 16-bit integer value with USHORT.
(Refer to the program example.)
(1) An operation error will occur if:
• (S) is an indirectly specified device and its device No. is outside the range. ; or
• The data (device data at indirect specification) specified with (S) is outside the
range of 0 to 2147483647.
(1) Program which sets a wait of 60 seconds (when constant is specified)
TIME K60000
(2) Program for a case where there may be a wait of 32768 to 65535ms for 16-bit
integer type indirect designation (#0)
TIME USHORT(#0)
(3) Program which SETS (RSTs) a bit device when the specified time has elapsed
SET M100 = TIME K60000
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
Description
7 - 94
F/FS
Number of basic steps
Bit
64-bit
Calculation
conditional
floating
expression
expression
point
type (K)
Data type of result
Logical type (true/false)
G
7
Comparison
conditional
expression
: Usable

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpunQ172cpuQ172cpun

Table of Contents