# Description of “TraceData” input

The pin TraceData can define which data is to be logged. The tables below indicate the possible data depending on the selected TraceType. The input is used bit-encoded, i.e. several selection fields must be logically linked by “OR".

## Example

Assume that a trace of type 2 (SpindleTrace) is to be created using the following data:

cmd_position

v_command

a_act

v_limit(IPO1)

The TraceData value is therefore:

TraceData = 0x000001 | 0x000004 | 0x000010 | 0x001000

= 0x001015

= 4117 decimal

= 1000000010101 binary

## Additional information

- BahnTrace (TraceType 1)
- SpindleTrace (TraceType 2)
- Position controller trace (TraceType 3):
- Trace synchronisation data (TraceType 4):
- TraceType 5 - PLC Motion Control diagnostic prints