FC_FirstStep - General Information
|
Type: |
Function |
|
Available as of: |
V1.0.4.0 |
The function for setting the first step of a command table.
The function helps to initialize tables easily.
The function writes a 1 into iq_udiStepIndex. The first field index of the table is assigned with this variable.
10 is entered into iq_diStep. This is the identification of the first step / command for the FB_ModuleController.
|
Output |
Data type |
Description |
|---|---|---|
|
q_etDiag |
General, library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to an error message. |
|
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Error message |
|
Input/Output |
Data type |
Description |
|---|---|---|
|
iq_udiStepIndex |
UDINT |
Input/output for the variable for managing the index within the command table. |
|
iq_diStep |
DINT |
Input/output for the variable for managing the step number of the command to be entered. |
|
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
|---|---|---|---|
|
OK |
0 |
Ok |
|
Enumeration name: |
Ok |
|
Enumeration value: |
0 |
|
Description: |
Ok |
The applied variables for managing the index and the step number successfully have been prepared for the entry of the first command of the command table.