fix
This commit is contained in:
1 parent
80a39f283b
commit
c5f6fc156e
2 files changed
+13
-6
No files matched your search
@@ -63,12 +63,12 @@ encoder:
|
||||
|
||||
controller:
|
||||
Kp: 1 # Proportional gain
|
||||
Ki: 0 # Ki integral gain
|
||||
Kd: 0 # Kd derivative gain
|
||||
Ki: 0.1 # Ki integral gain
|
||||
Kd: 1.5 # Kd derivative gain
|
||||
Kff: 1 # Feed-forward gain
|
||||
|
||||
trajectory:
|
||||
type: 0 # 0 = trapezoidal, 1 = S-curve (Ruckig)
|
||||
type: 1 # 0 = trapezoidal, 1 = S-curve (Ruckig)
|
||||
source: 0 # 0 = take trajectory setpoint from axis traj object, 1 =trajectory setpoint from plc
|
||||
axis:
|
||||
velocity: 2 # Default velo for axis
|
||||
|
||||
@@ -1,22 +1,25 @@
|
||||
axis: # Physical-axis configuration
|
||||
id: ${AXIS_ID=1} # Unique numeric axis identifier
|
||||
feedSwitchesOutput: ec0.s${BO_SID}.binaryOutput${BO_CH=04} # EtherCAT output that feeds the limit switches
|
||||
#feedSwitchesOutput: ec0.s${BO_SID}.binaryOutput${BO_CH=04} # EtherCAT output that feeds the limit switches
|
||||
type: joint # Physical motor axis
|
||||
mode: CSV # Drive mode: CSV or CSP; CSP is required for this EL7062
|
||||
autoEnable: # Native ecmc automatic axis enable/disable
|
||||
enableTimeout: 10 # Maximum time allowed to auto-enable [s]
|
||||
disableTimeout: 10 # Idle time before automatic disable [s]
|
||||
tweakDist: 1.0
|
||||
|
||||
plc: # Axis PLC configuration
|
||||
id: 1 # PLC identifier
|
||||
enable: yes # Enable the axis PLC
|
||||
enable: true # Enable the axis PLC
|
||||
externalCommands: true # Allow the PLC to issue axis commands
|
||||
|
||||
epics: # EPICS interface configuration
|
||||
name: ${AX_NAME=M1} # Axis process-variable name
|
||||
precision: 3 # EPICS PREC field: displayed decimal places
|
||||
description: OWIS Stage EL7062 # Axis description
|
||||
description: OWIS stage with TR SSI encoder / EL7062 # Axis description
|
||||
unit: mm # EPICS EGU field: engineering unit
|
||||
motorRecord: # EPICS motor-record configuration
|
||||
enable: false
|
||||
syncSoftLimits: False # Keep motor-record and ecmc soft limits unsynchronized
|
||||
fieldInit: 'RTRY=0,FOFF=Frozen' # Additional motor-record field initial values
|
||||
|
||||
@@ -26,6 +29,10 @@ drive: # Physical-drive co
|
||||
type: 1 # Drive type: 0=stepper; 1=DS402 servo/advanced stepper
|
||||
setpoint: ec0.s$(DRV_SID).velocitySetpoint01 # EtherCAT position-setpoint entry for CSP mode
|
||||
control: ec0.s$(DRV_SID).driveControl01 # EtherCAT drive control-word entry
|
||||
enable: 0 # Enable bit index in control word (not used if DS402)
|
||||
reset: 1 # Reset bit in control word (if no drive reset bit then leave empty)
|
||||
reduceTorque: 2 # Reduce torque bit in drive control word
|
||||
reduceTorqueEnable: true # Enable reduce torque functionality
|
||||
status: ec0.s$(DRV_SID).driveStatus01 # EtherCAT drive status-word entry
|
||||
warning: 2 # Warning-bit index in the drive status word
|
||||
error: # Drive-error bit indices in the status word; maximum three
|
||||
|
||||
Reference in new issue
Block a user