Axis YAML settings reference

Reference for Axis YAML configuration, grouped by section. Types are generated from the ECB schema; Python/Jinja may accept different forms. A mapping is a YAML block. Boolean fields accept true/false and binary integers 1/0 in both backends. Defaults apply when the parent section exists; a dash means no documented fallback. Requirements distinguish loader, template and recommended explicit settings. Python discards unknown keys; ECB rejects them. See the complete example for usage.

axis

KeyType (ECB schema)DescriptionRequirementDefault
axis.idinteger / stringAxis id. If omitted, the template uses the next id derived from ECMC_AXIS_NO; set it explicitly for stable references.optional; explicit id recommendednext id from ECMC_AXIS_NO
axis.typestring / integerAxis type; defaults to physical/joint (1). Virtual/end_effector is 2.optionaljoint
axis.modestringDrive mode: CSV, CSP or CSP_PC; defaults to CSV.optionalCSV
axis.parametersstringAdditional motor driver options. restoreMotorSoftLims=1; lets initialized/autosave-restored motor dial limits override ECMC at startup and also enables ongoing synchronization. See autosave. — Additional motor driver options (e.g. powerAutoOnOff, powerOffDelay, powerOnDelay). restoreMotorSoftLims=1; enables startup restoration of motor dial limits and ongoing synchronization; see autosave.optional—
axis.healthOutputstringEtherCAT entry for health output — EtherCAT entry for health output.optional—
axis.feedSwitchesOutputstringEtherCAT entry for fed switches — EtherCAT entry for fed switches.optional—
axis.feedSwitchesValueintegerValue to write to axis.feedSwitchesOutput. Defaults to 1 — Value written to axis.feedSwitchesOutput; defaults to 1.optional1
axis.groupstringAdd axis to group (group will be created if it does not exist) — Group name; creates/uses a group and stores its id in GRP_<axis.group>_ID. See Axis Groups.optional—
axis.autoModemappingAuto-switch drive modes for motion/homing.optional—
axis.autoMode.modeSetstringEtherCAT entry drive mode write (set CSV,CSP,homing) — EtherCAT entry to write drive mode (CSV/CSP/homing).optional—
axis.autoMode.modeActstringEtherCAT entry drive mode reading (set CSV,CSP,homing) — EtherCAT entry reading drive mode.optional—
axis.autoMode.modeCmdMotionintegerDrive mode value for normal motion (written to axis.drvMode.modeSet when normal motion) — Drive mode value used during normal motion.optional—
axis.autoMode.modeCmdHomeintegerDrive mode value for when homing (written to axis.drvMode.modeSet when homing) — Drive mode value used during homing.optional—
axis.featuresmappingFeature switches.optional—
axis.features.blockCombooleanBlock communication to axis — Block communication to axis.optional—
axis.features.allowSrcChangeWhenEnabledbooleanAllow traj/enc source change when axis is enabled — Allow trajectory/encoder source change while enabled.optional—
axis.features.allowedFunctions.homingbooleanAllow homing — Allow homing.optional—
axis.features.allowedFunctions.constantVelocitybooleanAllow constant velocity — Allow constant velocity mode.optional—
axis.features.allowedFunctions.positioningbooleanAllow positioning — Allow positioning.optional—
axis.autoEnablemappingNative ecmc auto enable/disable. Preferred over motor record auto-enable.optional—
axis.autoEnable.enableTimeoutfloatIf defined, ecmc tries to auto-enable for a maximum enableTimeout seconds. — Try auto-enable for at most this many seconds.optional-1.0
axis.autoEnable.disableTimeoutfloatIf defined, ecmc disables axis after idle (non busy) in disableTime seconds — Disable after being idle this many seconds.optional-1.0
axis.autoEnable.autoDisableLatchAtTargetbooleanKeep the auto-disable timer active after AtTarget has been asserted once — After the first AtTarget assertion, allow the auto-disable timer to continue if AtTarget is later lost (default false).optionalfalse
axis.autoEnable.atStartupbooleanAuto enable axis at ioc start, default False — Auto-enable at IOC start (default false).optionalfalse
axis.tweakDistfloatTweak value (both ecmc interface and motor record tweak value) — Tweak value for both ecmc and motor record.optional1.0
axis.features.disableOnResetbooleanDisable the axis on error reset.optional—
axis.features.alarmAtHardLimitsbooleanRaise an axis error on hard-limit activation; recovery requires disabling this feature.optional—

epics

KeyType (ECB schema)DescriptionRequirementDefault
epics.namestringPV name suffix; defaults to axis. Set a unique name for each axis.optional; unique name recommendedaxis
epics.precisionintegerDecimal count — PREC; default 3.optional3
epics.descriptionstringAxis description — Axis description.optional—
epics.unitstringUnit — EGU; default mm.optionalmm
epics.motorRecordmappingMotor record block.optional—
epics.motorRecord.enablebooleanEnable motor record — Enable motor record.optionaltrue
epics.motorRecord.descriptionstringThis is MR — Motor record description.optional—
epics.motorRecord.fieldInitstringExtra config for motor record — Additional motor record fields.optional—
epics.motorRecord.syncSoftLimitsbooleanSync softlimits between motor and ecmc (default false; restoreMotorSoftLims=1 overrides this to enabled). When synchronization is disabled, motor record HLM/LLM and ecmc soft limits may differ. On false->true, ecmc soft limits are copied to the motor record; while true, later motor record soft-limit changes are written back to ecmc. — Sync soft limits between motor record and ecmc (default false; restoreMotorSoftLims=1 overrides this to enabled). When synchronization is disabled, motor record HLM/LLM and ecmc soft limits may differ. On false-to-true, ecmc soft limits are copied to the motor record; while true, later motor record soft-limit changes are written back to ecmc.optionalfalse
epics.motorRecord.restoreSoftLimitsbooleanRestore motor DLLM/DHLM into ecmc at startup and keep the two interfaces synchronized; see the autosave guide. — Allow initialized or autosave-restored motor dial limits to override the YAML-derived ecmc limits during startup. This also enables ongoing motor/ecmc soft-limit synchronization; use with the documented startup gate and autosave request files.optional; startup policyfalse
epics.motorRecord.pvtmappingPVT/profile-move support.optional—
epics.motorRecord.pvt.npointsintegerMax number of target points for PVT/profile move — Max number of target points.optional0
epics.motorRecord.pvt.nreadbackintegerMax number of readback points for PVT/profile move — Max number of readback points.optional0

