Simotion 凸轮同步,偏移凸轮起点

将同步对象的 SyncingMotion.camReferenceBySlaveModeRelative 修改为 POSITION_AT_START_OF_CAMMING

myRetDINT :=
    _enableCamming(
        followingObject := 
        // ,direction := USER_DEFAULT
        // ,masterMode := USER_DEFAULT
        // ,slaveMode := USER_DEFAULT
        // ,cammingMode := USER_DEFAULT
        ,cam := 
        // ,synchronizingMode := USER_DEFAULT
        // ,syncPositionReference := USER_DEFAULT
        // ,syncProfileReference := USER_DEFAULT
        // ,syncLengthType := USER_DEFAULT
        // ,syncLength := 0.0
        // ,camStartPositionMasterType := USER_DEFAULT
        // ,camStartPositionMaster := 0.0
        // ,syncPositionMasterType := USER_DEFAULT
        // ,syncPositionMaster := 0.0
        // ,syncPositionSlaveType := USER_DEFAULT
        // ,syncPositionSlave := 0.0
        // ,velocityType := USER_DEFAULT
        // ,velocity := 100.0
        // ,positiveAccelType := USER_DEFAULT
        // ,positiveAccel := 100.0
        // ,negativeAccelType := USER_DEFAULT
        // ,negativeAccel := 100.0
        // ,positiveAccelStartJerkType := USER_DEFAULT
        // ,positiveAccelStartJerk := 100.0
        // ,positiveAccelEndJerkType := USER_DEFAULT
        // ,positiveAccelEndJerk := 100.0
        // ,negativeAccelStartJerkType := USER_DEFAULT
        // ,negativeAccelStartJerk := 100.0
        // ,negativeAccelEndJerkType := USER_DEFAULT
        // ,negativeAccelEndJerk := 100.0
        // ,velocityProfile := USER_DEFAULT
        // ,mergeMode := SEQUENTIAL
        // ,nextCommand := IMMEDIATELY
        // ,commandId := (0,0)
        // ,synchronizingDirection := USER_DEFAULT
);

posted on 2019-01-14 17:12  lion_zheng  阅读(570)  评论(0编辑  收藏  举报

导航