(2)| 2/23/2021 1:19 PM | |
|
Posts: 198 Rating:
|
Hello Ashadako, LI_ERR signifies a parameter assignment error which maybe due to an invalid combination at inputs. LI_ERR_STATE is a DWORD value which can be calculated based on a number of factors (mainly related to exceptions with respect to control strategy, setpoint (for SFC types) OR handling of automatic commands (simulataneous, multiple commands etc.) and/OR execution options used. The following are the conditions for the occurence of the error and their respective LI_ERR_STATE calculation: ● Control strategy (SFC type only) The control strategy is checked when QPARAM = 1: Bit 0 - if control strategy high limit is violated (CS > CS_HL) Bit 0 - if control strategy low limit is violated (CS < CS_LL) Bit 0 - if control strategies exist (CS_LL > 0) and the prepared control strategy (CS) is not enabled (SELCS) ● Setpoint (SFC type only) The setpoint is checked when QPARAM = 1: Bit 1 - if setpoint high limit is violated (>_HL) Bit 1 - if setpoint low limit is violated (<_LL) Bit 1 - if setpoint high limit < low limit (_HL <_LL) ● Automatic commands: Bit 2 - more than one command at the same time (e.g., START and HOLD, etc.) Bit 3 - simultaneous changeover to MANUAL and AUTO (MAN = 1 and AUT = 1) ● Execution options: Bit 4 - SCT = 0 and SCT_TAC = 0 Bit 4 - SCT = 1 and SCT_TAC = 1 Hope this helps :) More information with respect to the Troubleshooting of SFC inputs/outputs can be found in Section 13.3.8 of the SFC for SIMATIC S7 Manual. |
Last edited by: Jen_Moderator at: 02/23/2021 13:48:26Optimized link. |
|
This contribution was helpful to
|
|
Follow us on