NCT 90 User manual

NCT®90
MILLING-MACHINE CONTROL
INTEGRATED PCL

Manufactured by NCT Automation kft.
H1148 Budapest Fogarasi út 5-7
:Address: 1631 Bp. pf.26
FPhone: (+36 1) 467 63 00
FFax:(+36 1) 363 6605
E-mail: [email protected]

© Copyright NCT February 26, 2001
The Publisher reserves all rights for
contents of this Manual. No reprinting,
even in extracts, is permissible unless
our written consent is obtained.
The text of this Manual has been
compiled and checked with utmost care,
yet we assume no liability for possible
errors or spurious data and for
consequential losses or demages.

1
1 General Description
Apart from slide movements, the solution of technological functions require
$"
the status of the machine-tool to be signalled to the control (functional conditions of
subassemblies, emergency states etc.),
$"
the programmable commands (other than those referring to slide movements) to be
conveyed to the machine-tool.
This task is solved in most CNC controls by emitting or receiving signals of 24V, the
meanings of which are lays down in standard specifications. Those signals are coupled and
converted (to meet the needs of the particular machine-tool) by a relay-type logic circuit or
by a special-purpose equipment (PLC).
Those logic circuits will
$"
interpret and combine the signals coming from the machine-tool,
$"
decode the commands coming from the control, breaking them up into signal sequences
or dialogs,
$"
performself-containedfunctionsusuallyrelatedwithtimefunctions(e.g.slidelubrication
cycles).
The NCT 90 controls transfer this logic function to the "integrated" PLC. The NCT controls
are operated in multi-task systems, in which basically four TASKS alternating at intervals
of 5 ms; thus a given task will be on after every 20 ms.
The PLC (Programmable Logic Control) is one of the four tasks. On its turn, the PLC task
is run invariably in the following manner.
1.1 Structure of the PLC Task
Activities in the PLC are:
1.1.1 System`s Activities
$"
Sampling 24V INPUTs.
$"
Managing TIMERs.
$"
Emergency state established in the event of a short-circuited OUTPUT.
$"
Monitoringthe readystate of the power supply (emergency state established in the event
of a trouble).
$"
On every fifth turn (at intervals of 100 ms), the current spindle speed value is generated,
i.e. the programmed S is output, modified with the spindle override and with the
value of the DRIFT parameter.
$"
Updating the 24V outputs at the end of the PLC time slice.
1.1.2 Execution of the Module :001
This "fast" module is called every 20 ms; it must be completed in the available (PLC) time
slice as well.
Ifthe programchangingthetask interruptsthatmodule (i.e.themodule cannotbecompleted
in the available time slice), it is a fatal error, and the control will cut out the output
MACHINE ON; an emergency state is established, followed by an error signal "PLC
TIMEOUT".
Activitiesrequiringabsolutelyfastserviceshavetobeleft tothatmodule, suchasprocessing

2
$"
emergency signals,
$"
signals of limit-stop positions,
$"
signals of ref-point switches.
The module is terminated mandatorily by instruction J1.
1.1.3 Execution of the Module :000
This module is used for serving classical PLC activities where no time dependence exists.
It may be interrupted by the task changer; as soon as its turn is on again, the execution can
beresumed atthepointofinterruption.Theonlyexceptionisthattheprogrammer"givesup"
the remaining time (with instruction J0) in favour of the rest of tasks. Instruction J0 will
cancel (suspend) the PLC task. After 20 ms, on completion of the activities mentioned in
Sections 1.1.2 and 1.1.1, the execution of the program will be resumed on the next turn at
the first instruction following module definition :000.

3
2 Loading, Saving and Editing the PLC Program
The NCT90 controlcan be loaded withthe PLCprogram throughthe serial line or bythe use
of the PLC EDITOR built in the EDIT mode.
2.1 Loading and Saving the PLC Program Through the RS 232C Interface
The PLC program can be loaded and savedthrough the RS 232C interface in the procedures
described in the Operator´s Guide of the control.
The PLC program is a text interpreted in ASCII code; it is stored and delivered in a format
exclusive of spaces, line-feed and carriage-return characters.
2.2 Entry of the PLC Program Through the PLC Editor
The NCT 90 provides a special-purpose editor for editing the PLC program on the control.
Since the control has no ASCII keyboard of its own, the Soft Keys are used for the input of
non-numeric characters and for editing functions. The PLC program will be edited in EDIT
PLC sub-mode.
Entry in EDIT PLC Sub-Mode
Press the EDIT button in SELECT default mode assumed by the control afterEDIT power-on or on depression of the paging button.
Select PLC sub-mode. Since any modification of the PLC program affects thePLC fundamental functions of the machine-tool, the mode will not become active
unless a password is input (to prevent an incidental entry in this mode or
entry by an unauthorized person).
The buttons used in program editing have the following meanings:
Numeric entry buttons.
For a numeric entry, the selected number appears in the place of the cursor
when those buttons are pressed, and the cursor is moved on to the next
position (single-button data input). A new line is commenced automatically
at the end of each line.
STRING Search.
When this button is hit, the title "SEARCH STRING" appears in the bottom line of the
screen, and the cursor is blinking at the point of data entry. The character string can be
entered here, that is to be sought in the program being edited. Of the cursor-moving buttons,
buttons and will produce downward and upward searches across the screen (i.e.
toward higher and lower addresses, respectively). As soon as the STRING has been found,
the cursor will beblinking at the first character of the text found. You can make a correction
here or continue the search.
You can escape from the STRING search mode by pressing the button again.

4
The cursor-moving button.
It will move the cursor rightward, i.e. toward higher addresses; when the button is held
down, the cursor will be moving continuously. At the end of a line it will go automatically
to the first character of the next line. This function remains unchanged in STRING search
mode.
The cursor-moving button.
It will move the cursor leftward, i.e. toward lower addresses; when the button is held down,
the cursor will be moving continuously. At the end of a line it will go automatically to the
first character of the next line. This function remains unchanged in STRING search mode.
-Withthehorizontalpositionleftunchanged,thecursorwillbemovingdownwardacross
the screen (toward higher addresses). It will perform a forward search in STRING search
mode.
- Withthehorizontal positionleftunchange, the cursorwillbemovingupwardacrossthe
screen(towardloweraddresses).ItwillperformabackwardsearchinSTRINGsearchmode.
- Clear button.
It will clear the character in the position of the cursor. In the case of an error signal it can be
used as an overall clear button. When the editing is finished successfully, the message
PASSED will be blinking in the bottomline to signal that the program has passed the check
procedure. Under such conditions the clear button will cause the control to initiate the
automatic re-start of the system software ("PLC compilation").
- INSERT mode.
The cursor is blinking in the area of a full character (otherwise being only an underlining)
to signal that the EDITOR is in insert mode. Under such conditions the new character will
be positioned in front of the one at which the cursor is blinking. Pressing the button again
will return the EDITOR from insert mode to transcript mode.
SOFT KEYS
Paging upward. A screen page will be turned upward across the
PAGE UP screen toward lower addresses.
Pagingdownward.AscreenpagewillbeturneddownwardacrossthePAGE DOWN scree toward higher addresses.
Upward search of module. Moving upward across the screen toward
MODUL UP lower addresses, the editor goes to the previous ":" character and thus
to the previous module.
Downward search of module. Moving downward across the screenMODUL DOWN toward higher addresses, the editor goes to the next ":" character and
thus to the next module.
Movingthecursorleftwardtothefirst characterofthepreviousword.
WORD LEFT
Statistics of the variables used in the PLC program. With the button
STATISTICS

5
pressed, the variables, registers, counters, input-output lines can be
listed on the screen, to which references are made in the program.
Character entrybutton. Although it is the top one of the Soft Keys, it
CHARACT is discussed last because it has by far the most complex function.
When this button is pressed, the Soft Keys will be assigned new
meanings, i.e. the Editor will enter in character input mode.
Program editing
The two last lines of the PLC editor screen are used by the EDITOR with the following
meanings.
Last but one line:
LINE = nn vertical position of the cursor (nn=1 - 9999)
COL = nn horizontal position of the cursor (nn=1 - 64)
PASSED error field or message field
ERRORnn
Last line:
FREE nnnn number of free bytes available for editing the PLC.
Input of characters:
Numeric input the numeric entry buttons are effective in any mode of the PLC
editor.Withanumericentrybuttonpressed,theselectednumberwill
appear immediately in the position of the blinking cursor.
Input of character (non-numeric one):
EnteringinEDITPLC,pressingthetopSoft Keywillenterincharac-
CHARACT ter editing.Undersuchconditions theSoftKeyswillbeassignednew
meanings. Each SOFTKEY field will exhibit maximum 8 characters
(let us refer to them as character groups). Each character can be
enteredbytwoconsecutivebuttons pressed.Firstselectthe particular
group of characters, in which the desired character can be found.
With the character group pressed, each Soft Key will be assigned a
newmeaning.Containedfromlefttorightinthegroup,thecharacters
aredisplayednowinSOFTKEYfieldsbeneath one another. With the
Soft Key containing the desired character pressed, the character
appears in the cursor position, and the cursor is moved on by a
position; the SOFTKEY fields exhibit groups of characters again.
Hitting the paging button will return the default state of the PLC
editor.
In character editing mode the lowermost Soft Key will produce line
CR/LF feed and carriage return. It can also be used for inserting another line
(with the editor used in insert mode).

6
2.3 Terminating the Editing of the PLC Program
The PLC editor is used for editing ASCII texts, from which the PLC compiler generates a
machine code that can be executed at a high rate by the central processor unit.
The compilation is commenced automaticallyas soon as you escape from the editor (paging
key). In the course of compilation or on completion of a successful one, the compiler sends
a message to the message field of the screen.
$"
If the PLC text contains an error, the compiler returns a blinking "ERROR nn" error
message. When the error message is cleared, the editor checks in again. In the case
of an unsuccessful compilation, the erratic PLC text is displayed on the screen "in
bulk" (without typesetting). The cursor is blinking at the erratic instruction. The
editing keys are effective, so the error can be corrected. The error messages of the
compiler are described in detail in the Appendix.
$"
In the case of a flawless PLC text, the compiler returns a blinking message
"ASSEMBLED".Nowthe programmercan carryon the work in oneoftwo different
ways.
$"
Pressing button INS (insert). It is one of the data input buttons. Now the EDITOR checks
in again; since, however, the compilation has been successful, the PLC program
appears on the screen in a typeset format. The cursor is blinking at he first ASCII
character.
$"
Pressing the ... (clear) button. It is one of the data input buttons. Now the entire NC-PLC
system performs a hot start-up (boodstrapping). The display "PLC compilation"
appears on the screen.
Typesetting the PLC program.
If the compilation is flawless, the PLC compiler will sort the edited ASCII text into 4 logic
categories, typesetting them in 4 separate columns.
1. MODULES (beginning in column 1 of the screen)
2. OPENING/TERMINATION OF CONDITION TEST (beginning in column 9)
3. COMMANDS (beginning in column 17)
4. BRANCHES (beginning in column 25).
The pattern of typesetting is illustrated in the model PLC program.

7
3 Modules of the PLC Program
3.1 System Modules
:001 20ms clock module
Called at every 20 ms
Mandatory activities:
$"
Handling of alarm signals
$"
Handling of limit-stop positions
$"
Manipulation of ref-point switches
$"
Handling of other signals demanding fast serving
$"
Issuing command J1 at the end of the module.
Prohibited instructions:
InstructionWandanyorganizationofprogrampreventingthemodulefrombeingcompleted
in its own time segment ARE STRICTLY FORBIDDEN!
:000 Cyclic PLC module
Called:
$"
at the beginning of "life cycle"
$"
in the next PLC time segment (if command J0 is issued)
$"
under the effect of instruction G000.
Mandatory activities: initialization of the system
Prohibited instructions: none
Recommended program organization in module :000:
:000 C004 ;init module
:100 *
*
*
PLC program
*
*
*
NY405 ;no emergency state
G100 ;cycling
EG000 ;init in emergency state
ZJ0
3.2 Modules of Optional Uses
:002 - :199 except for:
:005 - :019 NC subroutines
:050 - :059 subroutines provided by the manufacturer.

8
3.3 Subroutines Provided by the Manufacturer (to be called from the PLC)
It is a continuously expanded library of subroutines.
:050 - :059
Those modules maynot be used optionally. None of the modulesof the above numbers may
beincludedinthePLCprogram,onlyreference maybemade tothemwith instruction C05n.
Whenever the compiler finds such a module, it will return an error signal.
:052 - Issuinga main drive analog signal from the OP. The D/A converter of the main drive
has a resolution of 14 bits. Accordingly, the output analog signal is +10V or -10V
when 4096 or -4096 is loaded in the D/A, respectively.
UkiO
P
DRIFT6
4096 10
V
The content of the OP is not written directly into the D/A, but the value set for
parameter DRIFT6 (PAR4126) is added to it.
:053 - Computation and outputting of the analog signal in register RH050, pertaining to the
desired speed. The subroutine checks to see that the desired speed can be output in
the particular range. If the desired speed is higher than the maximum speed of the
current range, it will effectuate the maximum speed; if it is lower than the minimum
speed in that range, it will effectuate the minimum one in the range concerned. The
term"desiredspeed"refers to the programmedone modifiedbythespindle override.
In the case of an override disable , the subroutine will ignore the override setting, to
adjust 100%. The contents of registers OP and RH050 remain unchanged.
:054 - command signal issue to the 1st analog output
An analog signal proportional to the values on parameters COMMAND1 és
COMMAND2 (parameter No. 0121) can be issued to an arbitrary analog output of
thecontrol. On parameters ANALOG1 and ANALOG2 (parameterNo. 0141)limit
values can be determined similar way like for the spindle. The analog signal can be
given out by calling this subroutine. On the lower byte of OP the override value can
be set, while on the higher byte the parameter group whose value to be output can be
set.

9
Group assignement: OVERRIDE:
0 = 0V command signal output 0 = 50%
1 = COMMAND1/ANALOG1 parameter 1 = 60%
2 = COMMAND2/ANALOG2 parameter 2 = 70%
3 = 80%
4 = 90%
5 = 100%
6 = 110%
7 = 120%
8 = 130%
9 = 140%
10= 150%
After the module was called the system`s software checks whether the position
control loop is closed on the given output (parameter NOLOOPn=0). If it is the
system`s software does nothing without any error message. If the position loop is
open (NOLOOPn = 1 ) the programmed analog signal is output the way described
before. The polarity of the analog signal can be dtermined on output flags (Y611 -
Y615 ). 0V analog signal can be output by setting the higher byte of OP to 0.
:055 - command signal issue to the 2nd analog output
:056 - command signal issue to the 3rd analog output
:057 - command signal issue to the 4th analog output
:058 - command signal issue to the spindle analog output
3.4 PLC Subroutines to be Called from the Part Program
:005 - :019
Those subroutines do not belong integrally to the PLC program, they are parts of the NC
system program. Theyhave different run cycles, too: theyare run in the time segment of the
NC, not in that of the PLC. The data transfer between the NC and the PLC is performed by
registers RHnnn.
RH000 - RH049 NC -- PLC data transfer
RH050 - RH099 PLC -- NC data transfer
LNotes:
$"
Never call modules from subroutines :005 - :019, that are used by the PLC, too, and the

10
other way ground, never call modules from the PLC program, that are used by
subroutines :005 - :019.
$"
At the time of escaping from the modules, the PLC $
$$
$NC data transfer register of the
particular module must be loaded to the current value (SRHnnn), because those
registers are used by the NC for its internal administration and for the displays!
:005 - Spindle START/STOP module
It is called when the NC executes command M03, M04, M19 or M05. In entering in
the module, the contents of registers OP and RH002 will be 3, 4, 19 or 5 in
accordancewithcommandsM03,M04, M19orM05, respectively.Priortoescaping
from the module, register RH052 must be set.
Mandatory activities: spindle start, direction reversal, stop or orientation.
Prohibited instructions: none.
:006 - Coolant module (M08, M09)
Called whenever the NC executes command M08, M09. At the time of entering in
themodule, thecontentsof registersOP andRH003willbe8or9 inaccordancewith
commands M08 and M09, respectively. Prior to escaping from the module, register
RH053 must be set.
Mandatory activities: turning the coolant on/off.
Prohibited instructions: none.
:007 - Gear change module
Called whenever the NC executes commands M11, M12, M13, M14, M15, M16,
M17 or M18. At the time of entering in the module, the contents of registers OP and
RH004 will be 0BH-12H in accordance with commands M11-M18, respectively.
Prior to escaping from the module, register RH054 must be set.
Mandatory activities: execution of a gear range selection.
Prohibited instructions: none.
:008 - Tool change module
The module is called when T command is executed in the part program. According
to parameter setting the OP register contains the programmed tool number (when
parameter 0101 MANUAL=1), or the tool pot number and the direction of new pot
search (when parameter 0101 MANUAL =0). In the latest case if the programmed
tool is not registeredin the tool pottable directlythe tool numberis transferred to the
PLC.
The meaning of OP is determined by it`s bit No. 15.
case a: if bit 15=0: tool number is in the OP register
then bit 14=0,
and bit 13 - bit 0 = tool number, programmed on address T
case b: if bit 15=1:the pot number of the tool referred on address T is in the OP
register
bit 14 tells the direction of tool pot search

