"Index-Offset" Spezifikation für zyklische Encoderprozessdaten (Index-Group 0x5300 + ID)
Index-Offset (Hex) | Zugriff | Gruppentyp | Datentyp | Phys. Einheit | Definitionsbereich | Beschreibung | Anmerkung |
---|---|---|---|---|---|---|---|
0x00000000 | Read/Write | every (NC→IO) | { |
| STRUCT s. Encoder-Interface bzw. s. erweitertes Encoder-Interface | ENCODER-OUTPUT-STRUKTUR (NC→IO, 12 Byte) | Write-Befehl nur optional! Sicherheitsaspekte beachten! |
INT32 | INC | ≥ 0 | nOutData1 | ||||
INT32 | INC | ≥ 0 | nOutData2 | ||||
UINT8 | 1 | ≥ 0 | nControl1 | ||||
UINT8 | 1 | ≥ 0 | nControl2 | ||||
UINT8 | 1 | ≥ 0 | nControl3 | ||||
UINT8 | 1 | ≥ 0 | nControl4 | ||||
Optional: |
|
|
| ||||
INT32 | INC | ≥ 0 | nOutData3 | ||||
INT32 | INC | ≥ 0 | nOutData4 | ||||
INT32 | INC | ≥ 0 | nOutData5 | ||||
INT32 | INC | ≥ 0 | nOutData6 | ||||
UINT8 | 1 | ≥ 0 | nControl5 | ||||
UINT8 | 1 | ≥ 0 | nControl6 | ||||
UINT8 | 1 | ≥ 0 | nControl7 | ||||
UINT8 | 1 | ≥ 0 | nControl8 | ||||
INT32 |
| ≥ 0 | Reserviert | ||||
INT32 |
| ≥ 0 | Reserviert | ||||
} |
|
|
| ||||
0x00000001 | Write | every (IO→NC) | { |
| STRUCT s. Encoder-Interface | Bitweiser Zugriff auf ENCODER-OUTPUT-STRUKTUR (NC→IO, 40 Byte) | Write-Befehl nur optional! Sicherheitsaspekte beachten! Ab TC 2.11 R3 B2303 |
UINT32 | 1 | [0 … 39] | ByteOffset Relative address offset [0..39] in output structure. E.G.: To write “nControl1” the ByteOffset must be 8. | ||||
UINT32 | 1 | [0x00000000… 0xFFFFFFFF] | BitSelectMask (BSM) The mask defines write enabled bits in a DWORD. Zero bits are protected and remain unaffected. | ||||
UINT32 | 1 | [0x00000000… 0xFFFFFFFF] | Value Only those bits in value are overwritten where BSM equals 1. | ||||
} |
|
|
| ||||
|
|
|
|
|
|
|
|
0x00000080 | Write | every (IO→NC) | { |
| STRUCT s. Encoder-Interface bzw. s. erweitertes Encoder-Interface | ENCODER-INPUT-STRUKTUR (IO→NC, 12 Byte) |
|
INT32 | INC | ≥ 0 | nInData1 | ||||
INT32 | INC | ≥ 0 | nInData2 | ||||
UINT8 | 1 | ≥ 0 | nStatus1 | ||||
UINT8 | 1 | ≥ 0 | nStatus2 | ||||
UINT8 | 1 | ≥ 0 | nStatus3 | ||||
UINT8 | 1 | ≥ 0 | nStatus4 | ||||
Optional: |
|
|
| ||||
INT32 | INC | ≥ 0 | nInData3 | ||||
INT32 | INC | ≥ 0 | nInData4 | ||||
INT32 | INC | ≥ 0 | nInData5 | ||||
INT32 | INC | ≥ 0 | nInData6 | ||||
UINT8 | 1 | ≥ 0 | nStatus5 | ||||
UINT8 | 1 | ≥ 0 | nStatus6 | ||||
UINT8 | 1 | ≥ 0 | nStatus7 | ||||
UINT8 | 1 | ≥ 0 | nStatus8 | ||||
INT32 |
| ≥ 0 | Reserviert | ||||
INT32 |
| ≥ 0 | Reserviert | ||||
} |
|
|
|