MC_ReadCoordinateTransform (MCS <--> PCS)

This FB reads the parameters of the coordinate transformation between MCS and the selected PCS.

  • This is an administrative FB as no motion command is generated.

 

 

 

MC_ReadCoordinateTransform

 

 

 

AXES_GROUP_REF

-

AxesGroup

Valid

-

BOOL

BOOL

-

Enable

Busy

-

BOOL

L_MC4P_CoordSystem

-

CoordSystem

CoordTransform

-

MC_COORD_REF

Error

-

BOOL

ErrorID

-

L_IE1P_Error

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

AxesGroup

AXES_GROUP_REF

axes group reference

ENABLE

BOOL

TRUE

Continuously output reference to the coordinate transformation.

CoordSystem

L_MC4P_CoordSystem

Selection of the coordinate system, the transformation of which is to be output:

  • WCS: World Coordinate System
  • MCS: Machine Coordinate System
  • ACS: Axes Coordinate System
  • PCS_1 ... PCS_16: Product Coordinate System (1 ... 16)

Coordinate systems and transformations

Outputs

Name

Data type

Value/meaning

Valid

BOOL

TRUE

Valid values are applied to the FB outputs.

Busy

BOOL

TRUE

Processing is running.

CoordTransform

MC_COORD_REF

Reference to the coordinate transformation (including parameters)

Cartesian transformation

Error

BOOL

TRUE

An error has occurred. For details see ErrorID .

ErrorID

L_IE1P_Error

If Error = TRUE: Error number for the error that has occurred.