7.1.9.1.7 Controlword mask CA / CB
Any controlword bits can be set with parameters di12...di15.
The mask objects di13 CA mask and di15 CB mask are used to select which bits are pre-
set via the digital inputs.
The inputs, which determine the state (set = 1 / inactive = 0) for the selected bits are se-
lected with di12 CA input and di14 CB input.
7.1.9.1.8 Examples
The first example shows the control of controlword bits directly via digital inputs without
further influences.
The second example is a more complex control, combined of process data (0x2500 or
0x6040) and digital inputs.
7.1.9.1.8.1 Control of reset (bit 7) and brake (bit 15) via digital inputs
Brake control should be done via the digital input I1.
Reset should be done via the digital input I2.
The reset of co31 controlword internal shall be determined via the controlword parame-
ters.
▪ Reset via I2:
di11 RST input = 2 (setting/resetting of bit 7 fault reset via I2)
▪ Brake control via I1:
di13 CA mask = 8000h (bit 15 of co31 is set via input)
di12 CA input = 1 (setting/resetting of bit 15 via I1)
▪ Controlword bits 7 and 15 only via digital inputs:
co30 controlword mask = 7F7Fh
7.1.9.1.8.2 Example (influence of bits 2, 3 and 4)
3 controlword bits shall be set by the "controlword combination block":
1. The quickstop bit shall always be set to zero alternatively by co00 or digital input
I1, thus triggering quickstop.
2. During a certain phase of the application cycle, positioning should also be started
by digital input I2, but during the remaining time the signal should only be able to
be set via the controlword (0x2500 or 0x6040).
3. The "enable Operation" bit should be set by default via digital input I3 and via the
controlword (0x2500 or 0x6040). However, the control should be able to deacti-
vate the digital input influence.