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 direction | Backend logical range |
|---|---|
| 0 | 0..63 |
| 1 | 64..127 |
| 2 | 128..191 |
| 3 | 192..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 size | PLC representation and wire behavior |
|---|---|
| Integer, 4 bytes | DInt; signed big-endian value |
| Float, 4 bytes | Real; IEEE-754 big-endian value |
| Boolean, 2 bytes | Bool plus pad_byte; explicit padding |
| JointPose, 32 bytes | RobCo_JointPose; eight Real values |
| CartesianPose, 24 bytes | RobCo_CartesianPose; XYZ and RZ/RY/RX |
| String36, 36 bytes | Array[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 byte | Input / Output field and type |
|---|---|
| 0..3 | profIn / profOut: DInt |
| 4.0 | profIn2 / profOut2: Bool |
| 4.1..4.7 | unused bits: zero |
| 5 | PadByte: Byte |
| 6..37 | JointAngles_Variable4 / JointAngles_Output4: RobCo_JointPose |
| 38..61 | CartesianPose_Variable5 / CartesianPose_Output5: RobCo_CartesianPose |
| 62..63 | Reserved: two bytes |
String36 is supported but does not fit this particular 62-byte composition.
Use these addressing rules:
- Place one exported UDT at the actual TIA address of its Aux module.
- For non-contiguous module addresses, use one physical tag per module and copy it to or from the corresponding directional bank.
- Never overlay multiple banks as one contiguous area unless the TIA address assignment is actually contiguous and follows the direction-specific slot order.