11
if the magazine can be turned in both directions (this fact is indicated by
parameter 0103 BIDIR=1) it tells the shorter way to the tool pot searched
=0 search in positive direction
=1 search in negative direction
positive direction: increasing number of tool pots
bit 13 - bit 8 =don`t care
bit 7 - bit 0 = tool pot number
Mandatory activities in module :008
- Accordingto bit 15 of OP register blinkingoftoolnumberonthedisplayorsearchig
for tool pot.
- If the machine has onlymanual tool change possibility or the tool change carried out
for T code (not for M06) and the NC commanded manual tool change by the OP
register bit 15the tool number should be displayed bya blinking message in module
:008. Before returnig from module RH054 register should be updated.
- If the tool is changed for command M6 (parameter 0102 M06=1) and the NC
commandsmanualtoolchangetoolnumbermust besaved(blinkingmessageshould
be carried out for command M6).
- If the magazine is of turret type (parameter 0102 M06=0) tool change should be
carried out in module :008. Before returnig from module RH054 register should be
updated.Ifthereisanyfailure.FFFFshouldbewritteninto registerRH054 andmake
the NC to go into manual mode.
- If the magazine is of turret type (parameter 0102 M06=0), but the previous tool
should be removed manually (because it was loaded manually) and then should be
the new tool changed.
- If the tool change is executed for M6 tool pot number and the direction of search
should be saved and should be returned to the NC. Tool pot search should be carried
out in module :001, but after the previous search is over.
Forbidden instructions: none
:009 - Speed change module
Called whenever the NC is being run by command "S". OP and register RH000
containsthespeedvaluewrittenataddress"S"inbinaryform.Priorto escapingfrom
the module, register RH050 must be updated.
Mandatory activities: execution of speed change.
Prohibited instructions: none.
:010 - Other M functions module
Called whenever the NC is being run by command "M" diffrent from M3, 4, 5, 19,
M8, 9, M11, ..., 18, M2, 30. At the time of entering in the module, the OP contains
the M code in the form of a two-byte binary number in the range of 000 to 999.
Mandatory activities: processing the M command.
Prohibited instructions: none.

12
:011 - End of program module (M2, M30)
Called when the NC is being run under command M2, M30 or % (end of program).
At the time of entering in the module, the content of the OP is not defined.
Mandatory activities: none.
Prohibited instructions: none.
:012 - Spindle jog module
It is called whenever the NC is in SPINDLE JOG state, and one of the axis-moving
push buttons (JOG) is pressed or released. When a positive or negative JOG button
is pressed, the content of OP will be 3 (M03) or 4 (M04), respectively. When the
JOG buttons are released, the content of OP will be 5 (M05).
Mandatory activities: slow rotation of the spindle.
Prohibited instructions: none.
:013 - Module for axis jog
Calledifthecertainaxisismoved byjog,handwheel, or returningtoreferencepoint.
The module is activated in all cases before and after a move command if output flag
is Y460=1. When entering the module OP refers to the axes to be moved and the
information whether the axes should be moved by feed or by rapid traverse.
Mandatory activities:
Unclamping brakes, clutches of the assigned axes. In caseof errorY462 flag
should be set to 1.
Forbidden instructions: none
:014 - Tool change module (M06)
It is called if M6 command is executed. In the OP register the returning tool number
or tool pot number can be found. If the returning tool pot number is defined the OP
contains the optimal return direction, if the magazine is bidirectional. In random
acces magazines the closest tool pot with the necessary width is assigned. The
meaning of OP is specified by its bit 15

13
case a: if bit 15=0: the return tool number is in OP register
bit 14=0,
bit 13 - bit 0 = return tool number
case b: if bit 15=1: the return pot number is in OP register
bit 14: the optimal direction for turning the magazine if it is bidirectional
(this fact is indicated by parameter 0103 BIDIR=1). It is always 0 if the
magazin unidirectional.
=0 search in positive direction
=1 search in negative direction
positive direction: increasing number of tool pots
bit 13 - bit 8 =don`t care
bit 7 - bit 0 = tool pot number
When calling tool change module the axes should be in tool change position. This should be
done by a subprogram called by M6 instruction.
Obligatory activities in module :014
- Accordingto bit 15 of OP tool pot must be searched or the return tool number should
be beeing blinked.
- Waiting as long as the tool pot called in module :008 is in change position
:015, :016, :017 - , A, B, C function module
Calledifparameter1493A.MISCEL=1,1496.B.MISCEL=1,or1499C.MISCEL=1
and the part program runs onto code A, B or C.
Obligatory activities: none
Forbidden commands: none
:018 - module for activities in the state 2x STOP
Called in auto mode after pushing twice the stop button.
Obligatory activities: none
Forbidden commands: none
:019 - module for activities after START following 2x STOP state
Called in auto mode after start button was pressed in 2xSTOP state
- before the NC returns to the position that was broken, if flag Y442=0, or
- after the NC returns to the position that was broken, if flag Y442=1
Obligatory activities: none
Forbidden commands: none

