This FB is used as for the connection to the TB_TPmeasure. It is doing the 16:16 shifting of the 32bit revolutions/angle values, which is needed, before connection to the TB_TPmeasure is possible.
Follwing parameters are possible to use for the TPmeasure, and PDO mapping has to be done.
With b maxx 4000, they depend on the encoder used:
Encoder | Parameter | Number | Comments |
---|---|---|---|
1 | Encoder 1 angle actual value, 32 bits | 60fb.0a | 32-bit angle. |
1 | Measured value revolutions pos. edge, 32 bits | 0x4246 (P582) | Use of the lower 16 bits(*) |
1 | Measured value angle pos. edge, 32 bits | 0x4245 (P581) | Use of the upper 16 bits(*) |
1 | Measured value revolutions neg. edge, 32 bits | 0x4248 | Use of the lower 16 bits(*) |
1 | Measured value angle neg. edge, 32 bits | 0x4247 | Use of the upper 16 bits(*) |
2 | Encoder 2 angle actual value | 0x4191 | 32-bit angle |
2 | Measured value revolutions pos. edge, 32 bits | 0x424a | Use of the lower 16 bits(*) |
2 | Measured value angle pos. edge, 32 bits | 0x4249 | Use of the upper 16 bits(*) |
2 | Measured value revolutions neg. edge, 32 bits | 0x424c | Use of the lower 16 bits(*) |
2 | Measured value angle neg. edge, 32 bits | 0x424b | Use of the upper 16 bits(*) |
If using the bmaXX 5000 series, the mapping depends from the choosen Axistype (Singleaxis: Offest 0x2000 / Doubleaxis: Axis 1 0x2000 / Axis 2 0x4000), the used Encoder (Enc 1 or Enc 2) and the used digital Input (MT1 or MT2).
Encoder | Parameter | Number | Comments |
---|---|---|---|
1 | Encoder 1 angle actual value, 32 bits. | 60fb.0A | 32 Bit angle |
2 | Encoder 2 angle actual value, 32 bits. | 68fb.0A | 32 Bit angle |
Toucheprobe 1 input: | |||
1 | Measured value revolutions pos. edge, 32 bits (TP1) | 207c.05 | Use of the lower 16 bits(*) |
1 | Measured value angle pos. edge, 32 bits (TP1) | 207c.06 | Use of the upper 16 bits(*) |
1 | Measured value revolutions neg. edge, 32 bits (TP1) | 207c.07 | Use of the lower 16 bits(*) |
1 | Measured value angle neg. edge, 32 bits (TP1) | 207c.08 | Use of the upper 16 bits(*) |
2 | Measured value revolutions pos. edge, 32 bits (TP1) | 207c.11 | Use of the lower 16 bits(*) |
2 | Measured value angle pos. edge, 32 bits (TP1) | 207c.12 | Use of the upper 16 bits(*) |
2 | Measured value revolutions neg. edge, 32 bits (TP1) | 207c.13 | Use of the lower 16 bits(*) |
2 | Measured value angle neg. edge, 32 bits (TP1) | 207c.14 | Use of the upper 16 bits(*) |
Toucheprobe 2 input: | |||
1 | Measured value revolutions pos. edge, 32 bits (TP2) | 207c.09 | Use of the lower 16 bits(*) |
1 | Measured value angle pos. edge, 32 bits (TP2) | 207c.0e | Use of the upper 16 bits(*) |
1 | Measured value revolutions neg. edge, 32 bits (TP2) | 207c.0f | Use of the lower 16 bits(*) |
1 | Measured value angle neg. edge, 32 bits (TP2) | 207c.10 | Use of the upper 16 bits(*) |
2 | Measured value revolutions pos. edge, 32 bits (TP2) | 207c.15/td> | Use of the lower 16 bits(*) |
2 | Measured value angle pos. edge, 32 bits (TP2) | 207c.16 | Use of the upper 16 bits(*) |
2 | Measured value revolutions neg. edge, 32 bits (TP2) | 207c.17 | Use of the lower 16 bits(*) |
2 | Measured value angle neg. edge, 32 bits (TP2) | 207c.18 | Use of the upper 16 bits(*) |
Connection example for bm5300 (Singleaxis or Doubleaxis 1) with touchprobe 1 and encoder 1:
The outputs d_EncPos, d_TP_PosLH and d_TP_PosHL must be connected to the inputs of the TB_TPmeasure with the same naming.