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_rdexecprog

  • Last UpdatedSep 28, 2022
  • 1 minute read

The connector reads one row of the NC (Numeric Control) program contents with the cnc_rdexecprog function and a single parameter defined as either of the following formats:

  • If a content buffer length is configured:

    <Row number>.<Content buffer length>

  • If no content buffer length is configured:

    <Row number>

For example:

  • 1.60 refers to NC program and content with:

    • Row number: 1

    • Content buffer length: 60; read a maximum of 60 Bytes from row 1.

  • 3 refers to NC program content with:

    • Row number: 3

    • No content buffer length configured; read the default value of 50 bytes.

The valid range of row numbers for the connector is between 1 and 5. The valid range of content buffer length is between 20 and 1000. By default the data returned for Numeric Control program content is of type String.

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