S
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
SET |
BOOL |
|
|
|
Condition. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Q |
BOOL |
|
|
Output to be forced. |
Remarks
None
Truth Table
SET |
Q prev |
Q |
---|---|---|
0 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
FBD Language Example
- In the FBD Function block diagram - Describes a function between input variables and output variables. A function is described as a set of elementary blocks. Language, RS and SR function blocks A function block groups an algorithm and a set of private data.
It has inputs and outputs. are preferred.
- Use RS or SR function A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. blocks.
- (S) and (R) coils can be used.
FFLD Language Example
- In the FFLD Language, they are represented by (S) and (R) coils.
Example: Use of S coil:
IL Language Example
- In the IL Instruction list - This is a low-level language and resembles assembly. Language, S and R operators are available as standard instructions.
Op1: FFLD SET
S Q (* Q is forced to TRUE if SET is TRUE *)
(* Q is unchanged if SET is FALSE *)
ST Language Example
Not available.
See Also