drive

KeyType (ECB schema)DescriptionRequirementDefault
drive.numeratorinteger / float / stringDrive scale numerator; CSV uses velocity scaling, CSP uses position scaling. The schema default 0 is not a usable hardware scale.optional; configure scaling explicitly0
drive.denominatorinteger / floatDrive scale denominator; configure it together with numerator for the selected drive mode.optional1
drive.typeintegerStepper: 0. DS402: 1 (DS402 = servos and advanced stepper drives) — 0=stepper, 1=DS402 (servo/advanced stepper).optional0
drive.controlstringControl word EtherCAT entry — Control word EtherCAT entry.required—
drive.enableintegerEnable bit index; non-DS402 defaults to bit 0 with a warning. Ignored for DS402.optional; non-DS402 only0
drive.enabledintegerEnabled status bit index; non-DS402 defaults to bit 1 with a warning. Ignored for DS402.optional; non-DS402 only1
drive.statusstringStatus word EtherCAT entry — Status word EtherCAT entry.required—
drive.setpointstringVelocity setpoint if CSV. Position setpoint if CSP. F32/F64 CSV setpoints are supported; F32/F64 CSP setpoints require the selected CSP encoder actual-position entry to use the same datatype. — Velocity setpoint if CSV; position setpoint if CSP. F32/F64 CSV setpoints are supported. F32/F64 CSP setpoints require the selected CSP encoder actual-position entry to use the same datatype.required—
drive.reduceTorqueintegerReduce-torque control bit; requires reduceTorqueEnable and control.optional—
drive.reduceTorqueEnablebooleanEnable reduce-torque handling; requires reduceTorque and control.optional—
drive.brakemappingBrake control block.optional—
drive.brake.enablebooleanEnable brake control.required when drive.brake is present—
drive.brake.outputstringEtherCAT link to brake output — EtherCAT link to brake output.required when drive.brake is present—
drive.brake.openDelayintegerBrake timing parameter in cycles (default 1kHz) — Legacy cycle/sample value; prefer drive.brake.openDelayMs. — Brake open delay in cycles. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optional0
drive.brake.openDelayMsinteger / floatPreferred duration in milliseconds; alternative to drive.brake.openDelay. Converted using ECMC real-time sample rate at IOC startup. Rounded up to whole cycles.optional—
drive.brake.closeAheadintegerBrake timing parameter in cycles (default 1kHz) — Legacy cycle/sample value; prefer drive.brake.closeAheadMs. — Brake close-ahead time in cycles. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optional0
drive.brake.closeAheadMsinteger / floatPreferred duration in milliseconds; alternative to drive.brake.closeAhead. Converted using ECMC real-time sample rate at IOC startup. Rounded up to whole cycles.optional—
drive.resetintegerReset (if no drive reset bit then leave empty) — Reset bit.optional—
drive.warningintegerWarning (if no drive warning bit then leave empty) — Warning bit.optional—
drive.errorlistUp to three error bit indices or full EtherCAT paths. Omit unused entries; do not use empty/null list items. The schema requires status when error is supplied.optional, up to 3 entries—
drive.lookuptablemappingPosition-dependent CSV output compensation; see the drive output lookup-table guide.optional; CSV only—
drive.lookuptable.filenamestringLoad position-dependent CSV drive-output compensation table. — Two-column LUT file: actual position and drive-command offset, both in engineering units.required when drive.lookuptable is present—
drive.lookuptable.enablebooleanEnable or disable drive lookup-table compensation. — Enable compensation; a valid loaded table is enabled by default.optionaltrue after a valid table is loaded (ecmc)
drive.lookuptable.scaleinteger / floatScale or invert the compensation value. — Multiplier applied to the engineering-unit LUT output before normal drive scaling.optional1.0
drive.lookuptable.rangeinteger / floatOptional modulo range in axis position engineering units. — Positive modulo range applied to actual position before lookup; zero disables wrapping.optional0

encoder

