Latching
The following steps must be carried out for the "flying measurement" function.
- Selection of the process image (0x1706 & 0x1B06) under the box (AX2000-B110) process data: The link is modified automatically.
- The latch function (IN1MODE 26) is activated at digital input 1 by means of the Drive Tool.
- The MC function block MC_TouchProbe is used in the PLC project (TcMC.lib)
Latch status word (2 bytes)
Bit | Value (bin) | Value (hex) | Description |
---|---|---|---|
0 | 00000000 | xx01 | External latch 1 valid (positive rise) through the Touch Probe block |
1 | 00000000 | xx02 | External latch 1 valid (negative rise) through the Touch Probe block |
2 | 00000000 | xx04 | External latch 2 valid (positive rise) - NOT IMPLEMENTED |
3 | 00000000 | xx08 | External latch 2 valid (negative rise) - NOT IMPLEMENTED |
4 | 00000000 | xx10 | Internal latch C valid (positive rise) through the MC_Home block |
5-7 | - | - | reserved |
8-11 | 00000001 | 01xx | Acknowledge value external latch 1 (positive rise) through the Touch Probe block |
00000010 | 02xx | Acknowledge value external latch 1 (negative rise) through the Touch Probe block | |
00000011 | 03xx | Acknowledge value external latch 2 (positive rise) - NOT IMPLEMENTED | |
00000100 | 04xx | Acknowledge value external latch 2 (negative rise) - NOT IMPLEMENTED | |
00000101 | 05xx | Acknowledge value internal latch C (positive rise) through the MC_Home block | |
12-15 | 00010000 | 1xxx | Digital input 4 * |
| 00100001 | 2xxx | Digital input 3 * |
| 01000001 | 4xxx | Digital input 2 * |
| 10000001 | 8xxx | Digital input 1 * |
*) from AX2000 FW 6.68 and TwinCAT 2.10 Build 1308
Guide value, if the latch input is used for referencing: 1 % of the motor nominal speed.
Latch control word (2 bytes)
(Encoder->Outputs->nCtrl1 and Encoder->Outputs->nCtrl2):
Bit | Value (bin) | Value (hex) | Description |
---|---|---|---|
0 | 00000000 | xx01 | Enable external latch 1 (positive rise) through the Touch Probe block |
1 | 00000000 | xx02 | Enable external latch 1 (negative rise) through the Touch Probe block |
2 | 00000000 | xx04 | Enable external latch 2 (positive rise) - NOT IMPLEMENTED |
3 | 00000000 | xx08 | Enable external latch 2 (negative rise) - NOT IMPLEMENTED |
4 | 00000000 | xx10 | Enable internal latch C (positive rise) through the MC_Home block |
5-7 | - | - | reserved |
8-12 | 00000001 | 01xx | Read external latch 1 (positive rise) through the Touch Probe block |
00000010 | 02xx | Read external latch 1 (negative rise) through the Touch Probe block | |
00000011 | 03xx | Read external latch 2 (positive rise) - NOT IMPLEMENTED | |
00000100 | 04xx | Read external latch 2 (negative rise) - NOT IMPLEMENTED | |
00000101 | 05xx | Read internal latch C (positive rise) through the MC_Home block | |
13-15 | - | - | reserved |