FC_ReactionToString - General Information
Type: |
Function |
Available as of: |
V1.0.4.0 |
Generating a compact display for a reaction.
The function changes the axReaction array of a reaction to a string.
The change follows this pattern:
oaxReaction[1] := TRUE; + axReaction[15] := TRUE; ==> '1:15'
oaxReaction[4] := TRUE; ==> '4'
oaxReaction[3] := TRUE; + axReaction[11] := TRUE; + axReaction[20] := TRUE ==> '3:11:20'
ono reaction ==> ''
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnostic. A value unequal GD.ET_Diag.Ok equates an error message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = GD.ET_Diag.Ok -> status message q_etDiag <> GD.ET_Diag.Ok -> diagnostic message |
Input/Output |
Data type |
Description |
---|---|---|
iq_stReaction |
Structure of the reaction that shall be converted to a string. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The axReaction array of a function successfully was converted to a string.