KeyType (ECB schema)DescriptionRequirementDefault
encoder.numeratorinteger / string / floatEncoder scale numerator in engineering units. The schema default 0 is not a usable hardware scale.optional; configure scaling explicitly0.0
encoder.denominatorinteger / float / stringScaling denominator example 4096 ticks per 360 degree — Scaling denominator (e.g. ticks per rev).optional1
encoder.typeintegerType: 0=Incremental, 1=Absolute — 0=incremental, 1=absolute.optional0
encoder.bitsintegerBit count used for ecmc’s encoder value; does not alter the raw EtherCAT slave value — Bit count used for ecmc’s encoder value; it does not alter the raw EtherCAT slave value.optional16
encoder.absBitsintegerAbsolute bit count (for absolute encoders) always least significant part of ‘bits’ — Absolute bit count (LSBs of bits).optional25
encoder.absOffsetinteger / float / stringEncoder offset in eng units (for absolute encoders) — Offset in engineering units for absolute encoders.optional0.0
encoder.maskstringMask applied to ecmc’s encoder value; the original EtherCAT value remains visible in the hardware PVs — Mask applied to ecmc’s encoder value, not the raw EtherCAT slave value. The original value remains visible in the EtherCAT hardware PVs.optional—
encoder.positionstringEtherCAT entry for actual position input (encoder). F32/F64 actual-position entries are only valid for absolute encoders (encoder.type: 1). Keep encoder.bits and encoder.absBits aligned with the datatype width (32/32 or 64/64). — EtherCAT entry for actual position. F32/F64 actual-position entries are only valid for absolute encoders (type: 1). Keep bits and absBits aligned with the datatype width (32/32 or 64/64).required for EtherCAT position feedback (source 0)—
encoder.controlstringMandatory only if ‘reset’ is used — Encoder control word entry.optional; required if reset is used—
encoder.statusstringEncoder status word entry; required with ready, warning or error.required with ready, warning or error—
encoder.readyintegerBit in encoder status word for encoder ready — Status bit for encoder ready.optional—
encoder.sourceinteger0 = Encoder value from EtherCAT hardware, 1 = Encoder value from PLC — 0=from EtherCAT hardware, 1=from PLC.optional0
encoder.resetintegerReset — Reset bit.optional—
encoder.warningintegerWarning — Warning bit.optional—
encoder.errorlistUp to three error bit indices or full EtherCAT paths. Omit unused entries; do not use empty/null list items. The schema requires status when error is supplied.optional, up to 3 entries—
encoder.filtermappingEncoder filtering uses nested velocity and position blocks, each with size and enable. See the encoder-filter example in the YAML configuration guide.optional—
encoder.filter.velocity.sizeintegerLegacy cycle/sample value; prefer encoder.filter.velocity.timeMs. — Velocity filter window in EtherCAT samples/cycles; applies when encoder.filter.velocity is supplied. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optional100
encoder.filter.velocity.timeMsinteger / floatPreferred duration in milliseconds; alternative to encoder.filter.velocity.size. Converted using ECMC real-time sample rate at IOC startup. Rounded up to at least one sample.optional—
encoder.filter.velocity.enablebooleanEnable the encoder velocity filter; defaults to true when encoder.filter.velocity is supplied.optionaltrue
encoder.filter.position.sizeintegerLegacy cycle/sample value; prefer encoder.filter.position.timeMs. — Position filter window in EtherCAT samples/cycles; applies when encoder.filter.position is supplied. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optional10
encoder.filter.position.timeMsinteger / floatPreferred duration in milliseconds; alternative to encoder.filter.position.size. Converted using ECMC real-time sample rate at IOC startup. Rounded up to at least one sample.optional—
encoder.filter.position.enablebooleanEnable the encoder position filter; defaults to true when encoder.filter.position is supplied.optionaltrue
encoder.latchmappingHoming latch settings. For EL7062/ED7062 touch-probe use outside homing, prefer the separate touchProbe section.optional—
encoder.latch.positionstringLink to latched value. Used for some homing seqs — Latched value link.required when encoder.latch is present—
encoder.latch.timestampstringOptional 32/64-bit DC timestamp for the same latch event — Optional DC timestamp for the same latch event.optional—
encoder.latch.controlintegerBit in encoder control word to arm latch. Used for some homing seqs — Control bit to arm latch.optional0
encoder.latch.statusintegerBit in encoder status word for latch triggered status. Used for some homing seqs — Status bit for latch triggered.optional0
encoder.latch.armCmdintegerValue in dec to arm latch to write to encoder.control — Value written to encoder.control to arm latch.optional1
encoder.latch.armBitsintegerBit size of encoder.latch.armCmd — Bit length of armCmd.optional1
encoder.touchProbemappingEncoder touch-probe mapping separate from homing latch.optional—
encoder.touchProbe.positionstringLink to touch-probe latched position. Used for touch-probe functionality separate from homing latch. — Latched touch-probe position entry.required when encoder.touchProbe is present—
encoder.touchProbe.timestampstringOptional 32/64-bit DC timestamp for the same touch-probe edge — Optional 32- or 64-bit DC timestamp entry for the same edge.optional—
encoder.touchProbe.controlstringTouch-probe control word entry — Touch-probe control word entry.required when encoder.touchProbe is present—
encoder.touchProbe.controlBitintegerFirst bit in touch-probe control word to write armBits bits from armCmd; default 0 — First bit to write in the control word (default 0).optional0
encoder.touchProbe.statusstringTouch-probe status word entry — Touch-probe status word entry.required when encoder.touchProbe is present—
encoder.touchProbe.statusBitintegerStatus bit for captured touch-probe event; default 0 — Status bit that indicates a captured event (default 0).optional0
encoder.touchProbe.armCmdintegerValue in dec to arm touch probe; default 17 for EL7062/ED7062 TP1 positive edge — Value written to arm the touch probe (default 17, EL7062/ED7062 TP1 positive edge).optional17
encoder.touchProbe.armBitsintegerBit size of encoder.touchProbe.armCmd; default 5 — Number of bits written from armCmd (default 5).optional5
encoder.primarybooleanUse this encoder as primary (for control) — Use as primary encoder for control.optional—
encoder.useAsCSPDrvEncbooleanUse this encoder as CSP drive encoder (ecmc controller enabled in CSP) — Use as CSP drive encoder when controller enabled in CSP.optional—
encoder.allowOverUnderFlowbooleanAllow over/under flow of encoder raw counter (default true). Set to false for linear encoders.optionaltrue (ecmc default; no YAML command if omitted)
encoder.homingmappingEncoder homing settings.optional—
encoder.homing.typeintegerHoming sequence type — Homing sequence type.optional—
encoder.homing.positioninteger / float / stringPosition to reference encoder to — Referenced position.optional—
encoder.homing.velocity.tointeger / floatVelocity to cam/sensor (used for some homing seqs) — Velocity to cam/sensor.optional—
encoder.homing.velocity.frominteger / floatVelocity from cam/sensor (used for some homing seqs) — Velocity off cam/sensor.optionalvelocity.to
encoder.homing.accelerationinteger / floatHoming acceleration in engineering units/s².optional—
encoder.homing.decelerationinteger / floatHoming deceleration in engineering units/s².optional—
encoder.homing.refToEncIDAtStartupintegerEncoder id used as startup position reference; -1 disables copying.optional-1
encoder.homing.refAtHomeintegerEnable referencing this encoder at homing (integer flag, default 0).optional0
encoder.homing.tolToPriminteger / floatIf set then this is the max allowed tolerance between prim encoder and this encoder — Max tolerance vs primary encoder.optional0
encoder.homing.postMoveEnablebooleanEnable post-homing move; true requires postMovePosition.optionalno command if omitted
encoder.homing.postMovePositioninteger / float / stringPost-homing target in engineering units; required when postMoveEnable is true.required when postMoveEnable is trueno target inferred
encoder.homing.triggstringEtherCAT entry for triggering drive internal homing seq (seq id 26) — EtherCAT entry to trigger drive internal homing sequence.optional—
encoder.homing.readystringEtherCAT entry for reading drive internal homing seq ready (seq id 26) — Status entry for drive internal homing ready.optional—
encoder.homing.latchCountintegerLatch count offset for homing.optional—
encoder.delayCompmappingDelay compensation between set and act.optional—
encoder.delayComp.timeinteger / floatDelay time between set and act [cycles] — Legacy cycle/sample value; prefer encoder.delayComp.timeMs. — Delay time in cycles. Millisecond alternatives are preferred; do not specify both forms of the same parameter.required when encoder.delayComp is present—
encoder.delayComp.timeMsinteger / floatPreferred duration in milliseconds; alternative to encoder.delayComp.time. Converted using ECMC real-time sample rate at IOC startup. Fractional cycles preserved.required when encoder.delayComp is present—
encoder.delayComp.enablebooleanenable (defaults to 1 if not set) — Enable flag (defaults to true if set).optionaltrue
encoder.lookuptablemappingCorrection lookup table (applied when homed).optional—
encoder.lookuptable.filenamestringLoad correction lookup table file. Value will be subtracted from encoder value. — LUT file; value subtracted from encoder value.required when encoder.lookuptable is present—
encoder.lookuptable.enablebooleanEnable lookup table (defaults to true when loaded); use a YAML boolean.optionaltrue after a valid table is loaded (ecmc)
encoder.lookuptable.scaleinteger / floatScale applied to LUT (if you want value to be added then set scale to -1.0) — LUT scale; set to -1.0 to add instead of subtract.optionalno command if omitted
encoder.lookuptable.rangeinteger / floatLUT modulo value (LUT should cover the range 0..range) — Modulo range the LUT covers.optionalno command if omitted
encoder.descstringEncoder description.optional—
encoder.unitstringEncoder engineering unit.optional—
encoder.homing.timeoutintegerHoming sequence timeout in seconds.optional—
encoder.power.enablebooleanEnable automatic encoder relay power control. — Enable automatic encoder relay power control. See encoder power control.optional; see encoder power configurationfalse
encoder.power.outputstringWritable EtherCAT bit path; required when enabled. A supplied output is also linked when enable is false. — Writable EtherCAT bit path; required when enabled. A supplied output is also linked when enable is false. See encoder power control.optional; see encoder power configuration—
encoder.power.activeHighbooleanLogical ON writes 1 when true, 0 when false. — Logical ON writes 1 when true, 0 when false. See encoder power control.optional; see encoder power configurationtrue
encoder.power.startupDelayinteger / floatMinimum warm-up delay, seconds. — Minimum warm-up delay, seconds. See encoder power control.optional; see encoder power configuration0.1
encoder.power.startupTimeoutinteger / floatMaximum wake time, seconds; greater than startupDelay. — Maximum wake time, seconds; greater than startupDelay. See encoder power control.optional; see encoder power configuration5.0
encoder.power.idleDelayinteger / floatContinuous atTarget/tighter-deadband dwell before off, seconds. — Continuous atTarget/tighter-deadband dwell before off, seconds. See encoder power control.optional; see encoder power configuration2.0
encoder.power.backup.encoderintegerAlways-powered incremental backup index (checked at final startup validation), 1…8. — Always-powered incremental backup index (checked at final startup validation), 1…8. See encoder power control.optional; see encoder power configuration—
encoder.power.backup.maxPositionDifferenceinteger / floatPositive permitted wake discrepancy, engineering units. — Positive permitted wake discrepancy, engineering units. See encoder power control.optional; see encoder power configuration—
encoder.filter.trajectory.timeMsinteger / floatPreferred duration in milliseconds, converted to cycles at startup. Do not specify both forms. — Millisecond alternative to legacy encoder.filter.trajectory.size.optional—

