Open OB 1 and program the following FB calls with associated DBs:
FB 873 - VMC_InitSigma7S_EC, DB 873
Ä
Chap. 13.2.2.5.3 ‘FB 873 - VMC_Init-
Sigma7S_EC - Sigma-7S EtherCAT Initialization’ page 360
At InputsStartAddressPDO respectively OutputsStartAddressPDO, enter the
address from the SPEED7 EtherCAT Manager.
Ä
353
ð
CALL "VMC_InitSigma7S_EC" , "DI_InitSgm7SETC01"
Enable :="InitS7SEC1_Enable"
LogicalAddress :=300
InputsStartAddressPDO :=300(EtherCAT-Man:S7 Input address)
OutputsStartAddressPDO:=300(EtherCAT-Man:S7 Output address)
EncoderType :=1
EncoderResolutionBits :=20
FactorPosition :=1.048576e+006
FactorVelocity :=1.048576e+006
FactorAcceleration :=1.048576e+002
OffsetPosition :=0.000000e+000
MaxVelocityApp :=5.000000e+001
MaxAccelerationApp :=1.000000e+002
MaxDecelerationApp :=1.000000e+002
MaxVelocityDrive :=6.000000e+001
MaxAccelerationDrive :=1.500000e+002
MaxDecelerationDrive :=1.500000e+002
MaxPosition :=1.048500e+003
MinPosition :=-1.048514e+003
EnableMaxPosition :=TRUE
EnableMinPosition :=TRUE
MinUserPosition :="InitS5EC1_MinUserPos"
MaxUserPosition :="InitS5EC1_MaxUserPos"
Valid :="InitS5EC1_Valid"
Error :="InitS5EC1_Error"
ErrorID :="InitS5EC1_ErrorID"
Config :="Axis01".Config
Axis :="Axis01".Axis
The Kernel processes the user commands and passes them appropriately processed on
to the drive via the respective bus system.
FB 872 - VMC_KernelSigma7_EC, DB 872
Ä
Chap. 13.2.2.5.2 ‘FB 872 - VMC_Ker-
nelSigma7_EC - Sigma-7 EtherCAT Kernel’ page 360
ð
CALL "VMC_KernelSigma7_EC" , "DI_KernelSgm7ETC01"
Init :="KernelS7EC1_Init"
Config:="Axis01".Config
Axis :="Axis01".Axis
OB 1
Configuration of the axis
Connecting the Kernel for
the axis
VIPA SPEED7
Motion control - Simple Motion Control Library
Usage Sigma-5/7 EtherCAT > Usage Sigma-7S EtherCAT
HB00 | OPL_SP7 | Operation list | en | 18-30 356