14
4 Variables of the PLC Program
4.1 PLC %$
%$%$
%$ Machine Interface Input, Output Lines
The basic configuration of the NCT90 control has 48 INPUT and 32 OUTPUT lines on the
INT board (1 pcs). That number can, of course, be expanded through the use of max. 4 INT
boards. Since each INT board carries 48 INPUT and 32 OUTPUT lines, the maximum
number of interface lines is 192 INPUT and 128 OUTPUT. The allocation of sockets on the
INT0 interface board is shown in the Appendix.
Boards INT1-INT3 have, of course, the same socket allocations as the INT0 board. eference
can be made to the lines of the extension boards as follows:
INT0 1000 - I057
O000 - O037
INT1 I100 - I157
O100 - O137
INT2 I200 - I257
O200 - O237
INT3 I300 - I357
O300 - O337
4.2 PLC %$
%$%$
%$ NC Input, Output Flags
The input flags will inform the PLC about the states and modes of the NC. The input flags
are managed in the same manner as the 24V input lines. The state of the line (which may be
1 or 0) can be polled through opening conditional checks Innn, NInnn or Vnnn.
The PLC communicates with the NC about its own states, the executed or requested modes,
through output flags. The output flags can be turned on or off in the same manner as the 24V
output lines are managed (Dnnn, Unnn or SYnn). The states of the output flags (which may
be 1 or 0) can be polled through opening conditional checks (NYnnn).
INPUT FLAGS
NC $
$$
$PLC
I400 MANUAL MODE
=1, the NC is in manual mode
=0, the NC is not in manual mode
I401 SETTING MODE
=1, the NC is in setting mode
=0, the NC is not in setting mode
I402 REFERENCE POINT RETURN MODE
=1, the NC is in reference point return mode
=0, the NC is not in reference point return mode

