214
Manual – IPOSplus®
17
Standard functions
Compiler – Functions
The following standard SEW structures are available for the _SetSys statement:
Instruction type
Standard structure
Elements
Brief description
_GetSys
GSAINPUT
Input1
Voltage value of analog input 1
Input2
Voltage value of analog input 2
GSAOUTPUT
Output1
Voltage value for optional analog output 1
Output2
Voltage value for optional analog output 2
GSCAM
SourceVar
Number of the variable on which the command is exe-
cuted
DbPreCtrl
Delay time feedforward in 0.1 ms
DestVar
Number of the variable which is to receive the result
BitPosition
Bit position in the result variable
BitValue
Polarity in the result variable
NumOfCam
Number of cam blocks (max. 4)
PosL1
CCW limit value of cam block 1
PosR1
CW limit value of cam block 1
PosL2
CCW limit value of cam block 2
PosR2
CW limit value of cam block 2
PosL3
CCW limit value of cam block 3
PosR3
CW limit value of cam block 3
PosL4
CCW limit value of cam block 4
PosR4
CW limit value of cam block 4
GSCAM_EXT
CamControl
Bit 31 must always be set.
0x8000 0000 = function inactive, no new cam outputs will
be generated, set outputs will be retained and deleted
after a reset or voltage off/on only.
0x8000 0001 = function active internally, but all cam out-
puts will be turned off
0x8000 0002 = function active if drive is referenced
(H473, Bit20 =1)
0x8000 0003 = function active even without referenced
drive
CamReserved1
Reserved
CamOutShiftLeft
Shifts the internal data buffer of the outputs by n digits to
the left before writing to the target variable CamDestina-
tion.
Note: The shifting process will delete the information of
the upper outputs. This means that if the shift factor is 3,
the upper 3 outputs with 4 ms cycle time are no longer
available, and the 4 outputs with 1 ms cycle time are
assigned to bits 3-6 and the output with 4 ms cycle time is
assigned to bit 7.
CamForceOn
Mask to set mandatory outputs; the mask affects the inter-
nal data buffer prior to shifting with CamOutShiftLeft (NOT
the target variable defined with CamDestination)
CamForceOff
Mask to delete mandatory outputs; the mask affects the
internal data buffer prior to shifting with CamOutShiftLeft
(NOT the target variable defined with CamDestination)
CamForceOff dominates CamForceOn
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n