HMS Anybus Edge Reference Manual page 18

Table of Contents

Advertisement

HMS Sequence Editor
Anybus Edge Gateway Reference Guide
The value of the TDown input port (32-bit unsigned integer) describes the time (ms) needed
to reach the new value, if the old value is greater than the new one.
If the boolean Force input port is set, the value of the In input port will be immediately copied
to the output port. The smoothing is performed in the numeric data type of the output port
connected to the In input port. The In input port and the output port will adopt this data type.
This unit is used to limit the gradient of a signal. When the value of the In input port changes,
the value of the output port will be tracked to that new value using a linear function.
The value of the GradUp input port defines the maximum gradient per second of this linear
function, if the new value is greater than the old one. The value of the GradDown input port
defines the maximum gradient per second of this linear function, if the new value is less than
the old one. Both gradients must be positive numbers.
If the boolean Force input port is set, the value of the In input port will be immediately copied
to the output port. The boolean En input port can be used to enable the unit. If it is 0, the
output port will always be 0, too. The tracking is performed in the greatest numeric data type
of all output ports connected to either the In, GradUp or GradDown input port. These input
ports and the output port will adopt this data type.
This unit represents a State Machine's state. There are eight different State Machine units
(State Machine 0 to State Machine 7) available allowing you to implement eight independent
state machines.
A state machine is implemented by placing various State Machine units with the same State
Machine index (e.g. State Machine 0). The value of the Sel input port (32-bit signed integer) of
each unit determines which state is handled by it. When a State Machine unit becomes active
(State machine's state = Sel), it checks its boolean Cond<X> input ports. If one of them is 1,
the state machine changes to the state determined by the corresponding Next<X> input port
(32-bit signed integer) after the current IPO cycle. The State output port (32-bit signed
integer) shows the current state of the State Machine. The boolean Active output port
indicates that the corresponding unit is currently active (State machine's state = Sel).
The initial state is 0.
The stop watch unit measures the time in milliseconds between two rising edges on is input
port and puts out this time on its output port.
This unit converts a string that contains a timestamp into a numerical timestamp (number of
microseconds since 00:00:00 January 1 1970; the timestamp format can be changed via
the Program settings.). The string timestamp must be given at the Str input port. The
numerical timestamp will be put out at the output port (64-Bit unsigned integer). At
the Format input port another string is expected that defines the format of the string
timestamp. Note that leading zeroes will be ignored and that spaces, tabulators and line
breaks will be treated the same way. White space characters also may appear any number of
times. If the Format input port is open, the default format string "%Y-%m-%dT%H:%M:%SZ"
(according to ISO 8601) is used.
If the conversion fails, the unit puts out 0.
This unit performs an subtraction. It subtracts the values of its second and following input
ports from its first input port and writes the difference to its output port.
The subtraction is performed in the greatest numeric data type of all output ports connected
to the unit's input ports. All ports of the unit will adopt this data type.
16 (148)
SCM-1202-154 1.0 en-US

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Anybus Edge and is the answer not in the manual?

Table of Contents