controller

KeyType (ECB schema)DescriptionRequirementDefault
controller.Kpinteger / floatKp proportional gain — Proportional gain.optional1
controller.Kiinteger / floatKi integral gain; alternative to controller.TiMs. — Integral gain. controller.TiMs is an optional alternative to controller.Ki.optional0
controller.TiMsinteger / floatIntegral time in milliseconds; Ki = 1000Kp/(sampleRateHzTiMs). Zero disables I. Alternative to controller.Ki; do not specify both.optional—
controller.Kdinteger / floatKd derivative gain; alternative to controller.TdMs. — Derivative gain. controller.TdMs is an optional alternative to controller.Kd.optional0
controller.TdMsinteger / floatDerivative time in milliseconds; Kd = KpTdMssampleRateHz/1000. Zero disables D. Alternative to controller.Kd; do not specify both.optional—
controller.Kffinteger / floatFeed forward gain — Feed-forward gain.optional1
controller.resetIAtRmpbooleanReset the integral part to zero while an internal trajectory is busy.optionalno command if omitted
controller.freezeIAtRmpbooleanFreeze the integral part at its current value while an internal trajectory is busy.optionalno command if omitted
controller.deadband.tolinteger / floatDeadband tolerance in engineering units; supply together with time.optional—
controller.deadband.timeinteger / floatLegacy cycle/sample value; prefer controller.deadband.timeMs. — Deadband time in EtherCAT cycles; supply together with tol. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optional—
controller.deadband.timeMsinteger / floatPreferred duration in milliseconds; alternative to controller.deadband.time. Converted using ECMC real-time sample rate at IOC startup. Rounded up to whole cycles.optional—
controller.limits.minOutputinteger / floatMinimum controller output. Output limiting is active only when maxOutput > minOutput; minOutput=0 and maxOutput=0 disables it. — Output clamps. Active only when maxOutput > minOutput; both 0 disables the limits.optional—
controller.limits.maxOutputinteger / floatMaximum controller output. Output limiting is active only when maxOutput > minOutput; minOutput=0 and maxOutput=0 disables it.optional—
controller.limits.minIntegralinteger / floatMinimum integral output. Integral limiting is active only when maxIntegral > minIntegral; minIntegral=0 and maxIntegral=0 disables it. — Integral clamps. Active only when maxIntegral > minIntegral; both 0 disables the limits.optional—
controller.limits.maxIntegralinteger / floatMaximum integral output. Integral limiting is active only when maxIntegral > minIntegral; minIntegral=0 and maxIntegral=0 disables it.optional—
controller.inner.Kpinteger / floatInner PID used near target. Defaults when inner is present: Kp=1, Ki=0, Kd=0, tol=0; set tol explicitly to select the inner control band. controller.inner.TiMs is an optional alternative to controller.inner.Ki. controller.inner.TdMs is an optional alternative to controller.inner.Kd.optional1.0
controller.inner.Kiinteger / floatDirect discrete gain; alternative to controller.inner.TiMs.optional0
controller.inner.Kdinteger / floatDirect discrete gain; alternative to controller.inner.TdMs.optional0
controller.inner.tolinteger / floatInner PID used near target. Defaults when inner is present: Kp=1, Ki=0, Kd=0, tol=0; set tol explicitly to select the inner control band. controller.inner.TiMs is an optional alternative to controller.inner.Ki. controller.inner.TdMs is an optional alternative to controller.inner.Kd.optional0
controller.inner.TiMsinteger / floatIntegral time in milliseconds; Ki = 1000Kp/(sampleRateHzTiMs). Zero disables I. Alternative to controller.inner.Ki; do not specify both.optional—
controller.inner.TdMsinteger / floatDerivative time in milliseconds; Kd = KpTdMssampleRateHz/1000. Zero disables D. Alternative to controller.inner.Kd; do not specify both.optional—