15
I403 PROGRAM MODE
=1, the NC is in program-editing mode
=0, no PROGRAM mode
I404 TEST MODE
=1, the NC is in program test mode
=0, no TEST mode
I405 AUTO MODE
=1, the NC is in automatic program execution mode
=0, no AUTO mode
I407 JOG STATE
=1 the NC is in an operational mode where the use of jog buttons or the use of the
handle is allowed.
=0 not JOG state
I410 STOP STATE
=1, the NC STOP lamp is on
=0, the NC STOP lamp is off
I411 START STATE
=1, the NC START lamp is on
=0, the NC START lamp is off
I412 MACHINE ON button
0 $
$$
$1 when the MACHINE ON button is pressed
1 $
$$
$0 when the PLC acknowledges this by the instruction U401
I417 state of part counter
=1 the value of the part counter has reached the value specified on parameter
PRTOTAL. This flag is 1 at most for 100 msec after this event.
=0 the value of the part counter hasn`t reached the value specified on parameter
I440 Output of MON disable
=1, MACHINE ON cannot be issued (disastrous machine trouble)
=0, MACHINE ON can be output
I450 run of set-point signal "S" completed
=1, set-point signal "S" has assumed the nominal value (N=NS)
=0, run of set-point signal "S" is on (NUNS)
I460 selection of external handwheel axis
=1, selector in position 1
I461 selection of external handwheel axis
=1, selector in position 2
I462 selection of external handwheel axis
=1, selector in position 3

16
I463 selection of external handwheel axis
=1, selector in position 4
I464 selection of external handwheel axis
=1, selector in position 5
I465 selection of external handwheel axis
=1, selector in position 6
I470 selection of external handwheel axis
=1, selector in position 0.001
I471 selection of external handwheel axis
=1, selector in position 0.01
I472 selection of external handwheel axis
=1, selector in position 0.1
I600 position loop is closed for the spindle
=1 position loop is closed on the spindle, spindle is oriented
=0 position loop is not closed on the spindle
I610 INPOS AXIS 1.
=1, axis 1 is in position (FOL.ERR.1 <= INPOS1)
=0, axis 1 is off-position (FOL.ERR.1 > INPOS1)
I611 INPOS AXIS 2.
=1, axis 1 is in position (FOL.ERR.2 <= INPOS2)
=0, axis 1 is off-position (FOL.ERR.2 > INPOS2)
I612 INPOS AXIS 3.
=1, axis 3 is in position (FOL.ERR.3 <= INPOS3)
=0, axis 3 is off-position (FOL.ERR.3 > INPOS3)
I613 INPOS AXIS 4.
=1, axis 4 is in position (FOL.ERR.4 <= INPOS4)
=0, axis 4 is off-position (FOL.ERR.4 > INPOS4)
I614 INPOS AXIS 5.
=1, axis 5 is in position (FOL.ERR.5 <= INPOS5)
=0, axis 5 is off-position (FOL.ERR.5 > INPOS5)
I615 INPOS AXIS 6.
=1, axis 6 is in position (FOL.ERR.6 <= INPOS6)
=0, axis 6 is off-position (FOL.ERR.6 > INPOS6)

17
OUTPUT FLAGS
PLC $
$$
$NC
Y400 MACHINE ON lamp.
U400 = softkey MACHINE ON is inverted,
D400 = the inverse state is turned off.
Y401 MACHINE ON acknowledged (ACK.).
U401 = acknowledgement of the MACHINE ON push button (I412), i.e. the
feedback bythe PLC of havingsensed the depression of MACHINE ON; the
NC may switch flag I412 to 0.
D401 = after U401 has been issued, waiting for flag I412 being switched to 0; then
D401 has to be issued (hand-shake).
Y402 INHIBITION OF BLOCK START (REC.ST).
U402 = setting the inhibition of block start. The NC gets in STOP state before the
execution of each technological block (record), and delivers a message
INHIBITION OF BLOCK START.
D402 = inhibition of block start cancelled.
Y403 INHIBITION OF WRITE IN MEMORY (PROTECT).
U403 = setting the protection of the technological program memory against
transcript.Inthe eventofanattemptat transcript,theNC returns themessage
WRITE IN MEMORY INHIBITED.
D403 = protection of technological program memory against re-writing cancelled.
Y404 MACHINE ON
U404 = activation of zero-voltage output enabled. The NC enables the internal NC
READY state to be connected to the 24V output. The 24V MACHINE ON
output will be active only when lamp NC READY on the Operator´s panel
is illuminated and U404 prevails.
D404 = unconditional cutout of the MACHINE ON output
Y405 EMERGENCY STATE
U405 = theNC is broughtto alarm state. TheNC returns an error signal"ESTATE?"
foreach PLCactivitycalledfromtheNC (callingmodules :005-:012)andfor
any axis-moving command.
D405 = no alarm state.
Y406 CYCLE STOP
U406 = cycle stop. This condition is produced by a 0...1 change of the flag.
D406 = cycle-stop request released.
Y407 CYCLE START.
U407 = cycle start. This condition is produced by a 0...1 change of flag Y407
provided Y406=0.
D407 = cycle-start request released.
Y412 LIM3-