GSK218M CNC System Connection and PLC Manual
104
8 Miscellaneous Function (M, S, T function)
8.1 Miscellaneous
function
General * miscellaneous function (M code) When up to 8-bit numbers after the address M is
specified, the code signal and strobe signal are
transmitted to the machine which use these
signals to start or cut off its relative functions.
Basic procedure
The following signals are used for the following functions.
Output signal
Function Program
address Code signal
Strobe
signal
Distribution
completion
signal
Completion
signal
Miscellaneous
function
M M** MF
Spindle function S
S00
~
S31
TF
Tool function
T
T00~T31
BF
DEN FIN
Each function uses different program addresses and different signals, but they all input and output
signals during the same way, as described below. (A sample prodedure for the miscellaneous
function is described below. The procedures for the spindle speed function, tool function, and
secondary miscellaneous function, are obtained simply by substituting S, T, or B during place of
M).
(
1
)
Suppose that MXXX is specified during a program:
If XXX is not specified, CNC alarms.
(
2
)
After M00~M399 is transmitted to machine interface, thestrobe signal MF is set to 1. The
code signal is the binary representation of the programmed value XXX.
If a move, dwell, spindle speed, or other function is specified during the same block as
the miscellaneous function, the execution of the other function is started when the code
signal of the miscellaneous function is transmitted.
(
3
)
When the strobe signal is set to 1, the PLC reads the code signal and performs the
corresponding operation.
(
4
)
To execute an operation after the completion of the move, dwell or other function
specified during the block, wait until distribution end signal DEN is set to 1.
(
5
)
Upon completion of the operation, the PLC set completion signal FDURING to 1. The
completion signal is used by the miscellaneous function, spindle speed function, tool
function. If any of these functions are executed simultaneously, the completion signal
must be set to 1 upon completion of all the function.
(
6
)
If the completion signal remains set to 1 for a long time, the CNC sets the strobe signals
Summary of Contents for 218M
Page 3: ...GSK 218M CNC System Connection and PLC Manual...
Page 15: ...GSK218M CNC System Connection and PLC Manual 12 Volume one Programming...
Page 70: ...GSK218M CNC System Connection and PLC Manual 67 Volume Two Function...
Page 140: ...GSK218M CNC System Connection and PLC Manual 137 Volume Three Operation...
Page 160: ...GSK218M CNC System Connection and PLC Manual 157 Volume Four Connection...