Manual – IPOSplus®
211
17
Standard functions
Compiler – Functions
Key points fnr Constant expression for the number of the fault (see list of faults in the operating
instructions)
r Constant expression for a fault response that can adopt the following values:
FR_SWOFF_F / FR_ESTOP_F / FR_RSTOP_F: Unit is reinitialized, i.e. IPOS
plus®
is re-
started.
FR_SWOFF_W / FR_ESTOP_W / FR_STOP_W: Unit is not reinitialized, i.e IPOS
plus®
continues to run.
Example
main()
{
_FaultReaction( 26,FR_SWOFF_F ); // Emergency stop / Malfunction with
ext. fault
}
17.3.8 _GetSys
Syntax
_GetSys( H, sys )
Description Loads the value of an internal system value in one or more IPOS
plus®
variables.
Key points H Name of the target variable or target structure
sys Expression that designates the system value. sys can adopt one of the following
values:
FR_NORESP: No response; error is not displayed.
FR_DISPLAY: Error is only displayed; unit continues to run.
FR_SWOFF_F: Output stage inhibit and unit inhibit. Reset required.
FR_ESTOP_F: Stop via emergency stop ramp with unit inhibit. Reset required.
FR_RSTOP_F: Stop via rapid stop ramp with unit inhibit. Reset required.
FR_SWOFF_W: Output stage inhibit without unit inhibit. Reset re-enables the unit.
FR_ESTOP_W: Stop via emergency stop ramp without unit inhibit. Reset re-enables the unit.
FR_RSTOP_W: Stop via rapid stop ramp without unit inhibit. Reset re-enables the unit.
GS_ACTCUR: Active current in 0.1% rated unit current
GS_ACTSPEED: actual speed in 0.1 rpm
GS_SPSPEED: Setpoint speed in 0.1 rpm
GS_ERROR: Error code according to the "Error messages and list of errors" table in the system manual
GS_SYSSTATE: Value of the 7-segment display in accordance with the table "Operating mode display" in
the system manual
GS_ACTPOS: Actual position depending on the encoder selected in P941 H509, H510 or H511
GS_SPPOS: Setpoint position H491
GS_TPOS: Target position of the profile generator
GS_INPUTS: Binary inputs H483 (MOVIDRIVE
®
A) / H520 (MOVIDRIVE
®
B) of the basic unit and options
GS_SYSSTATE: Identical to status word 1 of the fieldbus unit profile (fault code and operating status)
GS_OUTPUTS: Binary outputs H482 basic unit and options
GS_IxT: Unit utilization in 0.1% rated unit current
GS_ACTPOS / GS_SPPOS / GS_TPOS: Resolution depends on the encoder selected in P941:
– Motor encoder: 4096 Inc./revolution
– External encoder X14: Encoder resolution × P944
– DIP (SSI encoder): Encoder resolution × P955