"Index-Offset" Spezifikation für zyklische Drive-Prozessdaten (Index-Group 0x7300 + ID)

Index-Offset (Hex)

Zugriff

Drive-Typ

Daten- typ

Phys. Einheit

Definitionsbereich

Beschreibung

Anmerkung

0x00000000

Read/Write

every (NC→IO)

{

 

STRUCT s. Drive-Interface

DRIVE-OUTPUT-STRUKTUR (NC→IO, 40 Byte)
NCDRIVESTRUCT_OUT2

Write-Befehl nur optional!

Sicherheitsaspekte beachten!

INT32

INC

≥ 0

nOutData1

 

INT32

INC

±2^31

nOutData2

 

UINT8

1

≥ 0

nControl1

 

UINT8

1

≥ 0

nControl2

 

UINT8

1

≥ 0

nControl3

 

UINT8

1

≥ 0

nControl4

 

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

1

≥ 0

reserviert

 

INT32

1

≥ 0

reserviert

 

}

 

 

 

 

0x00000001

Write

every (NC→IO)

{

 

STRUCT s. Drive-Interface

Bitweiser Zugriff auf DRIVE-OUTPUT-STRUKTUR (NC→IO, 40 Byte)
NCDRIVESTRUCT_OUT2

Write-Befehl nur optional!

Sicherheitsaspekte beachten!

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

Read

every (IO→NC)

{

 

STRUCT s. Drive-Interface

DRIVE-INPUT-STRUKTUR (IO→NC, 40 Byte)
NCDRIVESTRUCT_IN2

 

INT32

INC

≥ 0

nInData1

 

INT32

INC

±2^31

nInData2

 

UINT8

1

≥ 0

nStatus1

 

UINT8

1

≥ 0

nStatus2

 

UINT8

1

≥ 0

nStatus3

 

UINT8

1

≥ 0

nStatus4

 

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

1

≥ 0

Reserviert

 

INT32

1

≥ 0

Reserviert

 

}