Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Connector for FANUC Focas

cnc_rdmacro

  • Last UpdatedFeb 23, 2023
  • 1 minute read

The parameter for function cnc_rdmacro is defined as the following format:

#Macro Variable Number

For example: #780 refers to a custom macro variable with the number 780. The FANUC Focas standard specifies the following ranges for custom macro variable numbers:

  • 1 <= Macro Variable Number <= 33

  • 100 <= Macro Variable Number <= 9999

Although the connector is able to send any valid macro variable number you configure to the machine, it may not be able to get data back if that macro variable is not defined in that specific machine. By default, the data returned for a macro variable number is of type Double.

TitleResults for “How to create a CRG?”Also Available in