trajectory

KeyType (ECB schema)DescriptionRequirementDefault
trajectory.typeintegerDefault 0 = trapezoidal, 1 = S-curve (ruckig) — 0=trapezoidal, 1=s-curve (ruckig); defaults to trapezoidal.optional0
trajectory.sourceinteger0 = take trajectory setpoint from axis traj object, 1 = trajectory setpoint from plc — 0=trajectory generator, 1=PLC source.optional0
trajectory.axis.velocityinteger / floatDefault velocity for axis — Default velocity.required—
trajectory.axis.accelerationinteger / floatDefault acceleration for axis — Default acceleration.required—
trajectory.axis.decelerationinteger / floatDeceleration in engineering units/s²; defaults to axis acceleration.optionaltrajectory.axis.acceleration
trajectory.axis.emergencyDecelerationinteger / floatEmergency deceleration in engineering units/s²; defaults to ten times the greater of axis acceleration and deceleration.optional10 × max(acceleration, deceleration)
trajectory.axis.jerkinteger / floatS-curve jerk in engineering units/s³; the fallback is numerically equal to axis acceleration.optionaltrajectory.axis.acceleration
trajectory.jog.velocityinteger / floatDefault velocity for JOG (motor record) — Default jog velocity (motor record).optionalECMC: axis.velocity; motor record: axis.velocity / 10
trajectory.modulo.rangeinteger / floatModulo range 0..360 — Modulo range.optional0.0
trajectory.modulo.typeintegerModulo type — Modulo type.optional0
trajectory.jog.accelerationinteger / floatJog acceleration for the motor record. The ECMC trajectory template does not set a separate jog acceleration.optional; motor record onlytrajectory.axis.acceleration (motor record only)

touchProbe

