·280·
Installation manual
CNC 8060
CNC 8065
5.
CNC-PLC COMMUNICATION.
(REF: 1402)
Auxiliary –S– function.
5.3 Auxiliary –S– function.
The auxiliary S function indicates the spindle turning speed with M03 and M04 or the angular
position with M19.
The S function with M03 and M04 is always executed at the beginning of the block and the
CNC waits for confirmation before going on executing the program. When working with M19,
the CNC treats the spindle like a regular linear axis. It only sends the M19 out to the PLC.
The CNC uses 32-bit register SFUN1 to indicate to the PLC the value of the S function
programmed in the block. If not programmed, the value of $FFFFFFFF is sent out. The SFUN
command only assumes the value of the programmed S if spindle parameter SPDLTIME is
other than zero.
The transfer of the S function is described later on in this chapter. See "5.4 Transferring
auxiliary functions -M-, -H-, -S-." on page 282.