Using expression to select commanded axis?

AxisTrnstnRateCmd[4] is a DWORD of value 128
This tag is used to select command axis as shown in the picture

What axis will be selected and how ? can anyone please explain ?

Hi Joseph,

The axis or axes selected will be based off the bits that are high in your DWORD. the best way to check this is by going to the variable table > monitor tab, and then expanding the DWORD. For instance, the value 128, displayed in hex as 16#0000_0080 has only one bit, bit 7, set high and so running this variable as our commanded axis expression would send a command to axis 7.

1 Like

Got it… very well explained…Thanks