When you use the Macro variable for the control parameter(Simple method)(30i/31i/32i only)
In the response method, the method to use the macro variable as the control data is explained. The custom macro variable and the RTM variable can be used to the control data.
Note) The PMC address can be also used for the transmission data. In the following explanations, the macro variable is used as the transmission data.
Explanation of macro variable for control
Details of the Macro variable for the control used for the unsolicited messaging function are shown. The one Macro variable is necessary to control.
The example which uses "#xxxx" as Macro variable for the control data is shown.
Transmission request variable for message
The transmission of unsolicited message is requested.
After preparing the transmission message to the Macro variable for the transmission, the NC program changes this signal to "1". Then, the message is transmitted to the PC. After receiving the response of the message, CNC(communication board) changes this signal to "0".
Timing chart of macro variable for control
The NC program prepares the transmission message after confirming REQ is "0", and REQ is changed to "1".
The comminucation board transmits the transmission message.
The communication board completes the transmission processing of the message.
The communication board completes the reception processing after receiving the response of the message.
After completing the reception processing, the communication board changes REQ to “0".