EasyManua.ls Logo

IAI X-SEL

IAI X-SEL
535 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
162
INTELLIGENT ACTUATOR
Part 4 Commands
GTTM (Get time)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1 Operand 2
Output
(Output, flag)
Optional Optional GTTM
Variable
number
Prohibited CP
[Function] Read system time to the variable specified in operand 1. The time is specified in units of 10
milliseconds.
The time obtained here has no base number. Therefore, this command is called twice and
the difference will be used to calculate the elapsed time.
[Example 1] GTTM 1 Read the reference time to variable 1.
ADD 1 500 Set the ending time to 5 seconds later.
GTTM 2 Read the current system time to variable 2.
DWLE 2 *1 Proceed to the step next to EDDO when 5 seconds elapsed.
: The above process will be repeated for 5 seconds.
:
GTTM 2 Read the current system time to variable 2.
EDDO
[Example 2] LET 1 5 Assign 5 to variable 1.
GTTM *1 Store the current system time in the content of variable 1
(variable 5).
(Note) The system time is counted in 32 bits, where the time the controller is started represents 0.
Accordingly, the elapsed time during a given period during continuous operation up to
approx. 248 days (2147836.47 seconds) after the controller is started can be checked from
the difference between the two acquired times.

Table of Contents

Other manuals for IAI X-SEL

Related product manuals