Issuing messages with FUNCTION REPORT

Application

With the FUNCTION REPORT NC function, the controls issues notifications under program control. You can define the notification text yourself. If the machine manufacturer or another provider has saved notifications as a PO file, you can also output these notifications.

Description of function

When the NC function FUNCTION REPORT is executed, the control displays a message and triggers a reaction.

With the NC function you can program the following reactions:

Syntax element

Message type

Reaction

WARNING

Warning

NC program continues to run

STOP

Error

Program run or simulation stops

ERROR

Error

Program run or simulation is aborted

Interrupting, stopping or canceling program run

Input

NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.

Change the following contents as needed:

  • Tools
  • Cutting parameters
  • Feed rates
  • Clearance height or safe position
  • Machine-specific positions (e.g., with M91)
  • Paths of program calls

Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.

In addition, test the NC programs using the simulation before the actual program run.

 
Tip

With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.

Example

11 FUNCTION REPORT WARNING DOMAIN: "PO-File" ID: "EXAMPLE"

; Issue message from the PO file "EXAMPLE"

To navigate to this function:

Insert NC function All functions Special functions Functions FUNCTION REPORT

The NC function includes the following syntax elements:

Syntax element

Meaning

FUNCTION REPORT

Syntax initiator for issuing a message

ERROR, STOP or WARNING

Reaction

TEXT: or DOMAIN:

Enter message text yourself or select it from a PO file

Name or Parameter

Text or PO file

When selecting TEXT: Text, string parameter, or format string

When selecting DOMAIN:, text entry as well as selecting from a selection window are possible

ID:

ID of the text from the PO file

Only if DOMAIN: has been selected

Note

Refer to your machine manual.

Only existing PO files can be output which have been stored by the machine manufacturer or a third party provider. In order to output the PO files, the machine manufacturer must provide the IDs of the texts.

The PO file must contain the following information:

Meaning

Input

Message text

msgid "EXAMPLE"

msgstr "Message text"

Cause

msgid "EXAMPLE_|UR|"

msgstr "Cause"

Corrective action

msgid "EXAMPLE_|BE|"

msgstr "Corrective action"