Skip to main content
Version: v2

AuxVariables

AuxVariables are normal cyclic process data and never use cmd_id or cmd_seq. Each plugged Aux module transfers one complete 64-byte bank.

Table: AuxVariable Directional Bank Mapping​

Bank within one directionBackend logical range
00..63
164..127
2128..191
3192..255

Input and Output banks are numbered independently. For each direction, sort the active modules by physical slot; the first is bank 0, the second bank 1, and so on. For example, an Aux Input in slot 2 and an Aux Output in slot 3 both map to logical bytes 0..63 in their respective directions. TIA %I and %Q addresses are independent of this mapping and need not be contiguous.

Table: AuxVariable Types​

Type and sizePLC representation and wire behavior
Integer, 4 bytesDInt; signed big-endian value
Float, 4 bytesReal; IEEE-754 big-endian value
Boolean, 2 bytesBool plus pad_byte; explicit padding
JointPose, 32 bytesRobCo_JointPose; eight Real values
CartesianPose, 24 bytesRobCo_CartesianPose; XYZ and RZ/RY/RX
String36, 36 bytesArray[0..35] of Char; Windows-1252, zero-padded

By design, every auxiliary string is a fixed-width String36 and can contain at most 36 characters. Do not use Siemens String[36], which adds two management bytes. RobFlow truncates longer device-to-PLC values to their first 36 characters before encoding and zero-pads shorter values. PLC-to-device values therefore contain at most 36 characters. String36 can transfer a UUID in canonical textual form.

Typed overlay​

The RobFlow export defines one directional UDT per configured bank. The checked-in placeholder demonstrates this 64-byte composition:

Relative byteInput / Output field and type
0..3profIn / profOut: DInt
4.0profIn2 / profOut2: Bool
4.1..4.7unused bits: zero
5PadByte: Byte
6..37JointAngles_Variable4 / JointAngles_Output4: RobCo_JointPose
38..61CartesianPose_Variable5 / CartesianPose_Output5: RobCo_CartesianPose
62..63Reserved: two bytes

String36 is supported but does not fit this particular 62-byte composition.

Use these addressing rules:

  1. Place one exported UDT at the actual TIA address of its Aux module.
  2. For non-contiguous module addresses, use one physical tag per module and copy it to or from the corresponding directional bank.
  3. Never overlay multiple banks as one contiguous area unless the TIA address assignment is actually contiguous and follows the direction-specific slot order.