KeyType (ECB schema)DescriptionRequirementDefault
touchProbe.positionstringLink to touch-probe latched position. Used for touch-probe functionality separate from homing latch. — Latched touch-probe position entry.required when touchProbe is present—
touchProbe.timestampstringOptional 32/64-bit DC timestamp for the same touch-probe edge — Optional 32- or 64-bit DC timestamp entry for the same edge.optional—
touchProbe.controlstringTouch-probe control word entry — Touch-probe control word entry.required when touchProbe is present—
touchProbe.controlBitintegerFirst bit in touch-probe control word to write armBits bits from armCmd; default 0 — First bit to write in the control word (default 0).optional0
touchProbe.statusstringTouch-probe status word entry — Touch-probe status word entry.required when touchProbe is present—
touchProbe.statusBitintegerStatus bit for captured touch-probe event; default 0 — Status bit that indicates a captured event (default 0).optional0
touchProbe.armCmdintegerValue in dec to arm touch probe; default 17 for EL7062/ED7062 TP1 positive edge — Value written to arm the touch probe (default 17, EL7062/ED7062 TP1 positive edge).optional17
touchProbe.armBitsintegerBit size of touchProbe.armCmd; default 5 — Number of bits written from armCmd (default 5).optional5

positionCompare

KeyType (ECB schema)DescriptionRequirementDefault
positionCompare.outputstringEtherCAT output entry to schedule, for example an EL2252 binary output — EtherCAT output entry to schedule, for example an EL2252 binary output.required when positionCompare is present—
positionCompare.activatestringEtherCAT activation/control entry used by the timed-output terminal — EtherCAT activation/control entry used by the timed-output terminal.required when positionCompare is present—
positionCompare.startTimestringEtherCAT DC start-time entry; use a 64-bit integer entry/PV for EL2252 — EtherCAT DC start-time entry. Use a 64-bit integer PV/entry for EL2252 start time.required when positionCompare is present—
positionCompare.minLeadMsfloatMinimum scheduling lead time [ms], default 2.0 — Minimum allowed scheduling lead time in milliseconds (default 2.0).optional2.0
positionCompare.maxLeadMsfloatMaximum scheduling lead time [ms], default 100.0 — Maximum allowed scheduling lead time in milliseconds (default 100.0).optional100.0
positionCompare.activateIdleintegerActivation value written while idle, default 3 for EL2252 — Activation value written while idle (default 3 for EL2252).optional3
positionCompare.activateScheduleintegerActivation value written for one cycle to load a schedule, default 0 for EL2252 — Activation value written for one cycle to load a new schedule (default 0 for EL2252).optional0
positionCompare.pulseWidthMsfloatOptional automatic reset pulse width [ms], default 0. Fractions such as 0.5 are allowed. — If greater than zero, schedule an automatic reset after this pulse width in milliseconds. Fractions such as 0.5 are allowed.optional0.0
positionCompare.resetValueintegerOutput value for automatic reset after pulseWidthMs, default 0 — Output value used for the automatic reset (default 0).optional0

input

KeyType (ECB schema)DescriptionRequirementDefault
input.limit.forwardstringEtherCAT entry for low limit switch input — Forward limit switch entry.required—
input.limit.forwardPolarityintegerPolarity of forward limit switch — Forward limit polarity.optional—
input.limit.backwardstringEtherCAT entry for high limit switch input — Backward limit switch entry.required—
input.limit.backwardPolarityintegerPolarity of backward limit switch — Backward limit polarity.optional—
input.homestringHome switch entry. Omit when unused; no sensor link is generated and the panel link is N/A.optional—
input.homePolarityintegerHome switch polarity; used only when input.home is linked to hardware.optional—
input.interlockstringEtherCAT entry for interlock switch input — Interlock input entry.optional—
input.interlockPolarityintegerPolarity of interlock switch — Interlock polarity.optional—
input.analogmappingAnalog interlock block.optional—
input.analog.interlockstringEtherCAT entry for analog interlock — Analog interlock entry.optional—
input.analog.interlockPolarityinteger0: High value is bad, 1 = Low value is bad — 0: high is bad; 1: low is bad.optional—
input.analog.rawLimitinteger / floatAnalog raw limit — Raw analog limit.optional—
input.analog.enablebooleanEnable analog interlock default true if analog.interlock is set — Enable analog interlock (default true if set).optionaltrue when interlock is linked
input.limit.latchInputbooleanLatch/debounce the limit inputs.optional—

softlimits

KeyType (ECB schema)DescriptionRequirementDefault
softlimits.enablebooleanEnable soft limits — Global soft limit enable.optionalPython: not supplied; ECB: false
softlimits.forwardinteger / floatSoft limit position fwd — Forward soft limit.required with forwardEnable—
softlimits.forwardEnablebooleanSoft limit position fwd enable — Forward soft limit enable.required with forward; also requires enable—
softlimits.backwardinteger / floatSoft limit position bwd — Backward soft limit.required with backwardEnable—
softlimits.backwardEnablebooleanSoft limit position bwd enable — Backward soft limit enable.required with backward; also requires enable—

monitoring

