86
Manual – IPOSplus®
6
Cam controllers
Position Detection and Positioning
Startup of the cam
controller
Compiler: _GetSys(Cam1 ,GS_CAM );
initializes the cam controller and generates the status of an output with the data structure
as of the variable cam1
Assembler: GETSYS Hxx = CAM
initializes the cam controller and generates the status of an output with the data structure
as of the variable Hxx
Data structure of
the standard cam
controller
Variable Symbolic name of the
element in the SEW
standard structure
Brief description
H+0 GSCAM.SourceVar Number of the reference variable for the cam calculation, typical
reference variables are:
• H511 (Actual position, motor encoder)
• H510 (Actual position, SSI encoder)
• H509 (Actual position, external encoder)
• H455 (Actual position, motor encoder in modulo format)
e.g. H+0 = 511 for reference size H511, bit 31 of the variable must
be 0!
H+1 GSCAM.DbPreCtrl Delay time compensation in 0.1 ms to compensate the delay time
of an actuator connected to the inverter. The output is preset,
depending on the rate of change of the reference variable value, in
such a way that the output is switched in advance by this time inter-
val.
H+2 GSCAM.DestVar Number of variables in which the output will be set or reset
H+3 GSCAM.BitPosition Position of the bit in variable H+2; if the cam output is assigned to a
unit output (e.g. H481), this binary output is to be reserved with
P620 – P639 as an IPOS
plus®
output.
H+4 GSCAM.BitValue Polarity of the output, 0 = bit set, if the reference variable H+0 has
been set within the position window H+6 to H+13 1 = bit set, if refer-
ence variable H+0 outside the position window H+6 to H+13
H+5 GSCAM.NumOfCam Number of the position windows defined in H+6 to H+13; the left
limit value must always be smaller than the right one. If a modulo
axis requires a position window that exceeds the 360° - 0° limit,
then this range will have to be divided into two position windows.
This process lets the operator set three related ranges for this out-
put.
H+6 GSCAM.PosL1 CCW limit value of the first position window.
H+7 GSCAM.PosR1 CW limit value of the first position window
H+8 GSCAM.PosL2 CCW limit value of the second position window
H+9 GSCAM.PosR2 CW limit value of the second position window
H+10 GSCAM.PosL3 CCW limit value of the third position window
H+11 GSCAM.PosR3 CW limit value of the third position window
H+12 GSCAM.PosL4 CCW limit value of the fourth position window
H+13 GSCAM.PosR4 CW limit value of the fourth position window