MC-Basic:movingFrame.Center

From SoftMC-Wiki
Jump to: navigation, search

This property returns the circle center of the given rotary conveyor. An error is returned if the conveyor type is not linear. The center of the moving frame is always re-computed if: ● the given moving frame is assigned to <robot>.MasterFrame ● the <moving frame>.center property is queried while the moving frame is not assigned. ● Orientational part of the CENTER property (Yaw, Pitch Roll, ...) is always returned as zero.

Syntax

< Moving Frame >.Center = <position value>

Availability

Versions 4.0.26 and higher

Type

Location

Units

According to the moving frame type

Scope

Task or Terminal

Limitations

Read-Only.

Examples

Common shared A as location of XYZR

Common shared B as location of XYZR

Common shared C as location of XYZR

CNV.ndof = 3

CNV.UpStream[1] = A

CNV.Center = B

CNV.DownStream[1] = C

See Also