KeyType (ECB schema)DescriptionRequirementDefault
monitoring.lag.enablebooleanEnable position lag monitoring (following error) — Following-error monitoring; time is in EtherCAT cycles. An omitted lag block defaults to disabled when monitoring is present. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optional block; Python requires enable, tolerance and time/timeMs if explicitly suppliedfalse when lag block omitted
monitoring.lag.toleranceinteger / floatAllowed toleranceoptional block; Python requires enable, tolerance and time/timeMs if explicitly supplied0 when lag block omitted
monitoring.lag.timeintegerAllowed time outside tolerance (EtherCAT cycles) — Legacy cycle/sample value; prefer monitoring.lag.timeMs.optional block; Python requires enable, tolerance and time/timeMs if explicitly supplied100 when lag block omitted
monitoring.lag.timeMsinteger / floatPreferred duration in milliseconds; alternative to monitoring.lag.time. Converted using ECMC real-time sample rate at IOC startup. Rounded up to whole cycles.optional block; Python requires enable, tolerance and time/timeMs if explicitly supplied—
monitoring.target.enablebooleanEnable at target monitoring (needs to be enabled and configured if using motor record) — At-target monitoring; enable it for motor-record completion detection. Time is in EtherCAT cycles. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optional block; supply enable, tolerance and time/timeMs togetherPython: required in block; ECB: false
monitoring.target.toleranceinteger / floatAllowed toleranceoptional block; supply enable, tolerance and time/timeMs together—
monitoring.target.timeintegerFilter time inside tolerance to be at target (EtherCAT cycles) — Legacy cycle/sample value; prefer monitoring.target.timeMs.optional block; supply enable, tolerance and time/timeMs together—
monitoring.target.timeMsinteger / floatPreferred duration in milliseconds; alternative to monitoring.target.time. Converted using ECMC real-time sample rate at IOC startup. Rounded up to whole cycles.optional block; supply enable, tolerance and time/timeMs together—
monitoring.target.slaveControlDeadband.toleranceinteger / floatMaster-axis tolerance forwarded to slaves for reduced-torque control; defaults to AtTarget tolerance — Independent live master-axis error band and qualification time forwarded to slaves for control-deadband decisions such as reduced torque. Configure these keys on the master axis. They apply to physical and virtual masters and may be tighter or slower than ordinary AtTarget. If omitted, ecmc uses the AtTarget tolerance and time. Example: slaveControlDeadband: {tolerance: 0.01, time: 100}. Millisecond alternatives are preferred; do not specify both forms of the same parameter.required pair when slaveControlDeadband is presentmonitoring.target.tolerance (ecmc)
monitoring.target.slaveControlDeadband.timeintegerFilter time inside slave-control deadband; defaults to AtTarget time (EtherCAT cycles) — Legacy cycle/sample value; prefer monitoring.target.slaveControlDeadband.timeMs.required pair when slaveControlDeadband is presentmonitoring.target.time (ecmc)
monitoring.target.slaveControlDeadband.timeMsinteger / floatPreferred duration in milliseconds; alternative to monitoring.target.slaveControlDeadband.time. Converted using ECMC real-time sample rate at IOC startup. Rounded up to whole cycles.required pair when slaveControlDeadband is present—
monitoring.velocity.enablebooleanEnable velocity monitoring — Velocity monitoring. Times are in EtherCAT cycles. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optionalPython: required in block; ECB: false
monitoring.velocity.maxinteger / floatAllowed max velocityoptional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optional—
monitoring.velocity.time.trajectoryintegerTime allowed outside max velocity before system init halt (EtherCAT cycles) — Legacy cycle/sample value; prefer monitoring.velocity.timeMs.trajectory.optional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optional—
monitoring.velocity.time.driveintegerTime allowed outside max velocity before system disables drive (EtherCAT cycles) — Legacy cycle/sample value; prefer monitoring.velocity.timeMs.drive.optional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optional—
monitoring.velocity.timeMs.trajectoryinteger / floatPreferred duration in milliseconds; alternative to monitoring.velocity.time.trajectory. Converted using ECMC real-time sample rate at IOC startup. Rounded up to whole cycles.optional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optional—
monitoring.velocity.timeMs.driveinteger / floatPreferred duration in milliseconds; alternative to monitoring.velocity.time.drive. Converted using ECMC real-time sample rate at IOC startup. Rounded up to whole cycles.optional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optional—
monitoring.velocityDifference.enablebooleanEnable velocity difference monitoring (velocity set vs velocity actual) — Velocity setpoint vs actual monitoring. Its trajectory and drive delays are independent of the maximum-velocity monitor. Times are in EtherCAT cycles. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optionalPython: required in block; ECB: false
monitoring.velocityDifference.maxinteger / floatAllowed max differenceoptional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optional—
monitoring.velocityDifference.time.trajectoryintegerTime allowed outside max diff velo before system init halt (EtherCAT cycles) — Legacy cycle/sample value; prefer monitoring.velocityDifference.timeMs.trajectory.optional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optional—
monitoring.velocityDifference.time.driveintegerTime allowed outside max diff velo before system disables drive (EtherCAT cycles) — Legacy cycle/sample value; prefer monitoring.velocityDifference.timeMs.drive.optional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optional—
monitoring.velocityDifference.timeMs.trajectoryinteger / floatPreferred duration in milliseconds; alternative to monitoring.velocityDifference.time.trajectory. Converted using ECMC real-time sample rate at IOC startup. Rounded up to whole cycles.optional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optional—
monitoring.velocityDifference.timeMs.driveinteger / floatPreferred duration in milliseconds; alternative to monitoring.velocityDifference.time.drive. Converted using ECMC real-time sample rate at IOC startup. Rounded up to whole cycles.optional block; supply enable, max and timeMs.trajectory (or time.trajectory); drive delay optional—
monitoring.stall.enableboolean / integerBoolean true/false (preferred); integer 1/0 also accepted by both backends — Stall monitoring requires target monitoring. Use boolean true/false with either backend; integer 1/0 is also accepted for compatibility. timeout is in EtherCAT cycles; factor is dimensionless. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optional—
monitoring.stall.time.timeoutintegerIf not at target after “timeout” cycles after trajectory generator is ready then drive will disable — Legacy cycle/sample value; prefer monitoring.stall.time.timeoutMs.optional—
monitoring.stall.time.factorinteger / floatMeasures duration of last motion command (busy high edge to busy low edge). The new timeout will be defined as this duration multiplied by this factor. The timeout finally used for stall detection will be the longest (of time.timeout and calculated from time.factor).optional—
monitoring.stall.time.timeoutMsinteger / floatPreferred duration in milliseconds; alternative to monitoring.stall.time.timeout. Converted using ECMC real-time sample rate at IOC startup. Rounded up to whole cycles.optional—

