17 (148)
This unit represents a T Flipflop. Initially the boolean output port has a value of
0
. If the
boolean
T
input port is
1
, the boolean output port will change its state (toggle) whenever
there is a rising edge on the boolean
Clk
input port. If the
T
input port is
0
, the output port
holds its previous value
This unit represents a timer in milliseconds. It will output a periodic clock signal on the
boolean
Clk
output port. The period of the signal is determined through the value of
the
Int
(interval) input port (32-bit unsigned integer, ms) and must be a multiple of (at least
twice) the PLC's cycle time. If the value of the
Int
input port is smaller than the cycle time or
not divisible by the cycle time, the unit will internally round it up to the next multiple of the
cycle time. The clock signal is only generated while the boolean
En
input port is
1
.
This unit represents a Time Switch. It switches its boolean output port based on a plan that
can be configured through the Time Switches form. There are eight time switch units, which
can be configured independently. This unit is processed during the input stage of the IPO cycle.
This unit represents a timer off-delay.
When the boolean
IN
input port switches to
1
, the boolean
Q
output port will be set to
1
.
When the
IN
input port switches to
0
, the timer will be started. The
ET
(elapsed time) output
port (32-bit unsigned integer) will indicate the number of milliseconds elapsed since the timer
has been started. When the value of the
ET
output port reaches the value of the
PT
(preset
time) input port (32-bit unsigned integer), the timer will be stopped and the
Q
output will be
reset.
Note that if the value of the
PT
input port is smaller than or not divisible by the PLC's cycle
time, it will be internally rounded up to the next multiple of the cycle time.
This unit represents a timer on-delay.
When the boolean
IN
input port switches to
1
, the timer will be started. The
ET
(elapsed time)
output port (32-bit unsigned integer) will indicate the number of milliseconds elapsed since
the timer has been started. When the value of the
ET
output port reaches the value of
the
PT
(preset time) input port (32-bit unsigned integer), the timer will be stopped and the
boolean
Q
output port will be set. The
Q
output port will be reset when the
IN
input port
switches to
0
.
Note that if the value of the
PT
input port is smaller than or not divisible by the PLC's cycle
time, it will be internally rounded up to the next multiple of the cycle time.
This unit represents a timer pulse.
When the boolean
IN
input port switches to
1
, the boolean
Q
output port will be set to
1
and
the timer will be started. The
ET
(elapsed time) output port (32-bit unsigned integer) will
indicate the number of milliseconds elapsed since the timer has been started. When the value
of the
ET
output port reaches the value of the
PT
(preset time) input port (32-bit unsigned
integer), the timer will be stopped and the
Q
output port will be set to
0
.
Note that if the value of the
PT
input port is smaller than or not divisible by the PLC's cycle
time, it will be internally rounded up to the next multiple of the cycle time.
This unit represents a trigger. It will set its boolean output port to
1
for one IPO cycle when it
detects a rising edge on one of its boolean input ports. To detect a falling edge, simply negate
the input port. To detect a rising or falling edge, connect the same input signal to two of the
trigger's input ports and negate one of them.
This unit converts a numerical timestamp (number of microseconds since 00:00:00 January 1
1970; the timestamp format can be changed via the Program settings.) to a string
representation. The numerical timestamp is expected at the
TS
input port (64-bit unsigned
Anybus Edge Gateway Reference Guide
SCM-1202-154 1.0 en-US