Links

UDP Output Pattern

One of the main advantages of the UDP position output is its flexibility. You get to decide which information you need and how it should be formatted. In the Output Pattern text box you can type any text you want as well as few special arguments. It is these arguments that will get replaced with the actual motor information.

UDP Arguments

Pattern
Description
{name}
The UDP name for the motor
{position}
The simulated position based off of the loaded/running motion profile of the motor
{actual_position}
The actual position of the motor
{desired_position}
The commanded position from the motion controller
{speed}
The simulated speed based off of the running motion profile of the motor
{actual_speed}
The actual speed of the motor
{desired_speed}
The commanded speed from the motion controller
{error}
The simulated position minus the actual position
{ti_error}
The desired position minus the actual position
{cr}
Carriage return character (\r)
{lf}
Line feed character (\n)
{nl}
New line character (\r\n)
{tab}
Tab character (\t)
The {error} and {ti_error} arguments were left in mostly for internal testing use and will probably not have much use in the real world.

Examples

Pattern
Result
{name} - {position}:{speed}
Pushstick V2 - 12.47:8.6
Axis {name} is at {actual_position}
Axis Pushstick V2 is at 147.86
{position}{tab}{speed}{tab}{name}
88.61 8.6 Pushstick V2