# MC-Basic:robot.ELBOWCMD

Defines the working (command) PUMA robot configuration. When the target position is given as location variable, it is Cartesian point. This flag determines which of the solutions will be taken for the joint coordinates of the target position.

The elbow flag defines ABOVE or BELOW configurations according (for PUMA only):

ABOVE - position of the wrist of the ${\displaystyle \left\{{\begin{matrix}RIGHTY\\LEFTY\end{matrix}}\right\}}$ arm with respect to the shoulder coordinate system has ${\displaystyle \left\{{\begin{matrix}negative\\positive\end{matrix}}\right\}}$ coordinate value along the Y axis of the second segment

BELOW - position of the wrist of the ${\displaystyle \left\{{\begin{matrix}RIGHTY\\LEFTY\end{matrix}}\right\}}$ arm with respect to the shoulder coordinate system has ${\displaystyle \left\{{\begin{matrix}negative\\positive\end{matrix}}\right\}}$ coordinate value along the Y axis of the second segment

Setting it to zero AUTO means taking the current ELBOWFBK for the value.

0 - Keep the current configuration or choose the closest joint-target.

1 - Joint-target is BELOW

2 - Joint-target is ABOVE

<ROBOT>.ecmd

?<ROBOT>.ecmd

<ROBOT>.ecmd=1

## Availability

Since Version 4.2.x

Long

## Range

0 (auto)/ 1(below)/ 2 (above)

0