Specialized Concentrated Focused
Machine Tool Debugging
「
27
」
Fig. 4-3 [IOPort] Interface in NcStudio V9
3) Alter the input port polarity of the software in terms of the home switches and E-STOP button used:
the polarity of NO input ports is N, while that of NC input ports is P. The way to alter the polarity is
as follows:
a) In NcStudio V8: press Ctrl, Alt and Shift simultaneously, while right clicking the signal to
modify its polarity, a menu to appear, and then c
hoose “Toggle Polarity”. After changing the
polarity of all desired ports, close and restart NcStudio, polarity modification to become valid
instantly.
b) In NcStudio V9: directly click the manipulation button [ConvtPol], or press its shortcut key F5
under [IO Port] screen of [DIAG] function tab. After changing the polarity of all desired ports,
close and restart NcStudio, polarity modification to become valid instantly.
4) Electrify the electrical box. At this time, the dots in front of such input signals as REF. point signals
of the three axes, E-STOP signal, cycle start/stop signals and tool sensor signal should be in red,
indicating all these signals are invalid. Otherwise, it is necessary to check the correctness of
electrical circuitry and signals polarity. If electrical circuitry is correct, alter the corresponding
signal polarity to ensure the dots in front of the above-mentioned signals red.
5) Test whether the inputs and outputs on the terminal board work normally. For an input, the method
is as following: short circuit an input and COM on the terminal board: if the corresponding LED on
the terminal board turns on, but the corresponding input in the software does not have the signal,
you need to check the connection of the cable DB37M/F between the control card and the
terminal board. If the LED does not turn on, you need to check whether the terminal board meets
a fault (like power supply issue). To test an output port, set parameter
“Move to Mechanic Point
before Machining
” as “False”. Enter a command in interface [MDI] after selecting sub-menu
[Advanced MDI] under menu [Operation] in NcStudio V8, as shown in Fig. 4-4, or in interface
[UserCom] in NcStudio V9, as shown in Fig. 4-5. Use 901 command to program the command, for
example command
“M901 H2 P1/M901 H2 P0” is for testing port 2. After executing the command
you inputted, observe whether the corresponding LED on the terminal board turns on or off
accordingly. If so, the output works normally; if not, check the connection of the cable DB37M/F
between the control card and the terminal board. And if the connection is correct, you need to
change a terminal board.