Command logging

From version V3.4.19: The Planar mover can log all incoming commands.

All commands generate a log line with the "Info" priority level. If the commands contain many options, these are displayed in a second log line with the "Verbose" priority level. If the priority level set for the Planar mover is "Warning" (the default value), for example, no command information is written to the output.

The specific second part of the first protocol line (after timestamp, object name, etc.) is structured as follows: first comes the command name (this is identical to the name of the corresponding method in the PLC that sends the command). This is followed by a colon. The command parameters or options are then listed (separated by commas). Each command parameter is specified with its name and value. The name corresponds to the name of the parameter in the method of the command in the PLC. The protocol line is terminated by a dot.

Example:

…: MoveOnTrack: targetTrack ? (0x00000000), targetPosition 100.000, limitVADJ (100.0, 200.0, 200.0, 1000.0)

The optional second log line begins with "Options:" if it lists all elements of the last option parameter of the method in full. Here too, all elements are separated by commas. This is the case for the "MoveOnTrack" command, for example. Otherwise, the list of method parameters (or option elements) is continued in this line (e.g. "GearInPosOnTrack" command).

Example:

…: Options: gap 200.000, direction NonModulo, turns 0, modTol 0.000, dynMode None, gapMode Standard1D.

The "constraint" parameter for motion commands, which specifies the dynamic limits for the movement, is currently not logged or only logged to a limited extent (for "OnTrack" commands).

If a command is rejected immediately, this is logged.

Example:
…: Command rejected (error ID: 0x98118151).