plc

KeyType (ECB schema)DescriptionRequirementDefault
plc.enablebooleanEnable the axis PLC; required by both axis-PLC schemas when the block is present.required when axis plc is present—
plc.externalCommandsbooleanAllow axis input from PLC — Allow external PLC commands.optionalfalse
plc.filestringFile with plc code — PLC code file to include.optional—
plc.codelistInline PLC code list (appended after plc.file content); example shows enable logic and setpoint calculation.optional—
plc.code[0]string (list item)Enable axis if one of master axes is enabledoptional—
plc.code[1]string (list item)Calculate set position for physical axisoptional—
plc.velocity_filtermappingVelocity feedforward smoothing.optional—
plc.velocity_filter.encoder.enablebooleanFilter enable — Filter PLC encoder velocity. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optionalfalse
plc.velocity_filter.encoder.sizeintegerFilter size — Legacy cycle/sample value; prefer plc.velocity_filter.encoder.timeMs.optional1
plc.velocity_filter.encoder.timeMsinteger / floatPreferred duration in milliseconds; alternative to plc.velocity_filter.encoder.size. Converted using ECMC real-time sample rate at IOC startup. Rounded up to at least one sample.optional—
plc.velocity_filter.trajectory.enablebooleanFilter enable — Filter PLC trajectory velocity. Millisecond alternatives are preferred; do not specify both forms of the same parameter.optionalfalse
plc.velocity_filter.trajectory.sizeintegerFilter size — Legacy cycle/sample value; prefer plc.velocity_filter.trajectory.timeMs.optional1
plc.velocity_filter.trajectory.timeMsinteger / floatPreferred duration in milliseconds; alternative to plc.velocity_filter.trajectory.size. Converted using ECMC real-time sample rate at IOC startup. Rounded up to at least one sample.optional—
plc.filtermappingDeprecated filter syntax. Prefer plc.velocity_filter.encoder and plc.velocity_filter.trajectory.optional; deprecated alias—
plc.filter.velocity.enablebooleanDeprecated filter syntax. Prefer plc.velocity_filter.encoder and plc.velocity_filter.trajectory.optional; deprecated alias—
plc.filter.velocity.sizeintegerDeprecated filter syntax. Prefer plc.velocity_filter.encoder and plc.velocity_filter.trajectory.optional; deprecated alias—
plc.filter.trajectory.enablebooleanDeprecated filter syntax. Prefer plc.velocity_filter.encoder and plc.velocity_filter.trajectory.optional; deprecated alias—
plc.filter.trajectory.sizeintegerDeprecated filter syntax. Prefer plc.velocity_filter.encoder and plc.velocity_filter.trajectory.optional; deprecated alias—
plc.macrosstringMacros for an external axis PLC file.optional—
plc.filter.velocity.timeMsinteger / floatPreferred duration in milliseconds, converted to cycles at startup. Do not specify both forms. — Millisecond alternative to legacy plc.filter.velocity.size.optional—
plc.filter.position.timeMsinteger / floatPreferred duration in milliseconds, converted to cycles at startup. Do not specify both forms. — Millisecond alternative to legacy plc.filter.position.size.optional—
plc.filter.trajectory.timeMsinteger / floatPreferred duration in milliseconds, converted to cycles at startup. Do not specify both forms. — Millisecond alternative to legacy plc.filter.trajectory.size.optional—

homing (legacy; prefer encoder.homing)

KeyType (ECB schema)DescriptionRequirementDefault
homing.typeintegerHoming sequence type — Homing sequence type.optional—
homing.positioninteger / float / stringPosition to reference encoder to — Referenced position.optional—
homing.velocity.tointeger / floatVelocity to cam/sensor (used for some homing seqs) — Velocity to cam/sensor.optional—
homing.velocity.frominteger / floatVelocity from cam/sensor (used for some homing seqs) — Velocity off cam/sensor.optionalvelocity.to
homing.accelerationinteger / floatHoming acceleration in engineering units/s².optional—
homing.decelerationinteger / floatHoming deceleration in engineering units/s².optional—
homing.refToEncIDAtStartupintegerEncoder id used as startup position reference; -1 disables copying.optional-1
homing.refAtHomeintegerEnable referencing this encoder at homing (integer flag, default 0).optional0
homing.tolToPriminteger / floatIf set then this is the max allowed tolerance between prim encoder and this encoder — Max tolerance vs primary encoder.optional0
homing.postMoveEnablebooleanEnable post-homing move; true requires postMovePosition.optionalno command if omitted
homing.postMovePositioninteger / float / stringPost-homing target in engineering units; required when postMoveEnable is true.required when postMoveEnable is trueno target inferred
homing.triggstringEtherCAT entry for triggering drive internal homing seq (seq id 26) — EtherCAT entry to trigger drive internal homing sequence.optional—
homing.readystringEtherCAT entry for reading drive internal homing seq ready (seq id 26) — Status entry for drive internal homing ready.optional—
homing.latchCountintegerLatch count offset for homing.optional—
homing.timeoutintegerHoming sequence timeout in seconds.optional—