6.17 Show Axes and Spindle Load
1. In plcBlock, added the following signal:
char loadAxis[6]
char loadSpindle、loadSubSpindle
2. In plcOpen, the value of plc.vto3.bit.spdsp has to be 1.
3. plc.loadAxis[0]: X
plc.loadAxis[1]: Y
plc.loadAxis[2]: Z
plc.loadAxis[3]: A
plc.loadAxis[4]: B
plc.loadAxis[5]: C
4. |
If signal value of an axis is set 0, the load percentage of the axis will be displayed. |
For example:
plc.loadAxis[4] = 0
plc.loadSubSpindle = 0
In this case, load percentages of B-axis and subspindle will be displayed on the screen.
Program example:
plc.loadAxis[4] = 0
plc.loadSubSpindle = 0plcOpen( ..... ) {
.
.
.
plc.vto3.bit.spdsp=1;
plc.loadAxis[4]=0;
plc.loadSubSpindle=0;
.
.
.
}
5. |
In plcRun, the load value to be displayed has to be designated, such as: |
PlcRun( .... ) {
.
.
.
plc.loadAxis[4] = geauAi0-MA
plc.loadSubSpindle = geauAi1
.
.
.
}
Note: |
Refer to INCON-M84/M86/M86R User Manual for details on how to operate the CNC controller screen. |