218
Manual – IPOSplus®
17
Standard functions
Compiler – Functions
Key points
type
Expression for setting the travel type during reference travel. type can adopt one
of the following values:
The meaning of the individual letters is as follows:
Example
main()
{
_Go0( GO0_C_W_ZP ); // reference waiting for zero pulse
}
17.3.10 _GoAbs
Syntax
_GoAbs ( type, pos )
Description
Absolute positioning to the position specified.
The message "IPOS in position" is updated within a GOA or GOR command; that is, the
message can be queried directly in the next program line.
Key points
type
Expression for the type of movement command. type can adopt one of the follow-
ing values:
pos
Contains the absolute target position; the following can stand for pos:
GO0_C_W_ZP
GO0_U_W_ZP
GO0_C_NW_ZP
GO0_U_NW_ZP
GO0_C_W_CAM
GO0_U_W_CAM
GO0_C_NW_CAM
GO0_U_NW_CAM
GO0_RESET
C (Conditional) =
Reference travel only if reference travel has not yet been performed
U (Unconditional) =
Always referenced, regardless of whether the axis is already referenced or not
W (Wait) =
Waits in this statement line until reference travel performed
NW (NoWait) =
Process the next statement line during reference travel (recommendation)
ZP (Zero Pulse) =
Reference travel to zero pulse
CAM =
Reference travel to the reference cam
RESET =
Reference travel which has started is interrupted and the call is reset. An axis
which has been referenced is now de-referenced.
INFORMATION
ZP and CAM have no effect if reference travel type P903 is set to 0, 5 or 8. If reference
travel type P903 is set to type 3 or 4, CAM cannot be set.
INFORMATION
If the modulo function is used for positioning, the commands GOA and GOR cannot
be used. The target position is written directly to H454.
GO_NOWAIT: No wait, resumes processing of the program in the next statement line immediately after
sending the movement command (recommendation)
GO_WAIT: Waits in this statement line until travel is completed
Constant expression for target position
Name of a variable containing the target position
Pointer to a variable containing the distance (indirect addressing).
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n