06.0310.5 Axes and spindles10-316 Siemens AG, 2003. All rights reservedSINUMERIK 840Di Manual (HBI) – 06.03 EditionThe interface signals DB31, ... DBX1.5 (position measuring system 1 selected) DB31, ... DBX1.6 (position measuring system 2 selected)can be used to switch from the PLC between the two position measuringsystems of a machine axis.References: /FB/ Description of Functions, Basic MachineA2, Various Interface SignalsTable 10-19 Setpoint/actual-value channels: Machine dataNumber Identifier Name/remarks Ref.Axis-specific ($MA_ ...)30100 CTRLOUT_SEGMENT_NR Setpoint assignment: Drive type5 = PROFIBUS DP30110 CTRLOUT_MODULE_NR Setpoint assignment: Logical drive number30130 CTRLOUT_TYPE Setpoint output type0 = simulation1 = speed setpoint output30200 NUM_ENCS Number of measuring channels1 = one position measuring system installed2 = two position measuring systems installed30210 ENC_SEGMENT_NR[0] Actual-value assignment: Drive type5 = PROFIBUS DP30220 ENC_MODULE_NR[0] Actual-value assignment: Logic drive number forposition measuring system 130220 ENC_MODULE_NR[1] Actual-value assignment: Logic drive number forposition measuring system 230230 ENC_INPUT_NR[0] Actual-value assignment: Position encoder 11 = motor measuring system2 = direct measuring system30230 ENC_INPUT_NR[1] Actual-value assignment: Position measuring sys-tem 21 = motor measuring system2 = direct measuring system30240 ENC_TYPE[0] Actual-value acquisition modes0 = simulation1 = incremental encoder4 = absolute encoder with EnDat interfaceTable 10-20 Switching over the position measuring system: Interface signalsDBNumberBit, Byte Name Ref.Axis/spindle-specific Signals from PLC to axis/spindle31, ... 1.5 Position measuring system 131, ... 1.6 Position measuring system 2/FB/ Description of Functions, Basic MachineG2 Velocities, Setpoint/Actual-Value Systems, Closed-Loop ControlSection: Setpoint/actual-value systemMeasuring systemswitchoverMachine dataInterface signalsReferences10 NC Start-Up with HMI Advanced