Function Blocks
Overview
The FBD editor uses various functions blocks accessible through the
bar in the Toolbox:
Block |
Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
Counter Block
The function performs a comparative
count, saving both the counter current and counter preset values to
temporary registers.
FBD symbol |
Arguments |
Description |
---|---|---|
Properties |
K: Counter preset value (UINT 0 to 65,535). |
|
Inputs |
|
|
Outputs |
|
Counter NV Block
The function performs a comparative
count, saving both the counter current and counter preset values to
non-volatile registers.
FBD symbol |
Arguments |
Description |
---|---|---|
Properties |
K: Counter preset value (UINT 0 to 65,535). |
|
Inputs |
|
|
Outputs |
|
Volatile Latch Block
The function records and retains
signal history in a temporary register.
FBD symbol |
Arguments |
Description |
---|---|---|
Inputs |
|
|
Outputs |
|
Non Volatile Latch Block
The function records and retains
signal history in a non-volatile register.
FBD symbol |
Arguments |
Description |
---|---|---|
Inputs |
|
|
Outputs |
|
Multiplexer Block
The function enables you to
choose between two 16-bit unsigned values.
Timer Seconds Block
The function measures time in
intervals of seconds.
FBD symbol |
Timing diagram |
Arguments |
Description |
---|---|---|---|
Inputs |
|
||
Outputs |
NOTE: Both outputs can never be simultaneously ON.
|
Timer Tenths Seconds Block
The function measures time in
intervals of tenths of seconds.
TIMER_TENTHS
command is 10. For example,
if the required value is 6 seconds, the input value should be multiplied
by a factor of 10, meaning the input value provided should be 60 seconds.
FBD symbol |
Timing diagram |
Arguments |
Description |
---|---|---|---|
Inputs |
|
||
Outputs |
NOTE: Both outputs can never be simultaneously ON.
|