6 index ranges, Index ranges, E (7.6index ranges) – BECKHOFF ET9300 User Manual

Page 46

Advertising
background image

44

Application Note ET9300

Member

Data type

Description

Write

Pointer to Write Function. The prototype is
listed below. This function will be called
when an SDO download is received. If this
pointer is NULL the standard SDO
download function is executed.
Prototype:
UINT8 WriteFunction(

UINT16 index,

UINT8 subindex,

UINT32 dataSize,

UINT16 MBXMEM * pData,

UINT8 bCompleteAccess )

NonVolatileOffset

unsigned 16 bit

determine offset within nonvolatile memory.
This value is evaluated if the object should
be stored(load) as backup parameter.

Example: Object dictionary entry description (Object Code VARIABLE)

TOBJECT VarObj_ODEntryDesc = {0x6000, {DEFTYPE_UNSIGNED32, 0 | (OBJCODE_VAR
<< 8)}, &VarObjectEntryDesc, VarObjName, &u32VarObject, NULL, NULL, 0x0000
};

Example: Object dictionary entry description (Object Code ARRAY)

TOBJECT ArrObj_ODEntryDesc = {0x9000, {DEFTYPE_UNSIGNED32, 5 | (OBJCODE_ARR
<< 8)}, ArrObjEntryDesc, ArrObjName, &ArrObj, NULL, NULL, 0x0000 };

Example: Object dictionary entry description (Object Code RECORD)

TOBJECT RecObj_ODEntryDesc = {0x7000, {DEFTYPE_RECORD, 4 | (OBJCODE_REC <<
8)}, RecObjEntryDesc, RecObjName, &RecObj, NULL, NULL, 0x0000 };

7.6

Index Ranges

The index ranges depends on the used EtherCAT profile. See Ref.[5] for further information.
The Basic index ranges used in the SSC are listed in Table 6: Basic object index ranges.

Table 6: Basic object index ranges

Index Range

Description

0x0000

– 0x0FFF

Data Type Area

0x1000

– 0x1FFF

Communication Area

0x1600

– 0x19FF

RxPDO Mapping

0x1A00

– 0x1BFF

TxPDO Mapping

0x1C10

– 0x1C2F

Sync Manager PDO Assignment

0x1C30

– 0x1C4F

Sync Manager Parameters

0x2000

– 0x5FFF

Manufacturer specific Area

0x6000

– 0x6FFF

Input Area

0x7000

– 0x7FFF

Output Area

0x8000

– 0x8FFF

Configuration Area

0x9000

– 0x9FFF

Information Area

Advertising