Professional Documents
Culture Documents
The information in this manual has been thoroughly reviewed and is believed to be accurate.
ANILAM, Inc. reserves the right to make changes to improve reliability, function or design
without notice. ANILAM, Inc. assumes no liability arising out of the application or use of the
product described herein. All rights reserved. Subject to change without notice.
Copyright © 1998 ANILAM Inc.
10-Feb-98 Disclaimer
Hardware and Interface Manual
P/N 70000322 - Introduction
Introduction
This manual covers hardware and interface instructions for 1200T and
1400M systems. Sections 1 to 10 discuss the relevant hardware
components and installation/interconnection issues. Sections 11 to 14
describe the Setup Utility software for 1200T and 1400M systems and
provide software maps for navigating through the setup menus. Section
15 describes how to use a Programmable Controller Interface with the
control software. Section 16 describes how to use the Integral
Programmable Interface (IPI) with the control software.
The manual covers hardware and setup instructions for current and
earlier system configurations, including:
Older system configuration Current system configuration
LM-628 Motion Control Board DSP Motion Control Board
Serial Junction Board Anicom Board Harness
Effectivity notation has been added to aid you in locating sections
relevant to your system.
10-Feb-98 Contents - 1
Hardware and Interface Manual
P/N 70000322 - Contents
Contents - 2 10-Feb-98
Hardware and Interface Manual
P/N 70000322 - Contents
10-Feb-98 Contents - 3
Hardware and Interface Manual
P/N 70000322 - Contents
Contents - 4 10-Feb-98
Hardware and Interface Manual
P/N 70000322 - Contents
10-Feb-98 Contents - 5
Hardware and Interface Manual
P/N 70000322 - Contents
Contents - 6 10-Feb-98
Hardware and Interface Manual
P/N 70000322 - Contents
10-Feb-98 Contents - 7
Hardware and Interface Manual
P/N 70000322 - Contents
Contents - 8 10-Feb-98
Hardware and Interface Manual
P/N 70000322 - Contents
10-Feb-98 Contents - 9
Hardware and Interface Manual
P/N 70000322 - Contents
Contents - 10 10-Feb-98
Hardware and Interface Manual
P/N 70000322 - Contents
10-Feb-98 Contents - 11
Hardware and Interface Manual
P/N 70000322 - Contents
Contents - 12 10-Feb-98
Hardware and Interface Manual
P/N 70000322 – Installation/Interconnection
IMPORTANT NOTE: The CNC, other control devices and the enclosure
must be properly grounded. An authoritative source on grounding
requirements for most installations is the National Electrical Code (NEC).
Follow general wiring guidelines:
− Do not run signal wiring and power wiring in the same conduit. Where
paths must cross, make intersections perpendicular.
− Segregate I/O wiring by signal type. Route wiring with different signal
characteristics along separate paths whenever possible. To prevent
crosstalk, avoid running harnesses containing different signal types
parallel to one another.
− Establish a low impedance, single point ground. All noise reduction
techniques depend upon proper grounding.
− Proper routing and grounding are more important than servo wire
length.
− Make signal wiring as short and direct as possible.
CAUTION: You must install E-STOP switches in the system. Make
certain that the relay contacts used have a sufficient rating for the
application.
− The E-STOP button and travel limit switches are wired in series. When
any of them opens, the servo is de-energized. This will remove power
from the machine. Ensure that they are correctly installed, for safety.
WARNING: Never alter these circuits to defeat their function.
Serious injury or machine damage could result. Observe all
applicable codes as to the placement and labeling of E-STOP
switches.
Clean all Stand-Off and Mounting Assemblies to Bare Metal at Points of Contact
The goal is to create a continuous metal-to-metal surface contact from the
machine to the two enclosures. The machine builder decides which
points are best suited for this task.
Threaded holes are not proper grounds, just as the threads of the
mounting bolts are not proper ground paths. The best path is between
two bare metal surfaces, with the proper lock washer between them. The
closer the installation is to this model, the better the ground.
Clean all Paint to Bare Metal from the Enclosure at the Points of Contact
Once the bond point locations are determined, remove the paint at these
points to allow bare metal-to-metal contact via internal or external tooth
lock washers.
Isolation Transformer
An isolation transformer is sometimes used in the AC line to the
controller. This type of transformer provides isolation from the power
distribution system and is often used as a step-down transformer to
reduce line voltage. Any transformer used with the CNC must have a
sufficient power rating for its load. This power rating is generally
expressed in volt-amperes (VA).
− ANILAM recommends an electrostatic-shielded isolation transformer,
with a rating of 2KVA, for the system.
− If output devices are connected through the transformer, add their
maximum VA requirements to determine the correct transformer size.
Refer to Table 1-3, Required Cables. The cables do not have terminal
block type connectors. However, all are readily available styles.
NOTE: Harness Assemblies, P/N 31900583 and P/N 31900584, are only
required if the ANILAM +5,+/-15 power supply is used. (Refer to Figure
1-3, Assembly Harness, DC Power Supply to I/O Board and Figure 1-
4, Assembly Harness, AC Power Supply to I/O Board.) These cables
are also available from ANILAM in custom lengths.
Table 1-3, Required Cables
P/N Conn/Wired/Conn Use
31900583 Used with ANILAM Power Supply, DC power harness
P/N 90600328. Refer to Figure 1-3.
31900586 3-pin male MOLEX, both ends. +12 VDC power for 1200T
Refer to Figure 1-7. monitor
NOTE: The Serial Junction Board has been replaced by the Anicom Harness, P/N
31901114. For earlier systems, connection of the Serial Junction Board is detailed in
Section 9.
Figure 1-3, Assembly Harness, DC Power Supply to I/O Board, P/N 31900583
Figure 1-4, Assembly Harness, AC Power Supply to I/O Board, P/N 31900584
TO VGA 20" TO
MONITOR COMPUTER
VGA
31900585
WIRING SIDE
Figure 1-6, Assembly Harness, VGA Monitor to VGA, P/N 31900585
31900586
Figure 1-7, Assembly Harness, Monitor to Computer +12V Power Supply, P/N 31900586
35"
TO MOTION BD. TO MOTION JUNCTION BD.
P2 CONNECTOR (PCB 845) CONNECTOR P1
31900768
Figure 1-8, Assembly Harness, Motion Board to Motion Junction Board, P/N 31900768
To ensure proper grounding and shielding, tie all shielded wires only to
P11 of the Motion Junction Board.
24"
TO REAR PANEL
TO EXT. KEYBD.
TO KEYBD
INTFC-P1
PIN ORIENTATION
ON SOLDER SIDE
OF FEMALE DIN CONN. 31900381
Anicom Board to System Connection (Manual Panel, I/O Controller and RS-232 Ext.)
On systems without an Serial Junction Board, the Anicom Board connects
directly to the Manual Panel, I/O Controller and an RS-232 extension.
Connection is via the Anicom Harness, P/N 31901114. Refer to Figure
1-11, Anicom Harness Connections, Systems without an Serial
Junction Board.
Figure 1-11, Anicom Harness Connections, Systems without an Serial Junction Board, P/N 31901114
Refer to Figure 1-14, I/O Board, Input/Output Bits and LEDs. The I/O
Board P4 connector is the interface point for all programmable input and
output functions, including vector limits. The I/O Board has sixteen inputs
and eight outputs, all optically coupled, each with an LED indicator. For a
pinout of the P4 connector, refer to Table 1-5, Programmable Inputs
and Outputs.
Table 1-5, Programmable Inputs and Outputs
Inputs Power Outputs
Pin 28 27 26 25 24 23 22 21 20 19 18 17 16 15
Bit/Signal 7 6 5 4 3 2 1 0 Com Com 0 1 2 3
Pin 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Bit/Signal 15 14 13 12 11 10 9 8 +24 +24 4 5 6 7
All inputs at the P4 connector are +24VDC, referenced to the servo
+24VDC power supply. All outputs are 24V COMMON and will sink 500
mA of current. +24VDC and COMMON are available at the P4 connector.
LEDs L13 (Bit 0) to L28 (Bit 15) are the input indicators. LEDs L29 (Bit 0)
to L36 (Bit 8) are the output indicators. Each set of LEDs runs from left to
right on the I/O Board in descending Bit and LED order. (Refer to
Section 2 - I/O Board for more information.)
Terminal Block Plug Part Numbers and Locations
Most of the wiring connections for 1200T/1400M systems are made via
removable terminal block plugs. Each assembly is shipped with all of the
required plugs. Refer to Table 1-6, Terminal Block Plugs for sizes, part
numbers, locations and number of terminals for all required removable
terminal block plugs.
Table 1-6, Terminal Block Plugs
Qty P/N Size # Of Connector
Terminal
Keyboard Interface
1 80900159 .15 10 P1
Manual Panel
1 80900164 .15 2 P7
1 80900155 .15 3 P1
1 80900157 .15 6 P2
I/O Board
4 80900128 .2 2 P6
P3 (13-14)
(27-28)
1 80900136 .2 4 P3 (23-26)
1 80900130 .2 5 P4 (15-20)
3 80900143 .2 6 P1
P4 (1-6)
2 80900138 .2 8 P4 (7-14)
1 80900120 .2 9 P4 (20-28)
P3 (15-22)
1 80900119 .2 12 P3 (1-12)
1 80900157 .15 6 P2
Serial Junction Board
2 80900157 .15 6 P8, P9
Motion Junction Board
4 80900129 .2 3 P3
2 80900136 .2 4 P4
4 80900143 .2 6 P2
P1
4”
3.688”
P2
(MTG HOLES FOR #6
SCREW) TYP. 4 PLACES
.156”
2.0”
.156”
6.938” Minimum Required
7.25” Clearance
Figure 1-22, 1200T Computer Wiring (DSP MCB and Radisys SBC)
Figure 1-23, 1400T Computer Wiring (DSP MCB and Radisys SBC)
Figure 1-24, 1400M, 5-Axis Computer Wiring (Two LM-628 MCBs and Radisys SBC)
Figure 2-1, I/O Board Dimensions and Cable Clearances, Ref. Dwg., P/N D000513
Pin-to-Pin Through
1-2 Normally Closed switch 1
3-4 Normally Closed switch 2
4 - 12 Wire jumper (not used)
In this case, indicators L7, L8 and L9 will illuminate when the dead stop
loop is closed. Indicators L10, L11 and L12, having been jumpered out,
will not illuminate during a normally closed condition.
NOTE: Each loop is connected on the circuit board. Therefore, Pin 2 is
connected to Pin 3, Pin 4 to Pin 5, etc.
You can connect an additional servo reset switch at Pins 27 and 28 of the
P3 connector. If an additional Servo Reset switch is required, wire a
normally open switch across Pins 27 and 28. Mount the switch in any
convenient location.
Program inputs and outputs are active high or active low. Regardless of
the active state, all inputs at the P4 connector are +24VDC, referenced to
the servo +24VDC power supply. All outputs are 24V COMMON. The
output drivers are ULN2074 ICs and each circuit will sink approximately
500 mA of current. The +24VDC and COMMON are available at the P4
connector.
Input Indicators
Refer to Figure 2-5, Input and Output Pins and LEDs (P4). The I/O
Board input indicators, L13 to L28, precede the input MCT-6 opto-
couplers in the input circuit. This configuration reflects the status of the
bit at the input to the board. For input bit assignments, corresponding
LED indicators and terminal pin numbers, refer to Table 2-8, Input
Indicators.
Table 2-8, Input Indicators
Output Indicators
Refer to Figure 2-5, Input and Output Pins and LEDs (P4). The output
indicators, L29 to L36, precede the output MCT-6 opto-couplers and
ULN2074 drivers in the output circuit. This configuration reflects the
status of the bit at the logic level, not the true output status (because the
opto-coupler or driver could fail). For output bit assignments,
corresponding LED indicators and terminal pin numbers, refer to Table 2-
9, Output Indicators.
Table 2-9, Output Indicators
Function Port
1) External Finish Pulse 0000
--- is changed to ---
1) External Finish Pulse 0001
If the External Finish Pulse port is set to 0001 for M-Codes specified in
I/O Board, the control must detect a Finish signal at connector P4 Pin 21
of the I/O Board before it will continue the program.
Available options fulfill most input programming needs. For further details
regarding input assignment, port selection and programming, consult the
appropriate Setup section for 1200T/1400M controls. (Refer to Section
13 - 1200T Setup Utility or Section 15 - 1400M Setup Utility.) The
Active High/Low state can be configured for all available inputs in the
Setup Utility. The Input Port parameter enables the user to change the
Active state of the input.
For example: Active High is selected for bit 0 of the External Finish
Pulse. When the +24VDC pulse is applied (referenced to the servo's
+24VDC Power Supply), the program will continue after an M-Code runs.
Assigning Vector Limits
CAUTION: Make sure not to inadvertently assign the same input bit
to multiple functions. This could cause problems in machine
operations with possibly dangerous consequences.
Assigning Outputs
The I/O Board supports up to eight optional outputs. Outputs are
switched at 24VDC COMMON, referenced to the servo system's +24VDC
power supply. Outputs are optically isolated via an MCT-6 opto-coupler
and driven by a ULN2074B capable of 500 mA per output. Do not exceed
the output drive capability of the servo system's +24VDC power supply.
Outputs are assigned in the Setup Utility. For further information
regarding machine setup, refer to Section 13 - 1200T Setup Utility or
Section 15 - 1400M Setup Utility).
There are two types of output assignments:
− S-functions (spindle)
− M-functions (miscellaneous)
The 1200T/1400M systems also support an S-function for spindle function
assignment. The S-function is assigned to a bit, 0 to 7 (on or off).
Figure 2-6, Anicom Harness Connections, Systems without a Serial Junction Board, P/N 31901114
Clearance Requirements
4.750"
4.75"
4.50"
.25"
2"
.500"
6.500"
Minimum Required
Cable Clearance 7.000"
EXPDIM
Input Indicators
Refer to Figure 3-1, I/O Expansion Board, P/N 31900575. The input
indicators, L1 to L16, precede the input MCT-6 opto-couplers in the input
circuit. This configuration reflects the status of the bit at the input to the
board. For input bit assignments, corresponding LED indicators and
terminal pin numbers, refer to Table 3-2, Input Indicators.
Table 3-2, Input Indicators
Output Indicators
Refer to Figure 3-1, I/O Expansion Board, P/N 31900575. The I/O
Board output indicators, L17 to L32, precede the output MCT-6 opto-
couplers and ULN2074 drivers in the output circuit. This configuration
reflects the status of the bit at the logic level, not the true output status
(because the opto-coupler or driver could fail). For output bit
assignments, corresponding LED indicators and terminal pin numbers,
refer to Table 3-3, Output Indicators.
Table 3-3, Output Indicators
Power Supply
Refer to Figure 3-1, I/O Expansion Board, P/N 31900575. The +5V and
+24V power supply inputs are received at the P1 terminal block. The
block plug is wired in parallel. Connect wires to either or both pins.
Table 3-4, I/O Expansion Board P1 Pinout
Pin # Function
1, 5 +5V
2, 6 Ground
3, 7 Earth Ground
4, 8 +24V
*NOTE: Attach the shield wires of all cables only at the Motion Junction Board.
Encoder Inputs
The encoder input signals are received via the Motion Junction Board P2
connector. Refer to Table 4-2, Motion Junction Board P2 Pin
Assignments for the pin assignments.
Table 4-2, Motion Junction Board P2 Pin Assignments
Pin Signal Pin Signal
12 Axis 1 Phase A 24 Axis 0 Phase A
11 Axis 1 Phase B 23 Axis 0 Phase B
10 +5 VDC To Encoder 22 +5 VDC To Encoder
9 +5 Common To Encoder 21 +5 Common To Encoder
8 Shield * 20 Shield *
7 Axis 1 Index Pulse 19 Axis 0 Index Pulse
6 Axis 3 Phase A 18 Axis 2 Phase A
5 Axis 3 Phase B 17 Axis 2 Phase B
4 +5 VDC To Encoder 16 +5 VDC To Encoder
3 +5 Common To Encoder 15 +5 Common To Encoder
2 Shield * 14 Shield *
1 Axis 3 Index Pulse 13 Axis 2 Index Pulse
Servo Output
DAC command voltages are output to the servos at the Motion Junction
Board P3 connector. Refer to Table 4-3, Motion Junction Board P3
Connector Pin Assignments for the pin assignments.
Table 4-3, Motion Junction Board P3 Connector Pin Assignments
Pin Signal Pin Signal
6 Shield 12 Shield
5 Axis 1 Signal Common 11 Axis 0 Signal Common
4 Axis 1 DAC Signal 10 Axis 0 DAC Signal
3 Shield 9 Shield
2 Axis 3 Signal Common 8 Axis 2 Signal Common
1 Axis 3 DAC Signal 7 Axis 2 DAC Signal
Power Supply
The power supply inputs are received at the Motion Junction Board P4
connector. The two P4 terminal block plugs are wired in parallel. For
parallel pins, wires can be connected either or both pins. Refer to Table
4-4, Motion Junction Board P4 Pin Assigments for the pin
assignments.
Table 4-4, Motion Junction Board P4 Pin Assigments
PIN # Power Supply
1, 5 +15 VDC
2, 6 -15 VDC
3, 7 +5 VDC
4, 8 GND
+5V +5V
P1
27 .01 1K 74LS14
Phase A
+5V +15V
24
DAC + -15V
13
P3 DAC - 3, 7 COM
DAC 12, 25
out 1, 5
Shield P4 2, 6
power +
in
4.7 4.7
4, 8 +
Clearance Requirements
Refer to Figure 5-4, 6-Axis Motion Junction Board, Clearance
Dimensions for the assembly dimensions, mounting hole locations and
cable clearances required for installation.
Cable Connections
Refer to Figure 5-2, 6-Axis Motion Junction Board. The figure
identifies the various connectors for cabling. Connection to/from the
servo, encoder and power supplies is made via removable terminal block
plugs.
Encoder Inputs
Refer to Figure 5-2, 6-Axis Motion Junction Board. The board receives
encoder inputs from Axes 0 to 3 via the P1 terminal block. On 5- and 6-
axis 1400M systems that use a second Motion Board, the board receives
encoder inputs from axes 4 and 5 via the P2 terminal block.
Refer to Table 5-1, Single-ended vs. Differential Encoder Inputs. The
6-Axis Motion Junction Board supports both single-ended and differential
encoder inputs. For single-ended encoders, install all the jumpers
assigned to an axis (three for each axis). For differential encoders,
remove all assigned jumpers.
Table 5-1, Single-ended vs. Differential Encoder Inputs
*NOTE: Attach the shield wire(s) of all cables only to the Motion Junction Board.
Axes 0 to 3
The encoder input signals for Axes 0 to 3 are received by the Motion
Junction Board via the P1 connector. Refer to Table 5-4, Motion
Junction Board P1 Pinout for the pin assignments.
Table 5-4, Motion Junction Board P1 Pinout
Pin Signal Pin Signal
20 Axis 1 Phase A 40 Axis 0 Phase A
19 Axis 1 Phase A* 39 Axis 0 Phase A*
18 Axis 1 Phase B 38 Axis 0 Phase B
17 Axis 1 Phase B* 37 Axis 0 Phase B*
16 Axis 1 Index Pulse 36 Axis 0 Index Pulse
15 Axis 1 Index Pulse* 35 Axis 0 Index Pulse*
14 +5 VDC To Encoder 34 +5 VDC To Encoder
13 +5 Common To Encoder 33 +5 Common To Encoder
12 Shield 32 Shield
11 Not Assigned 31 Not Assigned
10 Axis 3 Phase A 30 Axis 2 Phase A
9 Axis 3 Phase A* 29 Axis 2 Phase A*
8 Axis 3 Phase B 28 Axis 2 Phase B
7 Axis 3 Phase B* 27 Axis 2 Phase B*
6 Axis 3 Index Pulse 26 Axis 2 Index Pulse
5 Axis 3 Index Pulse* 25 Axis 2 Index Pulse*
4 +5 VDC To Encoder 24 +5 VDC To Encoder
3 +5 Common To Encoder 23 +5 Common To Encoder
2 Shield 22 Shield
1 Not Assigned 21 Not Assigned
Axes 4 and 5
The encoder input signals for Axes 4 and 5 are received by the Motion
Junction Board via the P2 connector. Refer to Table 5-5, Motion
Junction Board P2 Pinout for the pin assignments.
Table 5-5, Motion Junction Board P2 Pinout
Pin Signal Pin Signal
10 Axis 5 Phase A 20 Axis 4 Phase A
9 Axis 5 Phase A* 19 Axis 4 Phase A*
8 Axis 5 Phase B 18 Axis 4 Phase B
7 Axis 5 Phase B* 17 Axis 4 Phase B*
6 Axis 5 Index Pulse 16 Axis 4 Index Pulse
5 Axis 5 Index Pulse* 15 Axis 4 Index Pulse*
4 +5 VDC To Encoder 14 +5 VDC To Encoder
3 +5 Common To Encoder 13 +5 Common To Encoder
2 Shield 12 Shield
1 Not Assigned 11 Not Assigned
Servo Output
Axes 0 to 3
DAC command voltages for Axes 0 to 3 are output to the servos at the
Motion Junction Board connector. Refer to Table 5-6, Motion Junction
Board P5 Pinout for the pin assignments.
Table 5-6, Motion Junction Board P5 Pinout
Pin Signal Pin Signal
7 Axis 2 Signal Common 1 Axis 3 DAC Signal
8 Axis 2 Signal Common 2 Axis 3 Signal Common
9 Shield 3 Shield
10 Axis 0 DAC Signal 4 Axis 1 DAC Signal
11 Axis 0 Signal Common 5 Axis 1 Signal Common
12 Shield 6 Shield
Axes 4 and 5
DAC command voltages for Axes 4 and 5 are output to the servos at the
Motion Junction Board P6 connector. Refer to Table 5-7, Motion
Junction Board P6 Pinout for the pin assignments.
Table 5-7, Motion Junction Board P6 Pinout
Pin Signal Pin Signal
5 Shield 1 Shield
6 Axis 4 DAC Signal 2 Axis 5 DAC Signal
7 Axis 4 Signal Common 3 Axis 5 Signal Common
8 Shield 4 Shield
Power Supply
NOTE: For systems that use separate +5V and +15V, -15V power sources,
attach the COMMON wires to the COM terminals (P7, Pins 4 and 8).
Refer to Figure 5-2, 6-Axis Motion Junction Board. Voltage inputs of
+5VDC, -15VDC and +15VDC are input at the P7 connector.
The two terminal block plugs that make up the connector are wired in
parallel. For parallel pins, wires can be connected either or both pins.
Refer to Table 5-8, Motion Junction Board P7 Pin Assigments for the
pin assignments.
Table 5-8, Motion Junction Board P7 Pin Assigments
Pin Power Supply
1 +15VDC
2 -15VDC
3 +5VDC
4 COMMON
5 +15VDC
6 -15VDC
7 +5VDC
8 COMMON
+5V +5V
.01 1K 1K P3
Phase A 27
(or P4)
4
27 .01 1K MC3486
Phase A*
220
Encoder filter: Typical
P1 1 of 3 per axis Single end. sel. jmpr.
(or P2)
Encdr in Phase B
Encoder
Phase B* filter
circuit
Zero Marker
Encoder
Zero Marker * filter
circuit
Shield
DAC +
DAC -
+5V +15V
24
-15V
13
3, 7 COM
DAC + 12, 25
P5 1, 5
(or P6) DAC - P7 2, 6
DAC power
out Shield +
in
4.7 4.7
4, 8 +
Component Parts
Refer to Figure 6-1, 3-Axis Motion Board, P/N 31900510 and Figure 6-
2, 4-Axis Motion Board, P/N 31900290.
Jumper Settings
Jumpers are mounted vertically, with Pin 1 nearest the edge of the board
at the AT bus slot. Three functions are affected by jumper settings:
− board address
− DAC output
− index pulse polarity
Jumper Axis
J4 0, Board 1 / 4, Board 2
J5 1, Board 1 / 5, Board 2
J6 2, Board 1
J7 3, Board 1
There are two sets of jumper setting configurations for both the 3-axis and
the 4-axis motion boards. Jumper configurations for these tables are as
shown in Table 6-4, 3-Axis Motion Board, P/N 31900510, Jumper
Settings and Table 6-5, 4-Axis, P/N 31900290, Motion Board Jumper
Settings.
Table 6-6, Pinout for Motion Board P2 Connector (and Motion Junction Board P1
Connector)
Pin Signal Pin Signal
14 AXIS 0 PHASE B 1 AXIS 0 PHASE A
15 AXIS 0 DAC SIGNAL 2 AXIS 0 INDEX PULSE
16 AXIS 1 PHASE A 3 AXIS 0 DAC* SIGNAL
17 AXIS 1 INDEX PULSE 4 AXIS 1 PHASE B
18 AXIS 1 DAC* SIGNAL 5 AXIS 1 DAC SIGNAL
19 AXIS 2 PHASE B 6 AXIS 2 PHASE A
20 AXIS 2 DAC SIGNAL 7 AXIS 2 INDEX PULSE
21 AXIS 3 PHASE A 8 AXIS 2 DAC* SIGNAL
22 AXIS 3 INDEX PULSE 9 AXIS 3 PHASE B
23 AXIS 3 DAC* SIGNAL 10 AXIS 3 DAC SIGNAL
24 +15VDC 11 SHIELD (*see note)
25 GND 12 GND
13 -15VDC
NOTE: Attach all shield wire(s) at the Motion Junction Board P1 connector.
Interface Requirements
Interface the DSP Board to servos and encoders through the Motion
Junction Board, P/N 31900563. The Motion Junction Board contains
additional filters to reduce noise and ensure proper TTL signals.
35"
HARN
CAUTION: Failure to connect Pin #12 (15V common), Pin #13 (-15 VDC) and Pin #24 (+15
VDC) properly can result in permanent damage to the board.
CAUTION: To help ensure noise suppression, only connect the harness shield to Pin 11
at the Motion Junction Board.
Jumper Assignments
Refer to Figure 7-1, DSP Board. All jumpers are mounted with Pin 1
oriented toward the ISA bus edge connector.
Table 7-2, Jumper Settings
Jumper Identifier Function Settings
2
J1 Ties digital system ground to
1
analog system ground. Connected by a wire link on
the board. Normally no jumper is
required. [Default]
3
J2 Board Address Select - Adjusts 2
board address for use as a primary 1
Jumper across Pins 1-2
board or as a secondary board.
identifies the board as the primary
Board must always be identified as
Motion Board. [Default: address
primary.
300H]
3
J3 Reset Select - Enables CNC to 2
perform a board reset. 1
Jumper across Pins 1-2,
enables the CNC to reset the
Motion Board. [Default]
3
2
1
No jumper installed, disables
CNC reset authority.
3
J4 Watchdog Reset Period - Sets 2
length of inactive period that 1
No Jumper, 250 msec.
activates a board reset. 3
2
NOTE: Preset at factory. Do not
1
change. Jumper across Pins 1-2, 500
msec.
3
2
1
Jumper across Pins 2-3, 62.5
msec. [Default]
3
J5 Activate Watchdog - enables 2
watchdog reset protection. 1
Jumper across Pins 1-2,
Watchdog resets board if no data is
Watchdog enabled. [Default]
sent back to CNC within prescribed 3
time period (system hangs). 2
1
Jumper across Pins 2-3,
Watchdog disabled.
Handwheel/DRO Interface
Refer to Figure 7-4, Handwheel Harness and Bracket Assembly.
Handwheel/DRO Ports 1 and 2 are physically located at board connectors
P4 and P5 respectively. (Configure these ports for handwheel or DRO
use in the Setup Utility.) A harness, P/N 31900688, plugs into P4 or P5 of
the Motion Board. The DE-9 connectors on the opposite end of the
harness are secured to a chassis connector bracket as shown in Figure
7-4, Handwheel Harness and Bracket Assembly.
Interface Requirements
Interface the DSP Board to servos and encoders through the Motion
Junction Board, P/N 31900563. The Motion Junction Board contains
additional filters to reduce noise and ensure proper TTL signals.
35"
HARN
CAUTION: Failure to connect Pin #12 (15V common), Pin #13 (-15 VDC) and Pin #24 (+15
VDC) properly can result in permanent damage to the board.
CAUTION: To help ensure noise suppression, only connect the harness shield to Pin 11
at the Motion Junction Board.
Jumper Assignments
Refer to Figure 8-1, DSP Board. All jumpers are mounted with Pin 1
oriented toward the ISA bus edge connector.
Table 8-2, Jumper Settings
Jumper Identifier Function Settings
2
J1 Ties digital system ground to
1
analog system ground. Connected by a wire link on
the board. Normally no jumper is
required. [Default]
3
J3 Reset Select - Enables CNC to 2
perform a board reset. 1
Jumper across Pins 1-2,
enables the CNC to reset the
Motion Board. [Default]
3
2
1
No jumper installed, disables
CNC reset authority.
3
J4 Watchdog Reset Period - Sets 2
length of inactive period that 1
No Jumper, 250 msec.
activates a board reset. 3
2
NOTE: Preset at factory. Do not
1
change. Jumper across Pins 1-2, 500
msec.
3
2
1
Jumper across Pins 2-3, 62.5
msec. [Default]
3
J5 Activate Watchdog - enables 2
watchdog reset protection. 1
Jumper across Pins 1-2,
Watchdog resets board if no data is
Watchdog enabled. [Default]
sent back to CNC within prescribed 3
time period (system hangs). 2
1
Jumper across Pins 2-3,
Watchdog disabled.
1 2 3
Handwheel/DRO Interface
Refer to Figure 8-4, Handwheel Harness and Bracket Assembly.
Handwheel/DRO Ports 1 and 2 are physically located at board connectors
P3 and P4, respectively. (Configure these ports for handwheel or DRO
use in the Setup Utility.) A harness, P/N 31900688, plugs into P3 or P4 of
the Motion Board. The DE-9 connectors on the opposite end of the
harness are secured to a chassis connector bracket as shown in Figure
8-4, Handwheel Harness and Bracket Assembly.
DE-9
Connectors
P3 & P4
Port Connectors
Chassis Bracket
BRKT
Section 9 - Interconnection/Installation
IMPORTANT NOTE: Any 1200T/1400M system shipped prior to April,
1997 contains a Serial Junction Board interconnecting the Anicom
board, the Manual Panel and the I/O Board. Any system shipped
since April, 1997 does not use an Serial Junction Board. Disregard
this section if the machine does not use an Serial Junction Board.
The Serial Junction Board connects all of the system’s RS-232 resources,
including:
− PC 2560 Anicom Communications Board
− Manual Panel
− I/O Board
− External User RS-232 port(s)
It can be mounted at any convenient location.
Dimension and Interconnection Information
Refer to Figure 9-1, Serial Junction Board for assembly size, mounting
hole locations, cable clearances and connector labels.
Serial Junction Board P8 connects to the I/O Board at the plug marked
"SERIAL COMM". Serial Junction Board P9 connects to the Manual
Panel at P2. Both connections are wired 1-to-1.
Table 9-1, Pin Assignments at Serial Junc. Bd. P1 Conn. (Anicom Bd. P6 Conn.)
Pin Signal Pin Signal
1 ANILAM 1 Tx Data (Console)
2 ANILAM 7 Tx Data (Distribution Board) 14 ANILAM 1 Rx Data
3 ANILAM 6 Rx Data (RS-232) 15 ANILAM 7 Rx Data
4 ANILAM 8 Rx Data 16 ANILAM 6 Tx Data
5 ANILAM 2 Tx Data (Manual Panel) 17 ANILAM 8 Tx Data
6 ANILAM 5 Rx Data (Full RS-232) 18 ANILAM 2 Rx Data
7 ANILAM 5 Dsr* 19 ANILAM 5 Tx Data
8 ANILAM 5 Cts* 20 ANILAM 5 Rts*
9 ANILAM 4 Tx Data (Security Key) 21 ANILAM 5 Dtr*
10 ANILAM 4 Rx Data 22 ANILAM 4 Rts*
11 ANILAM 4 Dtr* 23 ANILAM 4 Dsr*
12 Ground 24 ANILAM 4 Cts*
13 PC 2560 P5 Pin 5 25 PC2560 P5 Pin 1
ANILAM Port 1 RS-232 connection for the CRT Console is made via
ANILAM Port 1. The location of ANILAM Port 1 varies.
Generally, the P9 terminal block connector (6 pins) is
used. However, 1400M systems that require a DE-9
connector to interface to the console use P2.
ANILAM Port 2 The Manual Panel RS-232 port is at the Serial
Junction Board P6 connector. This connector is used
in 1400M systems that require connection to a manual
panel option.
ANILAM Port 4 The Security Key RS-232 port is at the Serial Junction
Board P7 connector. It is used in 1400M systems that
require a security key. In other cases, it can act as a
second full RS-232 port.
ANILAM Port 5 ANILAM Port 5 RS-232 communication is made via the
Serial Junction Board P4 connector.
ANILAM Port 6 ANILAM Port 6 RS-232 communication is made via the
Serial Junction Board P5 connector.
ANILAM Port 7 The Distribution Board RS-232 communication
connects to the Serial Junction Board P8 connector.
ANILAM Port 8 A spare port is available on the Serial Junction Board
P3 connector.
Security Key Connections (1400M Only)
The CNC system requires the user to verify 1400M software installations
and updates via an external security key device. This device connects to
the Serial Junction Board P7 connector during software installations and
updates.
Connection to System
NOTE: On earlier systems, the Anicom Board P6 connects to the Serial
Junction Board P1 via DB-25 connectors wired 1-to-1 on both ends.
Refer to Section 9 - Serial Junction Board for more information on
these systems.
On current systems (without Serial Junction Boards), the Anicom Board
connects directly to the Manual Panel, I/O Board and an RS-232
extension via Anicom Harness, P/N 31901114. Refer to Figure 10-3,
Anicom Connections, Systems without Serial Junction Boards (P/N
31901114).
Figure 10-3, Anicom Connections, Systems without Serial Junction Boards (P/N
31901114)
BACKPLN2
Ref. Dwg. 319001148
Default Settings
The Setup Utility has default settings pre-loaded in the configuration file.
These settings remain active unless the operator changes them. In the
manual, default settings are listed in the following format:
[Default: setting]
Keypad Keys
Refer to Table 13-1, Reference to Keypad Keys. In the manual, the
name of the symbol keys appear in small uppercase letters. The
corresponding characters are used for alphanumeric keys (A to Z, 1 to 9).
Table 13-1, Reference to Keypad Keys
CLEAR
SHIFT
SPACE
Switches
Console switches are referred to as shown in Table 13-2, Console
Switches.
Table 13-2, Console Switches
Manual Reference Switch
AXIS selector switch
E-STOP
JOG MINUS
SERVO RESET
HOLD
START
SPINDLE REVERSE
SPINDLE FORWARD
SPINDLE OFF
Axis Keys
Before some parameters can be changed, you must specify the affected
axis. Use the X and Z keys on the keypad to specify the axis.
Enter Key
In order to enter parameters into the system, press ENTER.
Exiting a Screen
Press Exit (F10) to return to a previous screen.
Print Configurations
System Resolution
The control uses feedback from a rotary encoder or linear scale to
provide the closed-loop positioning for the system.
Both scales and encoders can be used on the same system. For
instance, you might use linear scales on the X axis and an encoder on the
Z axis. It is not necessary to use a certain line count for a certain
resolution if the encoder is accurate enough to provide the resolution
required.
Encoder/Scale Resolution
Display Resolution
NOTE: This parameter applies only to encoders and should not be used
for scales.
Enter the number of counts per revolution supported by the axis encoder.
The software accepts line counts of up to 10,000 counts per revolution.
[Default: 635]
To enter an encoder line count:
1. Go to Map 1, Menu D, Axis Resolution Setup Screen. Highlight
Enc. Lines.
2. Press X or Z (axis being set). Press ENTER. The CNC highlights the
Enc. Line entry field for the entered axis.
3. Enter the encoder line count. Press ENTER.
Ballscrew Pitch
NOTE: This parameter applies only to encoders and should not be used
for scales.
Pitch The linear distance traveled per one revolution of
the ballscrew.
Set the pitch of the ballscrew. Use the unit of measurement to which the
CNC defaults (Inch or MM). [Default: 0.20]
To enter the ballscrew pitch:
1. Go to Map 1, Menu D. Highlight Pitch.
2. Press X or Z (axis being set). Press ENTER. The CNC highlights the
Pitch entry field for the entered axis.
3. Enter the pitch of the ballscrew for that axis. Press ENTER.
NOTE: This parameter applies only to encoders and should not be used
for scales.
The Ratio is the number of revolutions of the encoder that corresponds to
one full revolution of the ballscrew. [Default: 1.5]
To set the ratio:
1. Refer to Map 1, Menu D. Highlight Ratio.
2. Press X or Z (axis being set). Press ENTER. The CNC highlights the
Ratio entry field for the entered axis.
3. Enter the appropriate ratio for that axis. Press ENTER.
Encoder Phasing
CAUTION: On systems that use the ANILAM DSP Motion Control
Board, the Phase B setting is not used.
On systems using the LM-628 Motion Control Board, do not change
both Phase A and Phase B settings to reverse the direction of the
count. Change only one phase setting, usually A.
Moving an axis in a positive direction should yield a positive count on the
axis display. Similarly, moving an axis in a negative direction should yield
a negative count on the axis display. If an axis display does not count in
the appropriate direction, adjust the Encoder Phase A settings to correct
the problem. [Phase A Default: Invert(ed) for X and Z axes]
This is the only way to change the direction of the count without making
hardware changes.
To adjust the Encoder Phase A Setting:
1. Go to Map 3, Menu F. Highlight the menu selection that corresponds
to the axis being set. Press ENTER to switch the setting (Not Invert/
Invert). Changing the Phase A setting inverts the direction of count
for the adjusted axis.
On systems that use motion control boards with the LM-628 chip, it is
sometimes necessary to change both Phase A and Phase B for the
Homing function to work properly. The control must read a coincidence of
the Phase A, Phase B and Index Pulses at the input to the LM-628 chip to
declare a “Home” point.
If you use the Phase B selection to orient the Index Pulse signal with the
Encoder A and B signals, the count direction cannot be swapped via
software alone. The A and B wires must physically be swapped, at a
convenient point.
To adjust the Encoder B software setting:
1. Go to Map 3, Menu E. Highlight the menu selection that corresponds
to the axis being set. Press ENTER to switch the setting (Not Invert/
Invert).
Vector Limits
Vector limit switches (sometimes called directional limit switches) prevent
further motion along an axis, when tripped. The positive or negative
vector limit switch can also be used as a home switch for an axis.
NOTE: Directional limit switches must be wired normally closed. No
other configuration ensures proper and safe machine operation.
On PCB 843 I/O Controller Boards, eight input ports are shared with
vector limit input ports. A shared port that is used for a vector limit cannot
be used as a function input. Vector limits are assigned to specific ports.
Refer to Table 13-7, PCB 843, Vector Limit Input Port Assignments
for vector limit input port assignments.
[Default: Disabled]
Table 13-7, PCB 843, Vector Limit Input Port Assignments
Input Port Assigned Vector Limit
8 X+
9 X-
10 C+
11 C-
12 Z+
13 Z-
14 U+
15 U-
To set up vector limits:
1. Refer to Map 3, Menu D. Highlight the required axis (axes) and
switch the vector limits to Enable.
Ballscrew Compensation
The control can correct for errors in the accuracy of the ballscrew, leading
to a high degree of accuracy on the finished workpiece. Use one of the
following two methods to compensate for ballscrew errors.
[Default Ballscrew Compensation Active setting: None]
Table 13-8, Ballscrew Compensation, Methods
Example
Step 1: ( (-1.00202) - (-0.00105) ) - (-1) = -0.00097
Step 2: -( -(-0.00097) ) = -0.00097
This technique is used to find all Ballscrew Compensation Table values.
The File Loader inserts all compensation values into the Table Entries
(Map 4, Menu G) automatically.
The CNC adds the two values to come up with the starting point. For
example, if the assigned Offset is -0.01mm and the Zero Cross is -
6mm, the CNC will begin the compensated (lasered) area -6.01mm
from Machine Home along the axis.
Commonly, Machine Home (0.0000) is the Zero Cross parameter and
the Offset is just off the limit switch. However, any point in an axis’
range of travel can be selected for the Offset or Zero Cross.
To set up the Zero Cross parameter:
A. Go to Menu F. Highlight Zero Cross. Press ENTER. The entry
field activates.
B. Enter the appropriate Zero Cross parameter for that axis. If the
Zero Cross parameter is at Machine Home, the entered value
should be 0.0000. All entered values are referenced to Machine
Home.
To set up the Offset parameter:
A. Go to Menu F. Highlight Offset. Press ENTER. The entry field
activates.
B. Enter the appropriate Offset parameter for that axis. If the Offset
parameter is at Machine Home, the entered value should be
0.0000. All entered values are referenced to Machine Home.
6. Activate Variable Length Ballscrew Compensation.
A. Go to Menu D. Highlight Active. Press ENTER.
B. The Active Setup Menu pops up (Menu J). Highlight Variable
Segment. Press ENTER. The CNC activates Variable Length
compensation, as set up by the machine builder.
LM-628 Motion Control Board-Feed, Rapid and No Motion Gain Tables
NOTE: DSP Motion Control Board setup is detailed in a separate section.
The LM-628 chip controls the intensive, real-time computational tasks
required for positioning and velocity control of the motion axes. The gain
of an axis in Feed, Rapid and No Motion Modes can be set and
controlled.
This enables the technician to customize the output of the system to the
particular combination of servos, motors and feedback devices used on
an installation.
There are three Setup Utility menus which affect the gain of an axis:
− Feed Gain Table Setup Menu
− Rapid Gain Table Setup Menu
− No Motion (or holding) Gain Setup Menu
Use these menus to set a higher gain value for Feed Mode, where
greater accuracy is needed, than for Rapid Mode, when machine inertia,
available servo drive output power and other mechanical factors must be
considered. The No Motion Gain values control the gain of the axes
when the machine is holding position.
You must know how the PID (Positional, Integral and Derivative) filters of
the LM-628 chip work before you can change these values for optimal
machine operation.
Default Values for LM-628 based motion control boards are shown on
Map 3.
When the CNC commands a move, (n), the output from the system is a
digital word, u’ (n), representative of that move. This digital word is
derived from the output of the interpolators, which create a move-required
value based upon: current position of the axis, the geometric equations
required to make the move, and the effect of any necessary
compensation parameters.
This move-required value is fed to the Digital PID Filter, so that the output
(digital word, u’ (n)) can be defined by the following equation:
Value Definition
Kp, Ki and Kd the Digital PID Filter Parameters
Kp Proportional Gain. This value is derived by directly
multiplying the Kp coefficient by the position error. It
is designed to compensate for immediate changes in
servo error position. It is the principal element used
to develop the ‘stiffness’ needed to hold axis position
at rest.
Ki Integral Gain. This value applies a long term
accumulation of error correction. It is used to ensure
that the static position error is zero: 0 position error
at rest or at constant velocity. It is derived by
multiplying the Ki coefficient by the position error and
then adding it to the previously computed Integral
Gain value. The Ki term provides a restoring force
that ensures static position error is zero.
Kd Derivative Gain. This value reacts to a long term
change in error. The Derivative value is calculated
by multiplying the Kd coefficient by the current error
minus the error calculated in the previous sample.
The Differential element reacts immediately (similar
to the Proportional element) and helps to stabilize the
axis faster.
4. For the Error checking parameter, a pop-up menu appears, with the
following choices: Off, PEC Only and PEC & Rapid Warning. (Refer
to Menu I.) Highlight one of the choices in the pop-up menu. Press
ENTER. The CNC activates the selected choice.
Spindle DC Output
Spindle output refers to the type of DC drive output provided by the
control, as required for the spindle drive being used.
Unipolar output varies linearly, depending on the spindle speed selected.
The range is 0 to +10 VDC. [Default]
4. Highlight High setting for M40 gear range. Press ENTER. Enter the
appropriate High range RPM. Press ENTER to store the setting.
To set up multiple (M41 - M43) gear ranges:
1. Go to Map 9, Menu C.
2. Highlight Gear ranges used. Press ENTER to switch the setting to
Multiple.
3. Highlight Low setting for… (choose appropriate selection for M41 -
M43). Press ENTER. Enter the appropriate Low range RPM. Press
ENTER to store the setting.
4. Highlight High setting for… (choose appropriate selection for M41 -
M43). Press ENTER. Enter the appropriate High range RPM. Press
ENTER to store the setting.
5. Set up all necessary gear ranges.
The high and low settings for each range act as a window of allowable
speeds for the range. Ranges can overlap.
At the highest RPM in the range, the system outputs the maximum DC
voltage, +10 VDC. 0 RPM always represents 0 VDC. The lowest RPM
voltage will be a ratio of the highest speed to the lowest speed.
(Example: If M41 has a range of 1000 RPM to 10,000 RPM, 10,000 RPM
results in 10 VDC and 1000 RPM results in 1 VDC.)
NOTE: If Spindle Forward is active, the voltage will be positive. If
Spindle Reverse is active, the voltage will be negative.
Encoder/Spindle Ratio
Set up the ratio of the encoder RPM to the spindle RPM. The default
setting, 1.0, indicates that the encoder and spindle are revolving at the
same rate.
To set up the Encoder/Spindle ratio:
1. Go to Map 9, Menu C.
2. Highlight Multiplication spindle factor. Press ENTER. The entry field
for the selection highlights. Enter the appropriate ratio (encoder to
spindle). Press ENTER.
gear range, the CNC generates an error message. If No, the CNC
does not check the entered RPM against the active gear range.
Special U, V, W Setup
In addition to the standard motion axes (X, Z), the CNC supports a third
control axis (W). This axis is used to control either a standard linear axis
or a rotary axis. It can also be used as a DRO (Digital Read Out) to
display position.
W Axis Display
To set up the display to include the additional axis:
1. Go to Map 9, Menu D. Set Display W axis to Yes. The CNC will
display the W axis on the Position Display. Press No to disable the
option.
W Axis Type
Refer to Table 13-12, Additional Axis Function.
To define the W axis type:
1. Go to Map 9, Menu E.
2. Select W axis set to and press ENTER.
3. Select one of the following:
Table 13-12, Additional Axis Function
Parameter Description
None Disabled
Linear Motion Controlled Linear Axis
Rotary Motion Controlled Rotary Axis
Linear DRO Linear DRO
Rotary DRO Rotary DRO
When rotary is selected, the user has the option to reset the axis display
when the position of the axis reaches 360 degrees of motion. This does
not affect the programming of the axis.
For example, a move of 400 degrees is programmable and executable,
but the axis will display 40 degrees (not 400) at the completion of the
move, assuming a starting point of 0 degrees.
W Rotary axis reset at 360 enables/disables this option. Switch Yes to
enable and No to disable the option.
Interface Setup
This section describes how to configure I/O functions.
The exchange of control signals between machine devices and the
control is controlled by the system I/O Controller. Input signal
implementation is a standard feature, available in all modes.
The specific properties of the signals exchanged are configured via
software settings made in the Setup Utility. Refer to Section 14 - Setup
Utility Maps to locate the menus required for I/O setup.
The Interface Setup Utilities enable the user to specify how the CNC
Control interfaces with the machine. Selection of the type of
Refer to Figure 13-2, PCB 843 I/O Controller, P4 Connector. PCB 843
I/O ports are single-bit ports located at the board’s P4 connector. There
are 16 input and 8 output ports. Eight of the input ports can also be used
as vector limit inputs. Refer to Table 13-7, PCB 843, Vector Limit Input
Port Assignments. When these ports are used as vector limit inputs,
they can no longer be used as input ports.
Output ports are located at one end of the connector and input ports at
the other. Port numbers are silk-screened on the board. Do not confuse
the port numbers with connector pin numbers. The port numbers are
above and below the connector. Pins 1, 14, 15 and 28 of the connector
are also silk-screened at the sides of the connector.
Interface Type
Refer to Map 9, Menu G. Use this menu to configure the I/O interface
type. Highlight the required selection and press ENTER.
Selection of a PLC type disables the output ports and configures the
control to send machine control and status information to the PLC (via
RS-232). Specific information is sent to corresponding registers
(sometimes called internal relays) in the PLC.
Refer to Table 13-14, Control I/O Interface Types for a description of
each selection. Only the Distrib. Board selection enables use of the
output ports for system outputs.
[Default: Distrib. Board]
Output Functions
When selected, the System I/O Controller can generate outputs to activate or
deactivate various machine devices, as commanded by the CNC.
M-function numbers (1-99) correspond to programmed M-Code blocks (1-
99). Execution of an M-Code block activates the outputs assigned to like
numbered M-function.
A single S-function output is available. If set up, the execution of any S-
Code block will activate its assigned ports.
There are two parts to setting up an output port.
− Configure the port to produce the signal (and logic) type required to
control the device on the machine.
− Assign the port to the functions that will activate and deactivate it. A
port can be used by more than one function.
Output Ports
Refer to Figure 13-3, Typical Inactive Port Operation (Default Port
Settings) and Figure 13-4, Typical Active Port Operation (Default Port
Settings). The default port settings open and close relays that operate
devices on the machine.
Default port settings provide a 24V common source when the port is active.
The port is in a high impedance state when inactive. Each output port is
rated for a 500 mA current. Usually, one function is used to activate
selected port(s) and another is used to deactivate the port(s).
Distribution Board
Inactive Port
(Default Setup) Machine Machine Relay
Circuit
Port At High (Open)
Impedance
State
24VDC
Common +24VDC
Distribution Board
Active Port
(Default Setup) Machine Machine Relay
Circuit
Port Provides (Closed)
24VDC
Common
24VDC
Common +24VDC
Pulse(msec) Port output is maintained for the period specified by the builder. Enter the
number of milliseconds (range 0 rto 32,000). If a zero (msec) Pulse is used,
output is maintained until port is turned off. The CNC will hold execution of the
program for the duration of a non-zero (msec) Pulse.
Delay(msec) Holds program execution for the specified period of time following the
completion of the M-function. Enter the number of milliseconds. Use any value
from 0 to 32,000. If the Delay is set to zero (msec), there is no delay.
Finish When a function activates an output port that has been set for a finish pulse,
the CNC holds execution of the program until an “External finish pulse” input
function is received. If no finish pulse is received by the end of the timeout
period, the CNC displays an error message and stops the program. If Finish is
specified for a port that has a non-zero (msec) Pulse, the “External finish pulse”
is only acknowledged after the Pulse expires.
Active Sets port logic as active high or active low. When set active high, the port
provides a 24V common source when activated. When set active low, the port
is in a high impedance state when activated.
Input Functions
The input port setup configures the control to accept inputs from the
machine. When any of the inputs assigned to a function is activated, the
System I/O Controller sends the appropriate signal to the CNC via RS-232.
On the PCB 843 I/O controller, machine inputs and vector limit inputs share
eight of the input ports. Each vector limit is assigned to a specific port. If
an input port is set up as a vector limit input, do not use it for any other
input function.
There are two parts to setting up an input port:
− Configure the port.
− Assign the port to functions that use it.
Input Function
Tool guard This input holds the CNC program and stops the machine spindle.
The input must be removed before the program can be continued.
To restart the spindle, press START once. To continue the program,
press START a second time. If the spindle was not running when the
function was activated, press START once to continue the program.
The tool guard function complies with regulations that require an
intact tool guard to run the machine.
External finish pulse A finish pulse is an input signal from a machine device that signals
the control when the requested operation is completed.
When an output port configured for a finish pulse is activated, the
control is put on hold until a finish pulse input is received.
While on hold, the control will not run program blocks or respond to
keypad inputs.
Optional block skip (0) Activating this input enables a block skip command, /0.
External start Imitates the START key on the control’s keypad.
External feed hold This input holds the program if the control attempts a feed. This
function is normally activated by a spindle off condition.
External manual select This input enables non-commanded machine moves. Position
display is generated from encoder inputs. In this mode, the control
no longer commands axis motion. This feature enables an operator
to move the machine with the handwheels, using the control as a
Digital Read Out. This function is used with the Auto/Manual switch
included in the kit.
Start reading keyboard This input enables the control to accept inputs from the control
keypad (or keyboard). This function is only used to re-enable the
keypad (keyboard) after a Stop reading keyboard input.
Stop reading keyboard Prevents the control from responding to inputs from the keypad (or
keyboard). This feature enables the builder to set up a keyboard
lockout system. When the keypad (or keyboard) is locked out, only
the FEEDRATE OVERRIDE switch remains active, enabling feedrate
adjustments.
Spindle CW (M3) When activated, control initiates an M3 output. Duplicates Manual
Panel spindle CW function.
Spindle CCW (M4)
When activated, control initiates an M4 output. Duplicates Manual
Panel spindle CCW function.
Spindle OFF (M5)
When activated, control initiates an M5 output. Duplicates Manual
Panel SPINDLE OFF function.
General Error input
This function halts the program and generates an Error message.
message You must correct the error condition before the program can be
restarted.
General Warning input
This function generates a Warning message at the control, while
message enabling the control to continue execution of a program.
Activation Option
The following Tool Setup parameters require the user to specify a type of
activation:
− Activate tool length offset [On Tn]
− Output Signal [On Tn]
− Orient Spindle [No]
− Stop program execution [No]
− Use tool change macro [On Tn]
The available activation options are listed in Table 13-19, Tool Setup
Activation Options.
Table 13-19, Tool Setup Activation Options
Activation Description
Setting
No Function is not used.
On Tn Function activates only when a tool is activated (T-Word).
On M6 Function activates only when Tool Changer M-function
(M6) activated.
Both Function activates when a tool number or M6 is activated.
Number of digits in T-Word Format A 4-digit word enables tools 1 to 99. A 6-digit word
T-Word (4 or 6 digits) enables tools 1 to 999. Refer to Section 14 -
Setting the Number of Digits for T-Words.
Number of Tools to Enter maximum Enables the user to limit the number of tools
display in table # of tools. displayed in the tool table. [Range: 25 to 255]
Default tool-table Enter filename. [Default: LATHTOOL.DAT]
file
Force spindle off Yes When enabled, holds spindle operation during tool
during tool change change.
NOTE: Use the FEEDRATE OVERRIDE switch to override the Default Jog
Feedrate. The range of the switch is 0 to 120 percent of the maximum
programmable feedrate. The switch enables the operator to vary the
feedrate in increments of 10. This menu selection defines the rotary
feedrate at 100%.
NOTE: Use the FEEDRATE OVERRIDE switch to override the Default Jog
Feedrate. The range of the switch is 0 to 120 percent of the maximum
programmable feedrate. The switch enables the operator to vary the
feedrate in increments of 10. This menu selection defines the rotary
feedrate at 100%.
Acceleration
The acceleration value programmed into the LM-628 Precision Motion
Controllers of the Motion Control Board is preset at the factory to 66,000.
CAUTION: This parameter should only be changed by trained
technical personnel. Changing the acceleration to a value that is too
low could cause an undesired lack of response in machine motion.
Simulation Mode
In Simulation Mode, the CNC does not generate DAC and I/O outputs.
[Default: No]
To set up the CNC for Simulation Mode:
1. Go to Map 11, Menu C. Highlight Force simulation mode. Press
ENTER to switch the option to Yes.
2. The CNC starts in Simulation Mode. In Simulation Mode, you can
command and display moves, but the machine does not actually
move.
Servo Delay
The operator can program a delay to enable the servos to stabilize before
the CNC commands a move.
[Default: 1 sec.] [Range: 0 to 10]
To program a servo delay:
1. Go to Map 11, Menu C. Highlight Servo up delay. Press ENTER.
2. In the highlighted entry field, enter the appropriate servo delay, in
seconds.
NOTE: If the system does not include a UPS, this feature cannot be
used.
Save files when main power fails enables the user to specify that
program editing sessions be saved to hard disk when main power fails.
This prevents data loss in case of a power failure.
When the selection is enabled (Yes), the current editing session is saved
to the hard drive, while the control's Uninterrupted Power Supply (UPS)
maintains the computer's input power.
[Default: No]
To save files when main power fails:
1. Go to Map 11, Menu C. Highlight Save files when main power
fails. Press ENTER.
2. Switch the parameter to Yes (enabled) or No (disabled).
Machine Type
Machine type specifies the type of machine used. This setting should
always be switched to Lathe.
To specify Machine Type:
1. Go to Map 11, Menu C. Highlight Machine type. Press ENTER.
2. In the pop-up menu, highlight Lathe. Press ENTER.
The CNC slows down the feedrate on inside arc moves and speeds up
the feedrate on outside arc moves. The compensated feedrate assigned
by the CNC depends on the active Cutter Compensation Mode (G41 Left
of Path or G42 Right of Path), the active tool nose radius and the
programmed arc radius.
To activate automatic feed override on arc moves:
1. Go to Map 11, Menu C. Highlight Automatic feedrate override on
arcs.
2. Press ENTER to switch the setting to Yes. The CNC activates
automatic override feedrate for arc moves made in Cutter
Compensation Mode. Switch the setting to No to deactivate the
feature.
[Default: No]
Feedrate Mode
Go to Map 11, Menu C. Feedrate mode switches the default feedrate
mode between FPR (G95, Feedrate per Revolution) and FPM (G94,
Feedrate per Minute). The default setting is FPM.
Homing Order
The default axes homing order is 3, 1, 4, 2 corresponding to Z, X, W and
C, respectively. To change the order in which axes are homed:
1. Go to Map 12, Menu F. Highlight the menu selection corresponding
to the axis being set. Press ENTER.
2. A pop-up menu appears containing the following choices (First,
Second, Third and Fourth). Highlight the appropriate choice and
press ENTER.
3. Press Exit (F10) to close the pop-up menu.
4. Repeat the procedure for all required axes.
Homing Speed
To set up the speed at which the CNC moves the machine during
Homing:
1. Go to Map 12, Menu I. Highlight the menu selection corresponding to
the axis being set. Press ENTER.
2. The entry field highlights. Enter the appropriate speed and press
ENTER.
3. Complete the procedure for all active axes.
[Default: 40 inches per minute]
Refer to Table 13-22, Message Numbers and Types for error codes and
ranges.
Table 13-22, Message Numbers and Types
Message Number Message Type
0 None
1 to 127 Error
You can create and edit Builder messages via the Builder Messages
parameter.
To enable the Builder Messages option:
1. Go to Map 13, Menu C and highlight Use Custom Messages. Press
ENTER to switch the setting to Yes (enabled). [Default: Disabled (No)]
2. Save the changes before exiting and exit the Setup Utilities. The
CNC creates the Builder Messages file MBENG.TXT.
Each message can be up to 49 characters in length. Refer to Map 13,
Menu C. Use Edit Error Messages to enter or edit Error messages.
Use Edit Warning Messages to enter or edit Warning messages.
NOTE: The user can also use a message’s index number (including
period) to access the message text box and edit the message:
1. With the Builder Message Window activated, type the message index
number and press ENTER.
2. Edit the message.
Installation Prompts
During software installation, the CNC prompts the operator regarding the
status of the installation. Follow the on-screen instructions to complete
the installation.
Refer to Table 13-23, Installation Prompts. During a software
installation, the CNC may display the following prompt. The operator
should respond as indicated.
Table 13-23, Installation Prompts
Communications
Refer to Map 16, Menu C for the available Communications Parameters.
The 1400M is equipped to exchange data with other RS-232 compatible
devices. To accomplish RS-232 communication, the baud , parity, data
bits, stop bits and software parameters of the CNC and the device with
which it is communicating with must agree.
Enter default communication parameters in the device’s Setup Utility at
initial CNC setup. These parameters can also be changed from the
Communications screen in the control software. (Parameter changes
made in the Communications screen are not permanent.) Every time the
control is powered up, the CNC’s default settings are reloaded.
Draw Mode
Refer to Map 15, Menu G for the available Draw Mode Parameters. The
parameters affect both Real-time and Simulation Draw Modes. Refer to
Table 13-26, Draw Mode Setup Parameters for a description of each
parameter and its settings.
Table 13-26, Draw Mode Setup Parameters
Grid Size Determines the size of the Enter a value. (Example: [Default: 1] If
grid. The grid size will be in the CNC is in Inch Mode, each square in
the active measurement unit, the grid will be one square inch in size for
Inch or MM. this setting.)
NOTE: The CNC converts the set grid
value if the measurement unit is
changed. For example: if the Grid Size is
set for 1 in Inch Mode and the user
switches to MM Mode, the CNC changes
the Grid Size to 25.4mm.
Tool display Turns the tool display on and On-The static tool (as defined by the Tool
off. Location Code and Radius in the Tool
Page) will be displayed as it cuts the part.
[Default] or Off-No tool is displayed.
Default Auto-Zoom This factor changes the size Enter a value. [Default: 0.85 (85
Scaling Factor at which the CNC draws the percent)] [Range: 0.25 to 10.00]
programmed part in the Draw
Window. Use it to reduce or
enlarge the graphic.
Default Auto-Zoom This factor reduces the size Enter a value. [Default: 0.85 (85
Scaling Factor of the graphic in the Draw percent)] [Range: 0.25 to 10.00]
Window. Use it to reduce or
enlarge the graphic.
Auto erase Switches the automatic erase On-Each time a program is Run in Draw,
function Off and On. the CNC automatically erases the display
graphics and text before running the
program. [Default]
Off-Does not automatically erase graphic
display before it runs a program.
NOTE: Optionally, press DISPLAY (F5),
highlight the Erase option and press
ENTER to clear the display.
Cutter compensation in Activates/deactivates cutter Ignore-CNC will not show compensated
draw compensation in Draw moves (if any) used in the program.
Modes. Use-CNC shows compensated and non-
compensated programmed moves.
Both-CNC runs the program twice. First,
the program is run without compensated
moves. Then, the program is run
showing compensated moves. This
enables the user to compare the two
paths and detect programming errors
related to compensation. [Default]
Edit Mode
Refer to Map 15, Menu M, Editor Setup Menu for the available Edit
Mode Parameters. Refer to Table 13-27, Edit Mode Parameters for a
description of each parameter and its settings.
Table 13-27, Edit Mode Parameters
Auto tab to previous This option is available only Yes - Enables auto tab to previous line’s
line’s position with offline systems or position. [Default]
systems with keyboards No - Disables auto tab to previous line’s
attached. When a line is position.
indented, the CNC uses the
indented position as the first
tab position of the following
line. For example: You
indent one line by 4 spaces
and then move to the
beginning of the next line by
pressing ENTER. When you
press the tab key, the cursor
will advance 4 spaces.
Update screen on When non-programmed Yes - Updates screen (prints macro
macros macros are used (Play, results) line by line as macro is run.
Record and Repeat options [Default]
in the Control Software Edit No - Updates screen (prints macro
Mode), this parameter results) after macro is completed.
defines how the CNC display
will be updated.
NOTE: Refer to the
Programming and
Operations Manual (P/N
70000308) for details on how
to use the Play, Record and
Repeat options in the Edit
Mode.
Default tab width This option is available only [Default: 4]
with offline systems or
systems with keyboards
attached. Sets default tab
width. Range is 2 to 16
spaces. When the user
presses the tab key, the
cursor advances by the
specified number of spaces.
Force Caps Lock on PC Determines whether text Yes-Text always appears in uppercase
keyboard entered in the Edit Mode letters. [Default]
always appears in uppercase No-Text appears as typed, in uppercase
letters. or lowercase letters.
Create backup program A backup program is created Yes-Backup program is created and
when an edit is made. Every maintained.
time the program is edited, No-No backup programs are created.
the CNC updates the backup [Default]
file. The backup program will
not contain an edit until a
new edit is made.
Delete internal file When the program is saved, Yes-Deletes internal file when the user
when program saved the CNC automatically saves a file and replaces it with updated
deletes the existing internal file. [Default]
file (*.S files) and replaces it No-CNC does not delete internal file
with the saved file. when the user saves a program.
Case sensitive Find Determines whether the Find Yes-Find search parameter looks for
feature will look for words that match the entered word
uppercase and lowercase exactly, including capitalization and style.
letters to determine a match. No-Find search parameter looks for
typed in word regardless of capitalization
and style. [Default]
Memory reserved from Specifies the amount of Enter a value. [Default: 64K]
Editor (in K-bytes) memory that the Editor does
not use.
Program Directory
Refer to Map 16, Menu C, Program Setup Menu for the available
Program Parameters. These parameters control the way program
information is displayed in the Program Directory; whether backup files
will be deleted during optimization, and; whether and how often the
software checks the disk.
Refer to Table 13-28, Program Parameters and Selections for a
description of each parameter and its settings.
Table 13-28, Program Parameters and Selections
Program Directory Function Settings
Parameter
Program directory Type of programs stored. *.G (program file extension)
pattern NOTE: Do not change this parameter.
Program directory Specifies what program Short-Filename and extension only.
display mode information will be displayed [Default]
in the Program Directory. Long-Detailed program information,
including file size, etc.
Program directory sort Specifies order in which Ignore-CNC ignores parameter.
order programs are listed in the Name-Alphanumeric order by filename.
Program Directory. [Default]
Extension-Alphanumeric order by
extension.
Size-By file size.
Date-By date program was created.
Automatically check For machines equipped with Always
disk at startup hard drives, specifies Daily
whether and how often CNC
Weekly
will check the hard drive.
Monthly
Never-[Default]
Delete backup files For machines equipped with Yes-Backup files deleted during
during optimize hard drives, specifies optimization process. [Default]
whether backup files will be No-Backup files maintained during
deleted during hard drive optimization process.
optimization.
Directory for user CNC will store user programs Enter user directory location [Default:
program in specified directory. C:\USER]
Display
Refer to Map 16, Menu F for the available Display Parameters. The
listed parameters control how text and graphics are displayed on the
screen. There are separate settings for the Editor, CNC Control and Help
screens and the displayed softkeys.
Printer
Refer to Map 16, Menu G for the available Printer Parameters. Refer to
Table 13-29, Printer Parameters and Selections for a description of
each parameter and its settings.
Table 13-29, Printer Parameters and Selections
Printer Parameter Function Settings
Default output device Specifies where the file will 1. Enter PRN to send file to the printer.
be printed. 2. Enter drive, path and filename with
extension to print to a file. If the
filename entered is not a current file,
the CNC creates the file and transfers
the data to the file. If the filename
entered is an existing file, the CNC
overwrites the data in the file with the
print file data.
[Default: PRN]
NOTE: The user directory is C:\USER.
Lines per page Number of lines to be printed Enter value [Default: 55]
per page (8.5 X 11”).
Page heading Prints a page heading Yes-Print heading. [Default].
including filename, date and No-Do not print heading.
time and page number.
Line numbers Prints line numbers on hard Yes-Choose Yes to print line numbers.
copy of file. No-Choose No if no line numbers are
desired. [Default]
Print quality Sets print quality. Generally, NLQ-Near Letter Quality, highest quality,
the lower the printer quality, lowest speed.
the faster the file prints. Utility-Middle quality, middle speed.
High Speed-Low quality, high speed.
Ignore-Use printer defaults. [Default]
Characters per inch Sets the number of 10-characters per Inch (CPI). [Default]
characters to be printed per 12-CPI
inch. Choosing Ignore will
17-CPI
cause the CNC to print at the
default value. 20-CPI
Ignore-uses printer defaults.
DSP Setup
NOTE: For DSP hardware configuration information, refer to Section 7-
DSP Motion Control Board, Description and Operation.
Before you set any system parameters, balance the Motion Control Board
servo outputs, the Servo Amplifier outputs and set the Servo Amplifier
Gain per the instructions contained in Section 13-Motion Setup/Testing
Utility.
NOTE: Gain Tables setup for LM-628 Motion Control Board systems is
described earlier in this section.
The DSP chip handles the intensive, real-time computational tasks
required for positioning and velocity control of the motion axes. The gain
of an axis in feed, rapid and no motion modes can be set and controlled.
This enables the technician to customize the output of the system to the
particular combination of servos, motors and feedback devices used on
an installation.
There are three Setup Utility menus which affect the gain of an axis:
− Feed Gain Table Setup Menu
− Rapid Gain Table Setup Menu
− No Motion (or holding) Gain Setup Menu
Through these setup menus, a higher gain value can be set for Feed
Mode, when greater accuracy is needed, than for Rapid Mode, when
machine inertia, available servo drive output power and other mechanical
factors must be considered. The No Motion Gain values control the gain
of the axes when the machine is holding position.
To manipulate these values for optimum machine operation, you must
understand how the PID (Positional, Integral and Derivative) filters of the
DSP chip work.
Default Values for LM-628 based motion control boards are shown on
Map 7.
When the CNC commands a move, (n), the output from the system is a
digital word, u’ (n), representative of that move. This digital word is
derived from the output of the interpolators, which create a move required
value based upon: current position of the axis, the geometric equations
required to make the move, and the effect of any required compensation
parameters.
This move-required value is fed to the Digital PID Filter, so that the output
(digital word, u’ (n)) can be defined by the following equation:
Value Definition
Kp, Ki and Kd the Digital PID Filter Parameters
Kp Proportional Gain. This value is derived by directly
multiplying the Kp coefficient by the position error. It
is designed to compensate for immediate changes in
servo error position. It is the principal element used
to develop the ‘stiffness’ needed to hold axis position
at rest.
Ki Integral Gain. This value applies a long term
accumulation of error correction over time. It is used
to ensure that the static position error is zero: 0
position error at rest or at constant velocity. It is
derived by multiplying the Ki coefficient by the
position error and then adding it to the previously
computed Integral Gain value. The Ki term provides
a restoring force that ensures that static position
error is zero.
Kd Derivative Gain. This value reacts to a change in
error over time. The Derivative value is calculated by
multiplying the Kd coefficient by the current error
minus the error calculated in the previous sample.
The Differential element reacts immediately (similar
to the Proportional element) and helps stabilize the
axis faster.
Ιl Integral Limit. The total maximum amount of Ki
correction permitted by the Digital Filter. Ki gain
effect is held to a preset maximum (the Ιl term) which
is the total maximum amount of Ki correction
permitted by the Digital Filter. Thus, a Ki term of 10,
with an Ιl of 30, could apply first a Ki of 10, then a Ki
of 20, then a maximum Ki of 30, with three samples.
Because the Ιl has been reached, a fourth sample
would result in an applied Ki term of 30.
To change the Feed Gain Parameters:
1. Refer to Map 7. Go to the appropriate screen (for Feed, Rapid or No
Motion Gain Table).
2. Highlight the PID parameter being set (Kp, Ki, Kd or Ιl).
3. Press X, Z, W or C for the axis being set. The entry field for the axis
highlights.
4. Enter the appropriate value for the parameter. Press ENTER.
Handwheel/Readout Settings
Refer to Map 8, Menu L. Use this menu to set up the first installed
handwheel. Use Map 8, Menu K if a second handwheel is installed.
Refer to Table 13-31, DSP - Handwheel/DRO Settings for information
on the settings used to configure each Handwheel/DRO port for a
handwheel or digital readout (DRO).
Table 13-31, DSP - Handwheel/DRO Settings
Refer to Map 8, Menu J. This feature sets the rate at which the servo
loop operates. [Default: 0.0400]
6. Look at the ballscrew (or handwheel) of the axis. When lost motion
occurs, the ballscrew moves a much greater distance than the system
resolution (Example: 0.0005” on a 10 micron scale). That distance is
the lost motion on that axis.
NOTE: It is acceptable for the system to move a few times the lost
motion amount to adjust itself, as long as the lost motion does not affect
table movement or become a continuous oscillation (hunting).
7. If your system is oscillating (hunting) within that distance, make the
following adjustments within the DSP Setup screen:
A. Check the Servo Loop Sample Time. With a 10 micron
resolution glass scale, set the servo sampling time to 0.800 msec.
With 1, 2 or 5 micron resolution scales, the value should remain at
the default value, 0.400 msec. (Use increments of 0.050 msec
when making minor adjustments to this value.)
B. Eliminate the hunting created by the lost motion. While the axis is
not moving, adjust the No-Motion Gain Table values to limit the
reaction time of the servo’s digital filter, as follows:
− Eliminate any integral gain by setting the Ki and Il to 0.
Integral gain accumulates over time, increasing the correction
output and instigating oscillation due to lost motion.
− Set the Kp value to 1.50. If oscillation continues, reduce Kp in
steps of 0.10, until oscillation stops.
NOTE: Lowering the Kp gain delays the correction time not only to
lost motion but also to drift offsets on the system.
8. Repeat the procedure on all enabled axes.
9. From the CNC’s Manual screen, use the JOG keys in Feed Mode to
test the responsiveness of the axis. If an axis coasts when the JOG
key is released, reduce the Feed Accel/Decel setting in the DSP
Setup screen. Use steps of 10 msec when adjusting this parameter.
NOTE: Always make minor adjustments to Setup Utility parameters
and check until the problem being corrected is fixed. If you make
major changes to parameters, you may fix the problem at hand, but
cause others.
MST Softkeys
NOTE: The user must select an active axis before selecting an MST
command (F1-F9).
The Motion Setup/Testing Utility commands are activated via softkeys
located under the CRT on the console. To activate a function, press the
corresponding softkey (F1-F10).
Refer to Table 13-33, MST Softkey Functions for softkey names and
functions.
Table 13-33, MST Softkey Functions
Selecting an Axis
NOTE: Select an active axis before you select an MST command (F1-
F9). If no axis is selected, the CNC prompts you to do so with an error
message.
Use the X and Z keypad keys to select and activate their corresponding
axes. The active axis is displayed in the upper left corner of the General
Status area of the MST Screen.
Entering a Password
The CNC prompts for a password when you enter the MST Utility and
when you activate the first MST softkey command (F1-F9). Once you
activate the first softkey command, the CNC will not prompt for the
password for subsequent commands. Enter the appropriate password
and press ENTER. The softkey will then activate. Once the password has
been successfully entered once, the CNC will not prompt for the
password again, unless the user exits and re-enters the MST Utility.
NOTE: For Systems Equipped with ANILAM Servo Amplifier Board P/N
31500966: All measurements for this procedure can be made at the J2
test point, see Figure 13-5, ANILAM Servo Amplifier, P/N 31500966.
Measure command voltages across Pin #1 and Pin #2 of the J2 test
connector.
NOTE: For Systems not equipped with the ANILAM Servo Board:
Measure command voltages at the P3 connector of the PCB 845 Motion
Junction Board, see Figure 13-7, PCB 845 Motion Junction Board P3
Connector.
New Motion Control Boards are adjusted at the factory and should
already be within limits. However, you can make adjustments using
following the procedure.
GTJ3
Output
Balance
Pots
R20
R21
R22
R23
DSPPOTS
PCB845
Tuning (F8)
The CNC starts the test at the KpMin value entered. It samples at and
displays a step response for each Kp Value between the KpMin and
KpMax, in increments of one. (For a KpMin of 10 and KpMax of 30, the
CNC displays a step response for each Kp (10, 11, 12…30). If the
KpMax value is reached, the CNC ends the cycle.
OvSht% is the amount of overshoot the CNC will search for before it ends
the cycle. 1 to 3 percent is a normal overshoot range for this test. If the
CNC detects an overshoot percentage exceeding the entered OvSht%, it
ends the cycle.
To run the test:
1. Energize the servos.
2. Press Tuning (F8).
3. Enter the Tuning parameters.
4. Press START. The CNC begins the test.
5. Press MANUAL (F4) to cancel.
Page 14-2
2. Setup Utility 1. Machine/ Installation 1. Machine Axis 1. Resolution
2. Linear correction compensation
Startup Screen Menu A Menu B 3. Skew error compensation
Select Software Package Select Setup Option Select Setup Menu 4. In position
5. Continuous path
6. Default rapid
7. Default feed
8. Software limits
9. Backlash compensation
10. Encoder Phase A
Menu C
Machine Axis Setup Menu
Hardware and Interface Manual
P/N 70000322 - 1200T Setup Utility Maps
In Position - Setup
Map 1
Skew Error Compensation - Setup Linear Correction Compensation - Setup
Menu D
Axis Resolution Setup Menu
12MAP1
10-Feb-98
Software Options Setup Options Machine/Installation
Continuous Path - Setup
10-Feb-98
2. Setup Utility 1. Machine/ Installation 1. Machine Axis
1. X Continuous path .... 0.0700
Startup Screen
Menu A Menu B 2. Z Continuous path .... 0.0700
Select Software Package
Select Setup Option Select Setup Menu 3. W Continuous path .... 0.0700
4. C Continuous path .... 0.0700
5. Continuous path ........ On
Menu F
Continuous Path Setup Menu
Map 2
7. Default feed
8. Software limits 1. X+ Software limit .... 0.0000
1. Positive software limits... 0.0000
9. Backlash compensation 2. Z+ Software limit ....
2. Negative software limits.. 0.0000
10. Encoder Phase A 3. W+ Software limit ....
3. Software limits................. Off 0.0000
11. Encoder Phase B 4. C+ Software limit ....
12. Vector Limits
Menu J
13. Ballscrew compensation Menu I
Software Limits Setup Menu
14. Feed Gain Table Positive Software Limit Setup Menu
Page 14-3
Software Options Setup Options Machine/Installation
Page 14-4
2. Setup Utility 1. Machine/ Installation 1. Machine Axis
Startup Screen
Menu A Menu B
Select Software Package
Select Setup Option Select Setup Tool
Menu F
Encoder Phase A Setup Menu
Map 3
1. Phase for X axis .... Not Invert
12. Vector Limits 2. Phase for Z axis .... Not Invert
13. Ballscrew compensation 3. Phase for W axis ... Not Invert
Vector Limits - Setup
14. Feed gain table 4. Phase for C axis .... Not Invert
15. Rapid gain table Enable
1. X vector limits ....
16. No motion gain table Enable Menu E
2. Z vector limits ....
17. Jog Position Disable Encoder Phase B Setup Menu
3. W vector limits ...
18. Axis Clamping Disable
4. C vector limits ....
19. Axis Ports
20. Position Error Check Menu D
Vector Limits Setup Menu
Menu C
Machine Axis Setup Menu
Rapid Gain Table - Setup Feed Gain Table - Setup
No Motion Gain Gain Table - Setup
C X Z W C X Z W C
Z X W 1. Kp 1. Kp
1. Kp 10 10 10 10 10 25 25 25 25
10 10 10 2. Ki 2. Ki
2. Ki 10 0 0 0 0 0 0 0 0
10 10 10 3. Kd 3. Kd
3. Kd 0 10 10 10 10 0 0 0 0
0 0 0 4. Il 4. Il
4. Il 1 0 0 0 0 0 0 0 0
1 1 1
Menu H Menu I
Menu G
Rapid Gain Setup Menu Feed Gain Table Setup Menu 12Map3
No Motion Gain Setup Menu
10-Feb-98
Software Options Setup Options Machine/Installation Machine Axis - Setup
10-Feb-98
2. Setup Utility 1. Machine Installation 1. Machine Axis 13. Ballscrew compensation
Startup Screen Menu A Menu B Menu C
Select Software Package Select Setup Option Select Setup Tool Machine Axis Setup Menu
Hardware and Interface Manual
P/N 70000322 - 1200T Setup Utility Maps
1. Standard...............
2. Variable Segment. Number of Segments - Setup
3. Active.................... None
1. Number of segments for X ... 1
Menu D 1
2. Number of segments for Z ...
Ballscrew Compensation Setup Menu 1
3. Number of segments for W ...
4. Number of segments for C ... 1
Map 4
Standard Parameters - Setup
Menu F
Number of Segments Setup Menu Table Entries - Setup
1. Number of segments
2. Table entries X Z W C
3. Offset 1. 0.00000 0.00000 0.00000 0.00000
4. Zero cross
5. Segment length Menu G
Menu E Zero Cross - Setup Table Entries Setup Menu
Standard Parameters Setup Menu
1. Zero cross for X ... 0.00000
Segment Length - Setup 2. Zero cross for Z ... 0.00000 Offset - Setup
3. Zero cross for W .. 0.00000
1. Length of segments for X ... -1.00000 4. Zero cross for C ... 0.00000 1. Ballscrew offset for X ... 0.00000
2. Length of segments for Z ... -1.00000 2. Ballscrew offset for Z ... 0.00000
3. Length of segments for W ... Menu I 3. Ballscrew offset for W .. 0.00000
-1.00000
4. Length of segments for C ... Zero Cross Setup Menu 4. Ballscrew offset for C ... 0.00000
-1.00000
Menu J Menu H
Segment Length Setup Menu Offset Setup Menu 12MAP4
Page 14-5
Software Options Setup Options Machine/Installation Machine Axis - Setup
Page 14-6
2. Setup Utility 1. Machine Installation 1. Machine Axis 13. Ballscrew compensation
Startup Screen Menu A Menu B Menu C
Select Software Package Select Setup Option Select Setup Tool Machine Axis Setup Menu
Hardware and Interface Manual
P/N 70000322 - 1200T Setup Utility Maps
1. Standard...............
2. Variable Segment.
3. Active.................... None
Segment Lengths
Menu D
Ballscrew Compensation Setup Menu 1. X parameters
2. Z parameters
Map 5
3. C parameters X Variable Segment Lengths - Setup
4. W parameters
Menu E 1. Number of segments... 1
Segment Lengths Setup Menu 2. Offset.......................... 0.00000 1. 0.00000
None 3. Zero cross................... 0.00000
Standard 4. Segment length...........
Variable Segment 5. Table entries...............
12MAP5
10-Feb-98
Software Options Setup Options Machine/Installation
Output Port - Setup
10-Feb-98
2. Setup Utility 1. Machine/ Installation 1. Machine Axis
Bit Used On/Off
Startup Screen 1... Off
Menu B
Select Software Package 2... Off
Select Setup Tool
3... Off
Menu A 4... Off
Select Setup Option 5... Off
Axis Clamping - Setup 6... Off
7... Off
Machine Axis - Setup Jog Position - Setup 8... Off
1. Clamping allowed .. No
2. Wait for finish......... 9... Off
1. X Jog position .... 0.0000 No
12. Vector Limits 3. Allowable error........ 10. Off
2. Z Jog position .... 0.0000 0.0000
Hardware and Interface Manual
Map 6
22. DSP MCB Setup 3. W Axis Port.. 0000
Menu C 4. C Axis Port... 0000
Machine Axis Setup Menu Menu K
Axis Clamping Ports Axis Ports - Setup
Rapid Ramping - Setup Setup Menu
7 1. Port 0... X
1. Rapid Ramp Buffer.... 2. Port 1... C
No
2. Enable Usage............ 3. Port 2... Z
4. Port 3... Disabled Disabled
Menu G
5. Port 4... Disabled X
Rapid Ramping Position Error Check (PEC) - Setup 6. Port 5... Disabled Z
Setup Menu
Menu E W
1. Check idle time (ms)......................... 100
Axis Ports Setup Menu C
2. Maximum lag error........................... 0.0047
3. Mminimum lag for speed break......... 0.0004 Menu F
Off
4. Check idle time during homing (ms).. 100 Options Setup
PEC Only
5. Error checking.................................. PEC & Rapid Warning Menu
PEC & Rapid Warning
Menu H Menu I
Position Error Check Setup Menu OptionsSetup Menu 12Map6
Page 14-7
Software Options Setup Options Machine/Installation Machine Axis - Setup
Page 14-8
Startup Screen Menu A
Select Software Package Select Software Setup Option Menu B Menu C
Select Setup Tool Menu Machine Axis Setup Menu
Hardware and Interface Manual
P/N 70000322 - 1200T Setup Utility Maps
Map 7
6. Position Error Check................... 5. Il 50.000 50.000 50.000 50.000 X Z W C
7. Handwheel DRO #1.................... 6. Ds 2. 2. 2. 2. 1. Kp 15.000 15.000 15.000 15.000
8. Handwheel DRO #2.................... 2. Ki 10.000 10.000 10.000 10.000
9. Check DSP Integrity.................... Menu E 3. Kd
Yes 10.000 10.000 10.000 10.000
10. Servo Loop Sample Time (ms)... 0.4000 DSP - Feed Filter Parameter Setup Menu 4. Kf 0.000 0.000 0.000 0.000
11. Enable Velocity Look Ahead....... Yes 5. Il 50.000 50.000 0.000 0.000
6. Ds 2. 2. 2. 2.
Menu D Menu F
DSP - Setup Selection Menu DSP - Rapid Filter Parameters Setup Menu
Menu G
Menu H DSP - No Motion Filter Parameters Setup Menu
DSP - Position Error Check Setup Menu
10-Feb-98
12MAP7
Software Options Setup Options Machine/Installation Machine Axis - Setup
10-Feb-98
2. Setup Utility 1. Machine/Installation 1. Machine Axis 22. DSP MCB Setup
..................................
Startup Screen Menu A Menu C
6. Miscellaneous Miscellaneous Setup
Select Software Package Select Setup Option Select DSP Motion Control Board
..................................
19. Remote Handwheels... 2 Setup
Menu B
Select Setup Tool Menu P
Select # of Handwheels
Map 8
10. Servo Loop Sample Time (ms)... 0.4000 Not invert
5. Resolution Factor (HW Only)... 1.00
11. Enable Velocity Look Ahead....... Yes
MP Switch
Menu L Fixed 1
Menu J Configure CTR #0 Handwheel/DRO Fixed 10
DSP - Setup Selection Menu None Fixed 100
Select Handwheel Setup Handwheel Menu U
Readout Set Port Type Menu R
Set Resolution
DSP - Handwheel/DRO #2
MP Switch MP Switch
Fixed 1 Fixed X
1. Port Type................................. None
Fixed 10 Fixed Z
2. Resolution (HW Only).............. MP Switch
Fixed 100
3. Axis (HW Only)........................ SK Switch Menu Q
SK Switch
4. Phase....................................... Not invert Set Axis
1.00 Menu S
5. Resolution Factor (HW Only)...
Set Resolution
Menu K SK Switch
Configure CTR #1 Handwheel/DRO Fixed X
Fixed Z Menu T
Set Axis
Page 14-9
12MAP8
Software Options Setup Options Machine/Installation Spindle Axis - Setup
Page 14-10
Unipolar
3. Special U,V,W 2. Gear ranges used .................................. Single-M40
Startup Screen Menu A 4. Interface 3. Low setting for M40 gear range .............. 50
Select Software Package Select Setup Menu 4. High setting for M40 gear range ............. 6,000
Menu B
5. Low setting for M41 gear range .............. 50
Select Setup Tool
6. High setting for M41 gear range ............. 6,000
7. Low setting for M42 gear range............... 165
Interface - Setup 8. High setting for M42 gear range ............. 501
Interface - Setup Disabled 9. Low setting for M43 gear range............... 500
1. Type ............................................. Distrib. Board Distrib. Board 10. High setting for M43 gear range.............. 1,471
1. 2.Type .............................................
Timeout ........................................... 10,000 AB-SLC150 11. Low setting for M44 gear range............... 1,470
2. 3.Timeout
Output...........................................
Port ..................................... AB-SLC500 12. High setting for M44 gear range.............. 4,640
3. 4.Output Port .....................................
S-Function Setup ........................... 0000 MITSU. F/A 13. Gear change RPM...................................
Hardware and Interface Manual
10
P/N 70000322 - 1200T Setup Utility Maps
4. 5.S-Function
M-Function Setup
Setup ...........................
........................... SAIA-PCD 14. Lines on spindle encoder per revolution... 1,024
5. 6.M-Function
Input PortSetup ...........................
......................................... ANILAM IPI 15. Multiplication spindle factor...................... 1.0
6. 7.Input Port
Input .........................................
Functions ................................ OMRON CQM1 16. Spindle RPM display................................ Program
7. 8.Input Functions ................................
Communications Parameters........... 17. Check spindle during RPM change..........
Menu G Yes
8. 9.Communications
Issue M5 on SvoFlt Parameters...........
or Estop ........... No 18. Stop program on gear change..................
Options Setup Menu No
Issue
9. 10. M5 on
Restore outputs
SvoFlton orI/OEstop ...........
reset............ Yes 19. Check RPM to be within gear range......... Yes
Restore
10.11. Displayoutputs I/O reset............
internaloninterface messages. Yes
11. Display internal interface messages. Menu C
Spindle Axis Setup Menu
Map 9
Menu E Interface Setup Menu
Special W - Setup
Output Port Setup
1. Display W axis..................... No
2. W axis set to........................ None
Port Pulse Delay Finish Active
Output Port Setup 3. W Rotary axis reset at 360... No
0 ..... 0 0 No High
1 ..... 0 0 No High
Bit Used On/Off Menu D
2 ..... 0 0 No High
0 ..... Off Z Axis Type Setup Menu
3 ..... 0 0 No High None
1 ..... Off
4 ..... 0 0 No High Linear
2 ..... Off
5 ..... 0 0 No High Rotary
3 ..... Off M-Function Port Setup
6 ..... 0 0 No High Linear DRO
4 ..... Off
7 ..... 0 0 No High 0 Rotary DRO
5 ..... Off Pulse(msec) ...
8 ..... 0 0 No High 0
Delay(msec) ... Menu E
Menu J 9 ..... 0 0 No High No
Finish ............. Options Setup Menu
Output Port Setup Menu 10 ... 0 0 No High High
Active .............
Menu H
Output Port Setup Menu Menu I
M-Function Port Setup Menu
12MAP9
10-Feb-98
Software Options Setup Options Machine/Installation
M-Function Setup
10-Feb-98
2. Setup Utility 1. Machine Installation 3. Interface
M-Code Ports On Ports Off
Startup Screen Menu A Menu B M 01 0000 0000
Select Software Package Select Setup Option Select Setup Tool M 02 0000 0000
M 03 0000 0000
M 04 0000 0000
M 05 0000 0000
Input Port M 06 0000 0000
M 07 0000 0000
Port Active M 08 0000 0000
Interface - Setup
Interface - Setup 0 ..... High M 09 0000 0000
1 ..... High M 10 0000 0000
1. Type ............................................. Distrib. Board
Hardware and Interface Manual
M 11 0000 0000
P/N 70000322 - 1200T Setup Utility Maps
1. 2.Type .............................................
Timeout ........................................... 10,000 2 ..... High
2. 3.Timeout
Output...........................................
Port ..................................... 3 ..... High
Menu D M-Function 01
3. 4.Output Port .....................................
S-Function Setup ........................... 0000 4 ..... High
M-Function Setup Menu
4. 5.S-Function
M-Function Setup
Setup ...........................
........................... 5 ..... High
5. 6.M-Function ........................... 6 ..... High 1. Ports On ....0000
Input PortSetup .........................................
6. 7.Input Port ......................................... 7 ..... High 2. Ports Off ....0000
Input Functions ................................
7. 8.Input Functions ................................
Communications Parameters........... 8 ..... High Menu E
8. 9.Communications
Issue M5 on SvoFlt Parameters...........
or Estop ........... No 9 ..... High M-Function 01 Setup
Issue
9. 10. M5 on
Restore outputs
SvoFlton orI/OEstop ...........
reset............ Yes Menu
Menu G
Map 10
Restore
10.11. Displayoutputs I/O reset............
internaloninterface messages. Yes
11. Display internal interface messages. Input Port Setup Menu I3 Port(s)
Menu C Interface Setup Menu
0 ..... Off Output Port Setup
Interface Communications - Input Functions 1 ..... Off
Setup 2 ..... Off Bit Used On/Off
1. Tool guard ...................... 0000
3 ..... Off 0 ..... Off
2. External finish pulse ....... 0000
1. Baud 9600 4 ..... Off 1 ..... Off
3. Optional block skip (0).... 0000
2. Parity EVEN 5 ..... Off 2 ..... Off
4. External start .................. 0000
3. Data bits 7 6 ..... Off 3 ..... Off
5. External hold ................... 0000
4. Stop bits 1 7 ..... Off 4 ..... Off
6. External feed hold ........... 0000
5. Software Off 8 ..... Off 5 ..... Off
7. External manual select .... 0000
9 ..... Off Menu F
Menu J 8. Start reading keyboard .... 0000
10.... Off Output Port Setup Menu
Interface Communications 9. Stop reading keyboard .... 0000
Setup Menu 10. Spindle CW (M3) ............. 0000
Menu I
11. Spindle CCW (M4) ......... 0000
Input Ports Setup Menu
12. Spindle off (M5) 0000
13. General Error input message 0000
14. General Warning input message 0000 Menu H
Input Functions Setup Menu
12Map10
Page 14-11
Software Options Setup Options Machine/Installation Miscellaneous -Setup
Page 14-12
2. Setup Utility 1. Machine Installation 6. Miscellaneous 1. Manual panel port ................................... Disabled
2. Max programmed feedrate....................... 80.0
Startup Screen Menu A Menu B 3. Feedrate jog on manual panel ................. 40.0
Select Software Package Select Setup Option Select Setup Tool 4. Rapidrate for jog on manual panel............ 200.0
5. Max programmed rotary feedrate............. 3,000.0
6. Rotary feedrate for jog on manual panel .. 1,016.0
7. Acceleration............................................. 66,000
8. Feed velocity offset factor........................ 1.08
9. Rapid velocity offset factor....................... 1.08
Yes COM1
10. Force simulation mode.............................
1 ANILAM1
11. Servo up delay.........................................
No ANILAM2
12. Save files when main power fails.............
ANILAM5
Hardware and Interface Manual
P/N 70000322 - 1200T Setup Utility Maps
ANILAM6
ANILAM8
Menu C
Disabled
Miscellaneous Setup Menu
Menu D
Miscellaneous - Setup Options Setup
Menu
13. Machine type......................................... Mill
Lathe
14. Reverse G2/G3...................................... Lathe
No
Map 11
15. Lathe tool post....................................... Rear Menu F
16. Lathe X programming mode................... Diameter Options Setup Menu
17. Load CNC custom character set............. VGA CNC
18. Remote handwheels............................... 2
19. Screen blanking delay (minutes) ............ 5
20. Automatic feedrate override on arcs........ No
21. Feedrate mode........................................ FPM
22. Dwell RPMs in FPR mode....................... No
23. Default SCI in Manual............................. Yes
24. Rapid moves are free (unsynchronized).. No
Menu G
Options Setup Menu
12MAP11
10-Feb-98
Software Options Setup Options Machine/Installation Tool Management - Setup
10-Feb-98
2. Setup Utility 1. Machine Installation 5. Tool Management 1. Activate tool length offset................ On Tn
7. Home 2. Output signal................................... On Tn
Startup Screen Menu A 3. Orient spindle.................................. No
Select Software Package Select Setup Option Menu B 4. Default Spindle Orientation angle.... 0.0
Select Setup Tool 5. Spindle Orientation RPM................. 10
6. Stop program execution.................. No
7. Use tool change macro.................... On Tn
8. Tool change macro program............
Home - Setup 9. Tool change macro number.............. 08001
10. Number of digits in T word................ 4
1. Home required.................. No 11. Number of tools to display in table..... 99
2. Home sequence............... {3,1,6,2} 11. Default tool-table file.......................... S12LTOOL.DAT
Hardware and Interface Manual
3. Home type........................
P/N 70000322 - 1200T Setup Utility Maps
Map 12
1. X Home preset... 0.0000 Third
Home sequence for X........
2. Z Home preset.... 0.0000 First
Home sequence for Z........ No homing
3. W Home preset... 0.0000 Sixth
Home sequence for W....... With positive index limit
4. C Home preset.... 0.0000
Home sequence for C........ Second With positive index and vector limit
5. Home preset....... Off
With negative index limit
Menu J Menu F With negative index and vector limit
Home Preset Setup Menu Home Sequence Setup Menu
Menu H
Home Type - Setup Options Setup
Menu
Datum Search Speed - Setup With positive index and vector limit
1. Home type for X.......
2. Home type for Z....... With positive index and vector limit
1. X datum search feed..... 40.0 No homing
3. Home stype for W....
2. Z datum search feed..... 40.0 No homing
4. Home type for C......
3. W datum search feed.... 40.0
4. C datum search feed..... 40.0
Menu G
Menu I Home Type Setup Menu
Datum Search Speed Setup Menu
12MAP12
Page 14-13
Software Options Setup Options Machine/Installation Builder Messages - Setup
Page 14-14
2. Setup Utility 1. Machine Installation 8. Builder Messages 1. Use Custom Messages No
9. Language 2. Edit Error Messages
Startup Screen Menu A 10. Software Update 3. Edit Warning Messages
Select Software Package Select Setup Option 11. Digitizing
Menu C
12. DNC Setup
Builder Messages Setup Menu
13. Security
Menu B
Language
Select Setup Menu
English
Spanish
French
Hardware and Interface Manual
P/N 70000322 - 1200T Setup Utility Maps
German
Security - Setup Italian
Menu D
1. Limited password Language Setup Menu
2. Service password
3. Prog. Controller password
Map 13
1. Output............ Port
2. Port settings...
10-Feb-98
Software Options Setup Options General Software
10-Feb-98
2. Setup Utility 2. General Software 1. Control Software
Map 14
5. Circle centers ..................................... Incremental
6. Maximum arc correction ..................... 0.005000 Modal
7. Internal accuracy ............................... 0.00000100 Metric Display Resolution - Setup Menu D
8. External accuracy .............................. 0.00010000
Options Setup Menu
9. Metric display resolution ..................... {3,3,3,3} X axis mm display resolution ... 3
10. Inch display resolution ........................ {4,4,4,4} Z axis mm display resolution ... 3
11. Compensation cutoff angle ................. 15.0 W axis mm display resolution .. 3
12. Keyboard beep ................................... On C axis mm display resolution ... 3
13. User macro file.................................... USERCANN.G
14. Load user macro file .......................... No Menu E
15. Load system macro file....................... Always Metric Display Resolution Setup Menu Inch Display Resolution - Setup
16. Load G-Code help............................... Always
17. Disk access marker............................ On 4
X axis inch display resolution ...
Z axis inch display resolution ... 4
Menu C Never W axis inch display resolution ... 4
Control Software Setup Menu Always C axis inch display resolution ... 4
Swap
Menu F
Menu G Inch Display Resolution Setup Menu
Options Setup Menu
12MAP14
Page 14-15
Software Options Setup Options General Software Communications - Setup COM1
ANILAM 1
Page 14-16
2. Setup Utility 2. General Software 1. Control Software 1. Port .......... ANILAM 5 ANILAM 2
2. Communications 2. Baud...... ... 9600 ANILAM 5
Startup Screen Menu A 3. Draw 3. Parity ........ EVEN ANILAM 6
Select Software Package Select Setup Option 4. Editor 4. Data bits ... 7 ANILAM 8
5. Stop bits ... 1 Disabled
Menu B 6. Software ... On Menu D
General Software Setup Menu Menu C Options Setup
Communications Setup Menu
Menu
None 110
Editor - Setup Odd 150
Hardware and Interface Manual
Even 300
P/N 70000322 - 1200T Setup Utility Maps
Map 15
Options Setup
10. Create backup program............................ No 1. Restore to previous session ............. Yes
Menu
11. Delete internal file when program saved... Yes 2. Default program block mode ............ Auto
12. Case sensitive Find.................................. No 3. Axis display ...................................... On
13. Memory reserved (in K-bytes).................. 64 4. Display program text ........................ Yes
5. Automatic re-run .............................. Yes None
Menu M 6. Grid .................................................. None Solid
Editor Setup Menu 7. Grid size .......................................... 1.0 Dotted
8. Tool display ...................................... On None
Flat Menu I
9. Default tool type .............................. Flat
Ball Options Setup Menu
10. Tool length factor............................... 3.00
11. Default AUTO-ZOOM scaling factor... 0.85
Menu I
12. Auto erase......................................... On
Options Setup Menu
13. Cutter compensation in draw............. Both
14. Aspect ratio correction factor............. 1.47
15. Lathe Symmetrical draw.................... Yes Ignore
16. Save draw image............................... Yes Use
Both
Menu G
Draw Setup Menu Menu K
Options Setup Menu 12MAP15
10-Feb-98
Software Options Setup Options General Software Communications - Setup
10-Feb-98
2. Setup Utility 2. General Software 5. Program 1. Program directory pattern............... *.G
3. Prog. Controller Setup 6. Display 2. Program directory display mode..... Short
Startup Screen 4. Print configurations 7. Printer 3. Program directory sort order........... Name
Select Software Package 5. Units in Inch 4. Automatically check disk at startup.. Never
Menu B 5. Delete backup files during optimize.. Yes
Menu A General Software Setup 6. Directory for user programs............. C:\USER
Select Setup Option Menu
Menu C
Communications Setup Menu
Map 16
Printer Setup Menu
---Editor---
1. Normal Text ...................... Example
2. Marked Text....................... Example
3. Current Line....................... Example
4. Frame................................ Example
5. Automatic re-run ................ Example
6. Errors................................. Example
---Softkeys---
7. Normal............................... Example
8. Highlight............................. Example
Menu F
Display Setup Menu
12MAP16
Page 14-17
Hardware and Interface Manual
P/N 7000322 - 1400M Setup Utility
Keypad Keys
Refer to Table 15-1, Reference to Keypad Keys. In the manual, the
name of the symbol keys appear in small uppercase letters. The
corresponding characters are used for alphanumeric keys (A to Z, 1 to 9).
Table 15-1, Reference to Keypad Keys
CLEAR
SHIFT
SPACE
Axis Keys
Some parameters require you to specify an axis. Use the X, Y or Z key
to specify the axis.
Switches
Console switches are referred to as shown in Table 15-2, Console
Switches.
Table 15-2, Console Switches
Manual Reference Switch
AXIS selector switch
E-STOP
JOG MINUS
SERVO RESET
HOLD
START
SPINDLE REVERSE
SPINDLE FORWARD
SPINDLE OFF
Enter Key
Press ENTER to enter parameters into the system.
Exiting a Screen
Press Exit (F10) to return to the previous screen.
Setting up Parameters
To set parameters in the Setup Utility:
1. Highlight the menu in which the parameter appears. Press ENTER.
2. Use one of the following three methods to set parameters:
A. If a default choice is listed in an entry field, press ENTER to cycle
through the available selections.
B. If a pop-up menu appears after the parameter is selected,
highlight the required option and press ENTER.
C. If an entry field highlights after the parameter is selected, enter the
required value or setting and press ENTER.
Print Configurations
System Resolution
The control uses feedback from either rotary encoders or linear scales to
provide the closed-loop positioning for the system. Resolution of the
system (whether the feedback device is an encoder or a scale) is set via
the Machine Axis Setup.
Different types of feedback devices may be used in one system. For
instance, linear scales could be used on the X and Y axes and an
encoder on the Z axis. When an encoder is used, it is not necessary to
use a certain line count for a certain resolution if the encoder is accurate
enough to provide the required resolution.
Encoder/Scale Resolution
Display Resolution
NOTE: This parameter applies only to encoders. Do not use it with scale
installations.
Enter the number of counts per revolution supported by the axis encoder.
The software accepts line counts of up to 10,000 counts per revolution.
[Default: 635 lines for X, Y and Z.]
To enter an encoder line count:
1. Go to Map 1, Menu D.
2. Highlight Enc. Lines.
3. Press X, Y or Z (axis being set). The CNC highlights the encoder line
entry field for the axis.
4. Enter the encoder line count. Press ENTER.
NOTE: This parameter applies only to encoders. Do not use it with scale
installations.
Pitch The linear distance traveled per revolution of the
ballscrew.
Set the pitch of the ballscrew. Use the unit of measurement (inch or mm)
to which the CNC defaults. [Default: 0.20]
To enter ballscrew pitch:
1. Go to Map 1, Menu D. Highlight Pitch.
2. Press X, Y or Z (axis being set). The CNC highlights the pitch entry
field for the axis.
3. Enter the pitch of the ballscrew for that axis. Press ENTER.
NOTE: This parameter applies only to encoders. Do not use it with scale
installations.
Ratio The number of revolutions of the encoder that
correspond to one full revolution of the ballscrew.
[Default: 1.0]
To set the ratio:
1. Go to Map 1, Menu D. Highlight Ratio.
2. Press X, Y or Z (axis being set). The CNC highlights the ratio entry
field for the axis.
3. Enter the appropriate ratio for that axis. Press ENTER.
In-Position Check
NOTE: Rapid moves always execute in In-Position Mode.
When the CNC has positioned the tool within the in-position tolerance of
the target, it calculates the next programmed move. At this time, the CNC
displays the in-position indicator. Specify the in-position tolerance for
each enabled axis in the Setup Utility.
[Default: 0.0004”]
When determining in-position tolerance:
− For encoders, tolerance is usually four times the machine resolution.
(That is, if machine resolution is .0002”, in-position tolerance will be
.0008”.) Use this as a benchmark from which to adjust this value.
− For linear scales, tolerance equals the resolution of the scale.
In-position tolerance must be smaller than continuous path tolerance.
To define in-position tolerance:
1. Go to Map 1, Menu G. Highlight the menu selection that corresponds
to the axis being set. Press ENTER. The CNC highlights the entry field
for the axis.
2. Enter the appropriate in-position tolerance. Press ENTER.
Continuous Path
With Continuous Path Mode active, the CNC blends one move into
another, without a complete stop between moves. The Continuous Path
Mode activates at power on and is used for feed moves.
The CNC approaches the target position and comes within the continuous
path tolerance of the target. Then, the CNC begins to calculate the next
programmed move. It does not make an in-position check before it
executes the next move. This results in a smoothly contoured profile or
surface.
[Default: 0.0700” for all axes, with Continuous path turned On]
To activate and define the continuous path tolerance:
1. Go to Map 2, Menu F. Highlight the menu selection that corresponds
to the axis being set. Press ENTER. The CNC highlights the entry
field for the axis.
2. Enter the appropriate tolerance. Press ENTER.
3. Highlight Continuous path. This selection activates/deactivates the
option. Press ENTER to switch the selection On/Off. Switch On to
activate Continuous Path Mode.
Encoder Phasing
Vector Limit
Vector limits switches, sometimes called directional limit switches,
prevent further motion along an axis, when tripped. Either vector limit
may also be used as a Home switch for an axis.
NOTE: Directional limit switches must be wired normally closed. No
other configuration ensures proper and safe machine operation.
On PCB 843 I/O Controller Boards, eight of the input ports can be used
as vector limit input ports. A vector limit port cannot be used for another
input function. Vector limits are assigned to specific ports.
Refer to Table 15-7, PCB 843, Vector Limit Input Port Assignments
for vector limit input port assignments.
[Default: Enable for X, Y and Z]
Table 15-7, PCB 843, Vector Limit Input Port Assignments
Input Port Assigned Vector Limit
8 X+
9 X-
10 Y+
11 Y-
12 Z+
13 Z-
14 U+
15 U-
To set up vector limits:
1. Refer to Map 3, Menu D. Highlight the required axis (axes) and
switch the vector limits to Enable.
Ballscrew Compensation
The CNC can compensate for inaccuracies along the ballscrew. This
ensures a high degree of precision in the finished workpiece. [Default
Active parameter: None]
Table 15-8, Ballscrew Compensation, Methods
NOTE: When using the Automatic File Loader, use Standard Segment
Lengths Ballscrew Compensation.
Parameter Description
Starting Segment Controls starting segment for entry of data into
the Table Entries Window. Entering a value
greater than 128 (maximum number of
segments allowed) results in an error message.
Entering a value greater than the Ending
Segment value will cause an error message to
be displayed.
Ending Segment Controls which row in the ballscrew
compensation table will be the last to receive
data from the laser file. If the segment limit on
the table for the axis is exceeded, data will not
be entered beyond the limit.
Axis Controls to which axis the data will be applied.
Action The following actions can be performed while
the data is being loaded:
− Overwrite the existing data in the table
− Add to the existing data
− Average with the existing data
Overwrite will clear any values in the table
beyond the segment limit for the axis. Add and
Average simply replace the old values. Use the
Action option to fine-tune the ballscrew
compensation values from multiple passes of
laser readings.
Filename: Enter the DOS filename of the laser file,
including the path, if it is different from the
default.
Most laser data files have header information, which should be removed.
An example of an acceptable file format follows:
0 ,-1.05300568384907E-03
-1 ,-1.00202340866009
-2 ,-2.00227380774995
-3 ,-3.00247420656991
...............
-27 ,-27.0068997761763
-28 ,-28.0070941749639
The delimiter must be a comma (,).
Most text editors support Find/Change or Search/Replace commands that
facilitate such changes. The first number (0, -1, -2…) represents the
commanded position; the second number is the actual position that the
laser measures. For example, in the sample data file displayed above, a
commanded move to -2.000” actually went to:
-2.00227380774995”.
Be sure to include the 0 value. It is used to calculate the first segment
value for the ballscrew compensation table.
3. Set the Segment length parameter. The machine builder can specify
up to 16 segments of variable lengths for the axis being set. The sum
of the segment lengths should equal the entire range of travel for the
axis being set. Variable Segment Ballscrew Compensation is best-
suited for those leadscrews which exhibit a more linear rising (or
falling) error throughout their lengths.
To set Variable Length Segment Lengths:
A. Go to Menu F. Highlight Segment Length. The table appears.
The number of entries in the table equals the Number of
Segments specified previously.
B. Press ENTER to activate the entry field for the first segment length.
Enter the length of the first segment and press ENTER. Enter the
length of the next segment and press ENTER. Enter all values
necessary to complete the table.
4. Set Table entries. For the axis requiring compensation, determine
the compensation required per segment. Use a laser to make these
measurements. Compare the commanded position to the actual
position, as measured by the laser.
The compensation value is the difference between the positive or
negative position commanded by the CNC and the position read by
the laser. Record the compensation for each segment in the Table
Entries Menu.
The length of the table equals the largest number of entries assigned
to any axis. If X requires 13 segments, Y requires 10, and Z requires
9, the table would be 13 lines long.
A. Go to Menu F. Highlight Table Entries. Press ENTER. A table
appears in which the compensation values for each segment are
entered. The number of entries in the table equals the Number of
Segments specified previously.
B. Press ENTER to activate the entry field for the first compensation
value. Enter the compensation value of the first segment and
press ENTER. Enter all values necessary to complete the table.
5. Set the Ballscrew Zero cross and Offset parameters. Both the Zero
cross and the Offset parameters provide a way for the machine
builder to set a starting point for Ballscrew Compensation. Both
values are measured from Machine Home. These values include
distance and direction (positive or negative) from Machine Home.
The CNC adds the two values to determine the starting point. For
example, if the assigned Offset is -0.01mm and the Zero cross is -
6mm, the CNC will begin the compensated (lasered) area -6.01mm
from Machine Home along the axis.
Commonly, Machine Home (0.0000) is the Zero cross parameter and
the Offset is just off the limit switch. However, any point in an axis’
range of travel can be selected for the Offset or Zero Cross.
To set the Ballscrew Zero cross parameter:
A. Go to Menu F. Highlight Zero Cross. Press ENTER. The entry
field activates.
B. Enter the appropriate Zero cross parameter for that axis. If the
Zero cross parameter is at Machine Home, the entered value
This move-required value is fed to the Digital PID Filter, so that the output
(digital word, u’ (n)) can be defined by the following equation:
Value Definition
Kp, Ki and Kd the Digital PID Filter Parameters
Kp Proportional Gain. This value is derived by directly
multiplying the Kp coefficient by the position error. It
compensates for immediate changes in servo error
position. It is the principal element used to develop
the ‘stiffness’ needed to hold axis position at rest.
Ki Integral Gain. This value applies a long term
accumulation of error correction. It is used to ensure
that the static position error is zero: 0 position error
at rest or at constant velocity. It is derived by
multiplying the Ki coefficient by the position error and
then adding it to the previously computed Integral
Gain value. The Ki term provides a restoring force
that ensures that the static position error is zero.
Kd Derivative Gain. This value reacts to a change in
error. The Derivative value is calculated by
multiplying the Kd coefficient by the current error
minus the error calculated in the previous sample.
The Differential element reacts immediately (similar
to the Proportional element) and helps stabilize the
axis faster.
Ιl Integral Limit. The total maximum amount of Ki
correction permitted by the Digital Filter. Ki gain
effect is held to a preset maximum (the Ιl term) which
is the total maximum amount of Ki correction
permitted by the Digital Filter. Thus, a Ki term of 10,
with an Ιl of 30, could apply first a Ki of 10, then a Ki
of 20, then a maximum Ki of 30, with three samples.
Because the Ιl has been reached, a fourth sample
would result in an applied Ki term of 30.
To change the Feed Gain Parameters:
1. Refer to Map 3. Go to the appropriate screen (for Feed, Rapid or No
Motion Gain Table).
2. Highlight the PID parameter being set (Kp, Ki, Kd or Ιl).
3. Press X, Y or Z for the axis being set. The entry field for the axis
highlights.
4. Enter the appropriate value for the parameter. Press ENTER.
Jog Position
Jog position defines a point on the machine in reference to Machine
Home to which the CNC will return when the Jog and Return function is
activated.
In Auto and S. Step Modes, use the Jog and Return function to remove
the tool from the cut without aborting the program. It can be used to
change a tool or inspect a critical dimension during normal operation.
[Default: X0, Y0, Z0, U0, V0, W0]
To set the Jog and Return Position in X, Y or Z:
1. Go to Map 7, Menu D. Highlight the axis being set. Press ENTER.
2. In the highlighted entry field, enter the appropriate coordinate for the
selected axis.
Axis Clamping
The control can clamp machine axes that are not in motion during
machining.
Switch the Clamping Allowed option to enable (Yes) or disable (No) the
clamping feature. [Default: disabled (No)]
Wait For Finish determines whether an external Finish signal is required
upon the completion of clamping operations. Switch Wait for Finish to
Yes to require a Finish pulse or to No if a Finish pulse is not required.
NOTE: Refer to the Section 15 - Interface Setup for details on the
external Finish signal.
Clamping must be programmed via M-Code in the user program. Refer to
Table 15-10, Axis Clamping M-Code.
Table 15-10, Axis Clamping M-Code
M-Code Format Description
M9246 M9246 Xx Yy Zz Uu Vv Ww Activates clamping for
given axes.
When a machine axis is clamped, the servo drive output is disabled. The
clamping mechanism is engaged and an error in position is incurred.
Specify the maximum allowable error with the Allowable Error option.
To enter the Allowable Error:
1. Go to Map 7, Menu J. Highlight Allowable Error. Press ENTER.
2. Enter the Allowable Error.
Outputs available from the PC 843 I/O Controller Board are used to
disable the various servo drives during clamping. These outputs are
specified with the Axis Ports option.
To disable an axis servo drive for clamping:
1. Refer to Map 7, Menu K. Highlight the axis for which outputs will be
assigned. Press ENTER. The Output Ports Setup Menu (Menu L)
activates.
2. Choose the output required to disable the servo drive of the selected
axis.
Spindle DC Output
Spindle output refers to the type of DC drive output provided by the
control, as required for the spindle drive being used.
Unipolar output varies linearly, depending on the spindle speed selected.
The range is 0 to +10 VDC. [Default]
Bipolar output ranges from -10 to +10 VDC. A voltage of 0 VDC
represents a commanded 0 RPM spindle speed. The system outputs a
negative DC voltage for Spindle Reverse (M4) and positive DC voltage for
Spindle Forward (M3) commands. The DC voltage is linear with respect
to the RPM of the spindle speed command. Consequently, required
voltage (0 to ±10 VDC) increases as spindle speed increases (in reverse
or forward directions). The maximum voltage, ±10 VDC, is output at the
highest RPM value of the gear range.
1. Go to Map 10, Menu C.
2. Highlight Spindle output. Press ENTER to switch the setting between
Bipolar or Unipolar.
Spindle Axis
Spindle/Encoder Ratio
For machines fitted with spindle encoders, the machine builder can set
the spindle speed display to correspond to the spindle encoder
specifications.
Open loop operation of the Spindle Axis is possible. It is not necessary
for the spindle to be fitted with an encoder to allow DC spindle
programming.
[Default: 1,000 lines per revolution]
To set the number of spindle encoder lines:
1. Go to Map 10, Menu C. Highlight Lines on spindle encoder per
revolution. Press ENTER.
2. The entry field for the parameter highlights. Enter the number of
encoder lines. Press ENTER.
Encoder/Spindle Ratio
Set the ratio of the encoder RPM to the spindle RPM. [Default: 1.0] The
default setting indicates that the encoder and spindle are revolving at the
same rate.
To set the Encoder/Spindle ratio:
1. Go to Map 10, Menu C.
2. Highlight Multiplication spindle factor. Press ENTER. The entry field
for the selection highlights. Enter the appropriate ratio (encoder to
spindle). Press ENTER.
Special U, V, W Setup
In addition to the standard motion control axes available in most controls,
the control is capable of handling additional motion control axes labeled
U, V and W. Additional axes typically control either a standard linear axis
or a rotary axis for versatile machine positioning. These axes can also be
used as separate DROs to display position.
Refer to Map 10, Menu D. Use this menu to configure additional axes.
The additional axes can be included on the monitor Position Display.
Switch Display U/V/W axis to Yes to include an additional axis on the
Position Display or No to disable the option.
[Default: Disabled]
U/V/W axis set to defines the function of the additional axis (refer to
Table 15-12, Additional Axis Function).
Table 15-12, Additional Axis Function
Parameter Description
None Disabled
Linear Motion Controlled Linear Axis
Rotary Motion Controlled Rotary Axis
Linear DRO Linear DRO
Rotary DRO Rotary DRO
To define the function of the additional axis:
1. Go to Map 10, Menu E. Highlight an option and press ENTER.
When Rotary is selected, you have the option to reset the axis display
when the axis position reaches 360 degrees of motion. This does not
affect the programming of the axis in the CNC software.
For example, a move of 400 degrees is programmable and executable,
but the axis will display 40 degrees (not 400) at the completion of the
move, assuming a starting point of 0 degrees.
U/V/W Rotary axis reset at 360 initializes the axis display to 0 when it
reaches 360 degrees. Switch to Yes to enable and No to disable the
option. It is used for rotary axes only.
Interface Setup
This section describes how to set up I/O functions.
The exchange of control signals between machine devices and the
control is governed by the system I/O Controller. Input signal
implementation is a standard feature, available in all modes.
The specific properties of the signals exchanged are configured via the
software settings made in the Setup Utility.
Input signals from machine devices to the control are governed by the
System I/O Controller in all configurations.
Output ports are located at one end of the connector and input ports at
the other. Port numbers are silk-screened on the board. Do not confuse
the port numbers with connector pin numbers. The port numbers are
above and below the connector. Pins 1, 14, 15 and 28 of the connector
are also silk-screened at the sides of the connector.
Interface Type
Refer to Map 10, Menu J. Use this menu to configure the I/O interface
type. Highlight the required selection and press ENTER.
Selection of a PLC type disables the output ports and configures the
control to send machine control and status information to the PLC (via
RS-232). Specific information is sent to specific registers (sometimes
called internal relays) in the PLC.
Refer to Table 15-13, Control I/O Interface Types for a description of
each selection. Only the Distrib. Board selection enables use of the
output ports for system outputs.
Table 15-13, Control I/O Interface Types
NOTE: RS-232 communication parameters between the control and the System I/O Controller
(ANILAM IPI or Distribution Board) are permanently set to 9600 baud, 8 data bits, 1 stop bit and
no parity. Communications parameters for RS-232 between the control and a PLC (all PLC
options) are set from the Communications Setup Menu. Refer to Map 11, Menu J for the
Communications Setup Menu. Refer to Section 17 - Programmable Controller Interface.
Setup Software
Refer to Map 10, Menu F. The Setup software parameter specifies the
Programmable Controller software used to develop Programmable
Controller logic programs to control machine functions. You must know
the directory and executable filename of the software being used, as this
entry specifies the file for which the control searches to set up the
Programmable Controller.
Output Functions
The System I/O Controller can generate outputs to activate or deactivate
various machine devices, as commanded by the CNC.
M-function numbers (1 to 99) correspond to programmed M-Code blocks
(1 to 99). Execution of an M-Code block activates the outputs assigned
to a like numbered M-function.
A single S-function output is available. If set up, the execution of any S-
Code block will activate its assigned ports.
Output port setup is a two-part process:
− Configure the port to produce the signal (and logic) type required to
control the device on the machine.
− Assign the port to the functions that will activate and deactivate it. A
port can be used by more than one function.
Output Ports
Refer to Figure 15-3, Typical Inactive Port Operation (Default Port
Settings) and Figure 15-4, Typical Active Port Operation (Default Port
Settings). The default port settings are designed to open and close
relays that operate devices on the machine.
Default port settings provide a 24V common source when the port is
active. The port is in a high impedance state when it is inactive. Each
output port is rated for a 500 mA current. Usually, one function is used to
activate selected port(s) and another is used to deactivate the port(s).
Distribution Board
Inactive Port
(Default Setup) Machine Machine Relay
Circuit
Port At High (Open)
Impedance
State
24VDC
Common +24VDC
Distribution Board
Active Port
(Default Setup) Machine Machine Relay
Circuit
Port Provides (Closed)
24VDC
Common
24VDC
Common +24VDC
Refer to Map 10, Menu H to configure the output signals for the system.
Table 15-14, Output Signal Configuration Options
Pulse (msec) Port output is maintained for the period specified by the builder. Enter the
number of milliseconds (range 0 to 32,000). If a Zero Pulse is used, output is
maintained until port is turned off. The CNC will hold execution of the program
for the duration of a non-zero Pulse. [Default: 0]
Delay (msec) Holds program execution for the specified period of time following the
completion of the M-function. Enter the number of milliseconds. Use any value
from 0 to 32,000. If the Delay is set to 0, there is no delay. [Default: 0]
Finish When a function activates an output port that has been set for a finish pulse,
the CNC holds execution of the program until an External finish pulse input is
received. If no finish pulse is received by the end of the timeout period, the
CNC displays an error message and terminates the program. If Finish is
specified for a port that has a non-zero Pulse, the External finish pulse is only
acknowledged after the Pulse expires. [Default: No]
Active Sets port logic as active high or active low. When set active high, the port
provides a 24V common source when activated. When set active low, the port
is in a high impedance state when activated. [Default: High]
Input Functions
The input port setup configures the control to accept inputs from the
machine. When any of the inputs assigned to a function are activated,
the System I/O Controller sends the appropriate signal to the CNC via
RS-232.
On the PCB 843 I/O controller, machine inputs and vector limit inputs
share eight of the input ports. Each vector limit is assigned to a specific
port. If an input port is set up as a vector limit input, do not used it for any
other input function.
Input port setup is a two-part process:
− Configure the port.
− Assign the port to functions that use it.
External finish pulse A finish pulse is an input signal from a machine device that
informs the control that the requested operation is complete.
When an output port configured for a finish pulse is activated,
the control is put on hold until a finish pulse input is received.
While on hold, the control will not continue to run program
blocks (if in Programmed Mode) and will not respond to keypad
inputs (if in Manual Mode).
Optional block skip (0 to 9) Activating this input enables a block skip command, /0 through
/9.
External start This input performs the same function as the START key on the
control’s keypad.
External hold This input performs the same function as the HOLD key on the
control’s keypad.
External feed hold This input holds the program if the control attempts a feed. This
function is normally activated by a spindle off condition.
External manual select This input enables non-commanded machine moves. Position
display is generated from encoder inputs. In this mode, the
control no longer commands axis motion. This feature enables
you to move the machine with handwheels, using the control as
a Digital Read Out. This function is used with the Auto/Manual
switch included in the kit.
Start reading keyboard This input enables the control to accept inputs from its keypad
(or keyboard). This function is only used to re-enable the
keypad (keyboard) after a Stop reading keyboard input.
Table 13 - 9, continued
Stop reading keyboard This function informs the control not to respond to inputs from the
CNC keypad (or keyboard). This feature enables the builder to set
up a keyboard lockout system. When the keypad (or keyboard) is
locked out, only the CNC’s Feedrate Override Knob remains active,
enabling feedrate adjustments.
Initialize #999 to 0 Sets programmable user variable #999 to 0 value.
Increment #999 Increments each occurrence of user variable #999 by 1.
Set 100% feed override Locks in the feed override to 100%. The CNC will ignore any other
feedrate setting made via the FEED OVERRIDE switch on the Manual
Panel.
Spindle CW (M3) When activated, control initiates an M3 output. Duplicates Manual
Panel spindle CW function.
Spindle CCW (M4)
When activated, control initiates an M4 output. Duplicates Manual
Panel spindle CCW function.
Spindle OFF (M5)
When activated, control initiates an M5 output. Duplicates Manual
Panel spindle OFF function.
Clamping finish pulse Used with axis clamping. When activated, signals the CNC that the
axis clamping operation has been completed.
Laser too close to part Special feature used with laser devices on older LM-628-based
Motion Control Boards.
Laser within tolerance Special feature used with laser devices on older LM-628-based
Motion Control Boards.
Laser too far from part Special feature used with laser devices on older LM-628-based
Motion Control Boards.
General Error input
This function holds the program and generates an Error message.
message The condition generating the input signal must be corrected before
the program can be restarted.
General Warning input
This function generates a Warning message at the control, while
message allowing the control to continue to run a program.
Activation Options
The following Tool Setup parameters require you to specify a type of activation:
− Activate tool length offset [Default: On Tn]
− Output Signal [Default: On Tn]
− Orient Spindle [Default: No]
− Stop program execution [Default: No]
− Use tool change macro [Default: No]
The available activation options are listed in Table 15-18, Tool Setup
Activation .
Table 15-18, Tool Setup Activation
Activation Description
Setting
No Function is not used.
On Tn Function activates only when a tool is activated (T-Word).
On M6 Function activates only when Tool Changer M-function
(M6) activated.
Both Function activates when a tool number or M6 is activated.
NOTE: The Default Jog Feedrate can be overridden with the FEEDRATE
OVERRIDE switch . The range of the switch is 0 to 120 percent of the
maximum programmable feedrate. The switch varies the feedrate in
increments of 10. This menu selection defines the rotary feedrate at
100%.
NOTE: The Default Jog Feedrate can be overridden with the FEEDRATE
OVERRIDE switch. The range of the switch is 0 to 120 percent of the
maximum programmable feedrate. The switch varies the feedrate in
increments of 10. This menu selection defines the jog rotary feedrate at
100%.
Acceleration
The acceleration value programmed into the LM-628 Precision Motion
Controllers of the Motion Control Board is preset at the factory to 66,000.
CAUTION: Only trained technical personnel should change this
parameter. Changing the acceleration to a value that is too low
could cause an undesired lack of response in machine motion.
Simulation Mode
In Simulation Mode, the CNC does not generate DAC and I/O outputs.
[Default No (disabled)]
To set up the CNC for Simulation Mode:
1. Go to Map 13, Menu C. Highlight Force simulation mode. Press
ENTER to switch the option to Yes. The CNC starts in Simulation
Mode. Moves can be commanded and displayed, but no actual
machine movements occurs.
Machine Type
Machine type specifies the type of machine used. For 1400M systems,
this setting is usually switched to Mill.
To specify machine type:
1. Go to Map 13, Menu C. Highlight Machine type. Press ENTER.
2. In the pop-up menu, highlight Mill. Press ENTER.
The CNC slows down the feedrate on inside arc moves and speeds up
the feedrate on outside arc moves. The compensated feedrate assigned
by the CNC depends on the active Cutter Compensation Mode (G41 Left
of Path or G42 Right of Path), the active tool nose radius and the
programmed arc radius. [Default: Disabled (No)]
To activate automatic feed override on arc moves:
1. Go to Map 13, Menu C. Highlight Automatic feedrate override on
arcs.
2. Press ENTER to switch the setting to Yes. The CNC activates
automatic override feedrate for arc moves made in Cutter
Compensation Mode. Switch the setting to No to deactivate the
feature.
Feedrate Mode
Go to Map 13, Menu C. Feedrate mode switches the default feed rate
mode between FPR (G95, Feedrate per Revolution) and FPM (G94,
Feedrate per Minute). [Default: FPM]
Machine Home
Most machines have an absolute reference, called Machine Home,
defined by hardware. The 1400M control uses the zero marker pulse of
the encoder and the home limit switch to define Machine Home.
Machine Home can also be defined using only the zero marker of an
encoder or scale.
Homing Speed
To set the speed the machine travels at during Homing:
1. Go to Map 12, Menu J. Highlight the menu selection (datum search
speed) corresponding to the axis being set. Press ENTER.
2. The entry field highlights. Enter the appropriate speed and press
ENTER.
[Default speed for all axes: 40 inches per minute]
Refer to Table 15-23, Message Numbers and Types for error codes and
ranges.
Table 15-23, Message Numbers and Types
Message Number Message Type
0 None
1 to 127 Error
These Builder messages can be created and edited via the Builder
Messages parameter.
To enable Builder Messages:
1. Go to Map 14, Menu C and highlight Use Custom Messages. Press
ENTER to switch the setting to Yes (enabled). [Default: No (disabled)]
2. Save the changes before you exit the Setup Utilities. The CNC
creates the builder messages file MBENG.TXT.
Each message can be up to 49 characters in length. Use Edit Error
Messages to enter or edit Error messages. Use Edit Warning
Messages to enter or edit Warning messages.
NOTE: You can also use a message’s index number (including period) to
access the message text box and edit the message:
1. With the Builder Message Window (Map 14, Menu C) activated, type
the message index number and press ENTER.
2. Edit the message.
Installation Prompts
During software installation, the CNC prompts you regarding the status of
the installation. Follow the on-screen instructions to complete the
installation.
LM-628 MCB Digitizing
NOTE: Digitizing is only supported in LM-628 Motion Control Board
systems.
Use the Digitizing Setup menu to set up the block skip function (G31).
NOTE: The skip function cannot be used unless the appropriate
hardware has been installed. Check the machine tool manual to
determine whether the Skip Function can be used.
Use the skip function to interrupt the execution of a program block. If an
external skip input is received during the execution of this block, the CNC
interrupts the block and runs the next block.
This function is used when the exact length of a motion is not known,
such as when an automatic probe is used.
G31 is Non-modal and affects only the block in which it is programmed. If
no skip signal is received, the CNC executes the move commanded in the
block containing the G31.
The user must set up:
− the output type (Port or Disk)
− the Port Settings
No First Every
Drip Feed Executes DNC Requires the START key to Requires the START key
data as soon as be pressed before the to be pressed before the
it is available. execution of the first execution of every
block. block.
Buffered Executes DNC Requires the START key to Do not use. To run
data as soon as be pressed before the program block by block,
it is available. execution of the first switch to Single Step
block. Default setting. Mode.
To set the Wait for Start parameter:
1. Go to Map 14, Menu G. Highlight Wait for Start. Press ENTER. The
options pop-up menu activates (Menu I).
2. Highlight an option and press ENTER.
Changing the Passwords
CAUTION: Avoid changing the passwords that limit access to the
Setup Utility. If the password is forgotten, you must erase the
current configuration file and reinstall the software (restoring the
default password). The configuration settings will be lost.
Refer to Table 15-26, Default Machine Passwords for the default
passwords. To change the password:
1. Go to Map 14, Menu J. Highlight the level of the password to be
changed. Press ENTER. The CNC prompts for the old password.
2. Enter the old password and press ENTER. The CNC prompts for the
new password.
3. Enter the new password and press ENTER. The CNC prompts for
confirmation of the new password.
4. Re-enter the new password and press ENTER. The CNC activates the
new password.
Table 15-26, Default Machine Passwords
Level Password
Limited LIMITED
Service SERVICE
PLC PLC
Factory Reserved for factory use.
General Software
The General Software Setup Utility (refer to Map 15, Menu B) configures
settings for the following:
− Control Software
− Communications
− Draw feature
− Edit
− Program Screens
− CRT Display
− Printer
Save draw image Saves draw image when Yes - Saves draw image.
user switches to Edit Mode. No - Does not save draw image. [Default]
In Draw Mode, when the Edit
(F2) softkey is pressed, the
CNC switches to Edit Mode.
The user can later re-enter
the Draw Window. If this
option is enabled (Yes), the
CNC saves the last draw
image and displays it when
you re-enter the Draw
Window.
Update screen on When non-programmed macros are Yes - Updates screen (prints macro
macros used (Play, Record and Repeat results) line by line as macro is run.
options in the Control Software Edit [Default]
Mode), this parameter defines how No - Updates screen (prints macro
the CNC display will be updated. results) after macro is completed.
Default tab width This option is available only with [Default: 4]
offline systems or systems with
keyboards attached. Sets default tab
width. Range is 2 to 16 spaces.
When you press TAB, the cursor
advances by the specified number of
spaces.
Force Caps Lock Determines whether text entered in Yes-Text always appears in
on PC keyboard the Edit Mode always appears in uppercase letters. [Default]
uppercase letters. No-Text appears as typed, in
uppercase or lowercase letters.
Create backup A backup program is created when an Yes-Backup program is created and
program edit is made. Every time the program maintained.
is edited, the CNC updates the No-No backup programs are created.
backup file. The backup program will [Default]
not contain an edit until a new edit is
made.
Delete internal file When the program is saved, the CNC Yes-Deletes internal file when you
when program automatically deletes the existing save a file and replaces it with
saved internal file (*.S files) and replaces it updated file. [Default]
with the saved file. No-CNC does not delete internal file
when you save a program.
Case sensitive Determines whether the Find feature Yes-Find search parameter looks for
Find will search for uppercase and words that exactly match the entered
lowercase letters to determine a word regarding capitalization and
match. style.
No-Find search parameter looks for
the entered word, regardless of
capitalization and style. [Default]
Memory reserved Specifies the amount of memory that Enter a value. [Default: 180K]
from Editor (in K- the Editor does not use.
bytes)
Display Settings
Refer to Map 17, Menu F for the available Display Parameters. The
listed parameters control how text and graphics are displayed on the
screen. There are separate settings for the Editor, CNC Control and Help
screens and the displayed softkeys.
Printer Settings
Refer to Map 17, Menu G for the available Printer Parameters. Refer to
Table 15-32, Printer Parameters and Selections for a description of
each parameter and its settings.
Table 15-32, Printer Parameters and Selections
DSP Setup
NOTE: For DSP hardware configuration information, refer to Section 7-
DSP Motion Control Board or Section 8-DSP Motion Control Board
with Flash.
Before you set any system parameters, balance the Motion Control Board
servo outputs, the Servo Amplifier outputs and set the Servo Amplifier
Gain per the instructions contained in Section 15 - Motion
Setup/Testing Utility.
This move-required value is fed to the Digital PID Filter, so that the output
(digital word, u’ (n)) can be defined by the following equation:
Value Definition
Kp, Ki and Kd the Digital PID Filter Parameters
Kp Proportional Gain. This value is derived by directly
multiplying the Kp coefficient by the position error. It
compensates for immediate changes in servo error
position. It is the principal element used to develop
the ‘stiffness’ needed to hold axis position at rest.
Ki Integral Gain. This value applies a long term
accumulation of error correction. It is used to ensure
that the static position error is zero: 0 position error
at rest or at constant velocity. It is derived by
multiplying the Ki coefficient by the position error and
then adding it to the previously computed Integral
Gain value. The Ki term provides a restoring force
that ensures that the static position error is zero.
Kd Derivative Gain. This value reacts to a change in
error. The Derivative value is calculated by
multiplying the Kd coefficient by the current error
minus the error calculated in the previous sample.
The Differential element reacts immediately (similar
to the Proportional element) and helps stabilize the
axis faster.
Ιl Integral Limit. The total maximum amount of Ki
correction permitted by the Digital Filter. Ki gain
effect is held to a preset maximum (the Ιl term) which
is the total maximum amount of Ki correction
permitted by the Digital Filter. Thus, a Ki term of 10,
with an Ιl of 30, could apply first a Ki of 10, then a Ki
of 20, then a maximum Ki of 30, with three samples.
Because the Ιl has been reached, a fourth sample
would result in an applied Ki term of 30.
To change the Feed Gain Parameters:
1. Refer to Map 8. Go to the appropriate screen (for Feed, Rapid or No
Motion Gain Table).
2. Highlight the PID parameter being set (Kp, Ki, Kd or Ιl).
3. Press X, Z, W or C for the axis being set. The entry field for the axis
highlights.
4. Enter the appropriate value for the parameter. Press ENTER.
Handwheel/Readout Settings
Refer to Map 9, Menu L. Use this menu to set up the first installed
handwheel. Use Map 9, Menu K if a second handwheel is installed.
Refer to Table 15-34, DSP - Handwheel/DRO Settings for information
on the settings used to configure each Handwheel/DRO port for a
handwheel or DRO.
Table 15-34, DSP - Handwheel/DRO Settings
6. Look at the ballscrew (or handwheel) of the axis. When lost motion
occurs, the ballscrew moves a much greater distance than the system
resolution (Example: 0.0005” on a 10 micron scale). That distance is
the lost motion on that axis.
NOTE: It is acceptable for the system to move a couple of times the lost
motion amount to adjust itself, as long as the lost motion does not affect
table movement or become a continuous oscillation (hunting).
7. If your system is oscillating (hunting) within that distance, make the
following adjustments within the DSP Setup screen:
A. Check the Servo Loop Sample Time. With a 10 micron
resolution glass scale, set the servo sampling time to 0.800 msec.
With 1, 2 or 5 micron resolution scales, the value should remain at
the default value, 0.400 msec. (Use increments of 0.050 msec
when making minor adjustments to this value.)
B. Eliminate the hunting created by the lost motion. While the axis is
not moving, adjust the No-Motion Gain Tables to limit the reaction
time of the servo’s digital filter, as follows:
− Eliminate any integral gain by setting the Ki and Il to 0.
Integral gain accumulates over time, increasing the correction
output and instigating oscillation due to lost motion.
− Set the Kp value to 1.50. If oscillation continues, reduce Kp in
steps of 0.10, until oscillation stops.
NOTE: Lowering the Kp gain delays the correction time not only to
lost motion but also to drift offsets on the system.
8. Repeat the procedure on all enabled axes.
9. From the CNC’s Manual screen, use the JOG keys in Feed Mode to
test the responsiveness of the axis. If an axis coasts when the JOG
key is released, reduce the Feed Accel/Decel setting in the DSP
Setup screen. Use increments of 10 msec when adjusting this
parameter.
NOTE: Always make minor adjustments to Setup Utility parameters
and check until the problem being corrected is fixed. If you make
large changes to parameters, you may fix the problem at hand, but
cause others.
MST Softkeys
Selecting an Axis
Entering a Password
When you enter the MST Utility and presses an MST softkey command
(F1-F9), the CNC prompts for the password. Enter the appropriate
password and press ENTER. The softkey will then activate. Once the
password has been successfully entered once, the CNC will not prompt
for the password again, unless you exit and re-enter the MST Utility.
NOTE: For systems Equipped with ANILAM Servo Amplifier Board P/N
31500966: Make all measurements for this procedure at the J2 test point,
(refer to Figure 15-12, ANILAM Servo Amplifier, P/N 31500966).
Measure command voltages across Pins #1 and #2 of the J2 test
connector.
NOTE: For systems not equipped with the ANILAM Servo Board:
Measure command voltages at the P3 connector of the PCB 845 Motion
Junction Board (refer to Figure 15-14, PCB 845 Motion Junction Board
P3 Connector).
New Motion Control Boards are adjusted at the factory and should be
within limits. However, you can use the following procedure to make
adjustments.
J2
Test Connector
Pin #1 Common
Pin #2 Signal Input
Pin #3 Tachometer Input
J2
GTJ3
Output
Balance
Pots
R20
R21
R22
R23
DSPPOTS
PCB845
Tuning (F8)
The CNC starts the test at the KpMin value entered. It samples each Kp
value between KpMin and KpMax, in increments of one. It displays a
step response for each Kp Value. (For a KpMin of 10 and KpMax of 30,
the CNC displays a step response for a Kp of 10, 11, 12…30). If the
KpMax value is reached, the CNC ends the cycle.
OvSht% is the amount of overshoot the CNC will search for before
ending the cycle. 1 to 3 percent is a normal overshoot range for this test.
If the CNC detects an overshoot percentage exceeding the entered
OvSht%, it ends the cycle.
To run the test:
1. Energize the servos.
2. Press Tuning (F8).
3. Enter the Tuning parameters.
4. Press START. The CNC begins the test.
5. Press MANUAL (F4) to cancel.
After completing the Tuning (F8) test, press Save (F9) to save the final
Kp value generated by the test. Refer to Figure 15-16, Saving the Final
Kp Value.
To save the test Kp value:
1. At the completion of the Tuning test, press Save (F9). The Save Kp
menu activates and the CNC prompts you to save the final Kp value
as a Rapid or Feed Kp value.
2. Use the ARROWS to highlight the [Feed] or [Rapid] option. Press
ENTER.
3. The CNC stores the test (New) Kp value in the configuration file for
Feed/Rapid moves.
Page 16-2
2. Setup Utility 1. Machine/ Installation 1. Machine Axis 1. Resolution
2. Linear correction compensation
Startup Screen Menu A Menu B 3. Skew error compensation
Select Software Package Select Setup Option Select Setup Menu 4. In position
Menu C
Machine Axis Setup Menu
In Position - Setup
Map 1
Menu E
Skew Error Compensation - Setup Linear Correction Compensation Setup Menu
Menu D
Axis Resolution Setup Menu
14MAP1
10-Feb-98
Software Options Setup Options Machine/Installation Continuous Path - Setup
10-Feb-98
2. Setup Utility 1. Machine/ Installation 1. Machine Axis 1. X Continuous path ... 0.0700
2. Y Continuous path ... 0.0700 Menu F
Startup Screen Menu A Menu B 3. Z Continuous path ... 0.0700 Continuous Path
Select Software Package Select Setup Option Select Setup Menu 4. U Continuous path ... 0.0700 Setup Menu
5. V Continuous path ... 0.0700
6. W Continuous path .. 0.0700
7. Continuous path ...... On
Default Rapid
3. Default rapid rate Z axis ... 200.
Setup Menu
4. Default rapid rate U axis ... 200.
5. Default rapid rate V axis ... 200.
6. Default rapid rate W axis... 200.
Machine Axis - Setup
5. Continuous path
6. Default rapid Default Feed - Setup
7. Default feed Software Limits - Setup
Map 2
8. Software limits 1. Default feed rate X axis ... 10.0
9. Backlash compensation 1. Positive software limits .... 2. Default feed rate Y axis ... 10.0
2. Negative software limits ... 3. Default feed rate Z axis ... 10.0
Menu C 3. Software limits................... Off 4. Default feed rate U axis ... 10.0
Machine Axis Setup Menu 5. Default feed rate V axis ... 10.0
Menu J 6. Default feed rate W axis .. 10.0
Software Limits Setup Menu
Menu D
Default Feed Setup Menu
Backlash Compensation - Setup
Negative Software Limit - Setup Positive Software Limit - Setup
1. X Backlash compensation ... 0.0000
2. Y Backlash compensation ... 0.0000 1. X- Software limit .... 0.0000 1. X+ Software limit ... 0.0000
3. Z Backlash compensation ... 0.0000 2. Y- Software limit .... 0.0000 2. Y+ Software limit ... 0.0000
4. U Backlash compensation ... 0.0000 3. Z- Software limit .... 0.0000 3. Z+ Software limit ... 0.0000
5. V Backlash compensation ... 0.0000 4. U- Software limit .... 0.0000 4. U+ Software limit ... 0.0000
6. W Backlash compensation .. 0.0000 5. V- Software limit .... 0.0000 5. V+ Software limit ... 0.0000
7. Backlash compensation ...... Off 6. W- Software limit ... 0.0000 6. W+ Software limit .. 0.0000
Page 16-3
Software Options Setup Options Machine/Installation
Page 16-4
2. Setup Utility 1. Machine/ Installation 1. Machine Axis
Menu F
Machine Axis - Setup Encoder Phase A Setup Menu
Map 3
14. Straightness compensation 2. Phase for Y axis .... Not Invert
15. Feed gain table Vector Limits - Setup 3. Phase for Z axis .... Not Invert
16. Rapid gain table 4. Phase for U axis .... Not Invert
1. X vector limits .... Enable 5. Phase for V axis .... Not Invert
17. No motion gain table
2. Y vector limits .... Enable 6. Phase for W axis .. Not Invert
18. Jog Position
3. Z vector limits .... Enable
19. Axis Clamping Menu E
20. Axis Ports 4. U vector limits .... Disable
Encoder Phase B Setup Menu
21. Position Error Check 5. V vector limits .... Disable
6. W vector limits ... Disable
Menu C Menu D
Machine Axis Setup Menu Vector Limits Setup Menu
Feed Gain Table - Setup
No Motion Gain Gain Table - Setup
Rapid Gain Table - Setup X Y Z U V W
X Y Z U V W 1. Kp 25 25 25 25 25 25
1. Kp 10 10 10 10 10 10 X Y Z U V W 2. Ki
1. Kp 0 0 0 0 0 0
2. Ki 10 10 10 10 10 10 10 10 10 10 10 10 3. Kd
2. Ki 0 0 0 0 0 0
3. Kd 0 0 0 0 0 0 0 0 0 0 0 0 4. Il
3. Kd 0 0 0 0 0 0
4. Il 1 1 1 1 1 1 10 10 10 10 10 10
4. Il 0 0 0 0 0 0 Menu I
Menu G Feed Gain Table Setup Menu
No Motion Gain Setup Menu Menu H
Rapid Gain Setup Menu 14Map3
10-Feb-98
Software Options Setup Options Machine/Installation Machine Axis - Setup
10-Feb-98
2. Setup Utility 1. Machine/Installation 1. Machine Axis 13. Ballscrew compensation
Map 4
4. Zero cross
5. Segment length Menu G
Table Entries Setup Menu
Menu E
Standard Parameters Setup Menu Offset - Setup
14MAP4
Page 16-5
Software Options Setup Options Machine/Installation Machine Axis - Setup
Page 16-6
2. Setup Utility 1. Machine/Installation 1. Machine Axis 13. Leadscrew compensation
1. Standard.................
2. Variable Segment...
3. Active..................... None
Segment Lengths
Menu D
Ballscrew Compensation Setup Menu 1. X parameters
2. Y parameters
Map 5
3. Z parameters X Variable Segment Lengths - Setup
4. U parameters
5. V parameters 1. Number of segments... 1
6. W parameters 2. Offset.......................... 0.00000 1. 0.00000
None 3. Zero cross................... 0.00000
Menu E
Standard 4. Segment length...........
Segment Lengths Setup Menu
Variable Segment 5. Table entries...............
14MAP5
10-Feb-98
Software Options Setup Options Machine/Installation Machine Axis - Setup
10-Feb-98
2. Setup Utility 1. Machine/Installation 1. Machine Axis 14. Straightness compensation
Map 6
Menu D 3. Zero cross................... 0.00000
Straightness Compensation Setup Menu Straightness
4. Segment length........... -1.00000
5. Table entries............... Y Z
1. 0.00000 0.00000
Menu E
X Straightness Compensation Setup Menu Menu F
Y Straightness Compensation Options Straightness
Setup Menu
1. Number of segments... 1
2. Offset.......................... 0.00000
3. Zero cross................... 0.00000 Straightness
4. Segment length........... -1.00000
5. Table entries............... X Z
1. 0.00000 0.00000
Menu G
Y Straightness Compensation Setup Menu Menu I
Options Straightness
Setup Menu
14MAP6
Page 16-7
Software Options Setup Options Machine/Installation
Output Port - Setup
Page 16-8
2. Setup Utility 1. Machine/ Installation 1. Machine Axis
Bit Used On/Off
Startup Screen Menu A Menu B 0... Off
Select Software Package Select Setup Option Select Setup Tool Axis Clamping - Setup 1... Off
2... Off
1. Clamping allowed .. No 3... Off
2. Wait for finish......... No 4... Off
3. Allowable error....... 0.0000 5... Off
Jog Position - Setup 4. Axis Ports.............. 6... Off
7... Off
1. X Jog position .... 0.0000 Menu J 8... Off
2. Y Jog position ... 0.0000 Axis Clamping Setup Menu 9... Off
3. Z Jog position .... 0.0000 10. Off
Hardware and Interface Manual
P/N 70000322 - 1400M Setup Utility Maps
Map 7
22. Rapid Ramping 6. W Axis Port... 0000
23. DSP MCB Setup
Menu K
Menu C Axis Clamping Ports
Machine Axis Setup Menu Setup Menu Axis Ports - Setup
Rapid Ramping - Setup
1. Port 0... X
2. Port 1... Y
1. Rapid Ramp Buffer.... 7
3. Port 2... Z
2. Enable Usage............ No
4. Port 3... U Disabled
Menu G 5. Port 4... V X
Position Error Check (PEC) - Setup 6. Port 5... W
Rapid Ramping Y
Setup Menu Menu E Z
1. Check idle time (ms)........................ 100
Axis Ports Setup Menu U
2. Maximum lag error........................... 0.0047
V
3. Minimum lag for speed break........... 0.0004
Off W
4. Check idle time during homing (ms). 100
PEC Only Menu F
5. Error checking................................. PEC & Rapid Warning
PEC & Rapid Warning Options Setup
Menu H Menu I Menu
Position Error Check Setup Menu OptionsSetup Menu
14Map7
10-Feb-98
Software Options Setup Options Machine/Installation Machine Axis - Setup
10-Feb-98
2. Setup Utility 1. Machine/Installation 1. Machine Axis 23. DSP MCB Setup
Startup Screen Menu A Menu B Menu C
Select Software Package Select Software Setup Option Select Setup Tool Menu Machine Axis Setup Menu
Map 8
Menu D
DSP - Setup Selection Menu DSP - Rapid Filter Parameters
X Y Z U V W
1. Kp 10.000 10.000 10.000 10.000 10.000 10.000
2. Ki 0.000 0.000 0.000 0.000 0.000 0.000
3. Kd 10.000 10.000 10.000 10.000 10.000 10.000
4. Kf 0.000 0.000 0.000 0.000 0.000 0.000
5. Il 0.000 0.000 0.000 0.000 0.000 0.000
6. Ds 2. 2. 2. 2. 2. 2.
DSP - Position Error Check
Menu F
1. Max idle time (ms) ................ 100.00 DSP - Rapid Filter
DSP - No Motion Filter Parameters
2. Max lag error ........................ 0.0100 Parameters Setup Menu
3. Check Rapidrate ................... Yes X Y Z U V W
1. Kp 10.00 10.000 10.000 10.000 10.000 10.000
4. Check Feedrate .................... Yes 2. Ki 5.000 5.000 15.000 5.000 5.000 5.000
5. Enable error checking .......... Yes 3. Kd 10.000 10.000 10.000 10.000 10.000 10.000
Menu H 4. Kf 0.000 0.000 0.000 0.000 0.000 0.000
DSP - Position Error Check Setup Menu 5. Il 10.000 10.000 10.000 10.000 10.000 10.000
6. Ds 5. 5. 5. 5. 5. 5.
Menu G
Page 16-9
DSP - No Motion Filter Parameters Setup Menu
14MAP8
Software Options Setup Options Machine/Installation Machine Axis - Setup
Page 16-10
2. Setup Utility 1. Machine/Installation 1. Machine Axis 23. DSP MCB Setup
6. Miscellaneous
Startup Screen Menu A Menu C
Select Software Package Select Setup Option Menu B Select DSP Motion
Select Setup Tool Miscellaneous - Setup Control Board Setup
2
17. Remote Handwheels .........
Menu P
Select # of Handwheels
DSP MCB - Setup
Map 9
11. Enable Velocity Look Ahead .. Yes 3. Axis (HW Only) ..................... MP Switch Menu V
4. Phase ................................... Not Invert Set Port Type
Menu J 5. Resolution Factor (HW Only) ... 1.00 MP Switch
DSP Setup Selection Menu Fixed 1
Menu L
Select Handwheel Setup Fixed 10
None Configure CTR #0 Handwheel/DRO
Fixed 100
Handwheel
Menu R
Readout
Set Resolution
DSP Handwheel/DRO #2 Menu U
Set Port Type MP Switch MP Switch
1. Port Type ............................... None Fixed 1 Fixed X
2. Resolution (HW Only) ........... MP Switch Fixed 10 Fixed Y
3. Axis (HW Only) ..................... SK Switch Fixed 100 Fixed Z
4. Phase ..................................... Not Invert SK Switch Menu Q
5. Resolution Factor (HW Only) ... 1.00 SK Switch Set Axis
Menu S
Fixed X
Menu K Set Resolution
Fixed Y
Configure CTR #1 Handwheel/DRO Fixed Z
Menu T
Set Axis
14MAP9
10-Feb-98
Software Options Setup Options Machine/Installation Spindle Axis - Setup
10-Feb-98
2. Setup Utility 1. Machine/Installation 2. Spindle Axis 1. Spindle output ........................................ Unipolar
3. Special U,V,W 2. Gear ranges used .................................. Single-M40
Startup Screen Menu A 4. Interface 3. Low setting for M40 gear range .............. 50
Select Software Package Select Setup Menu 4. High setting for M40 gear range ............. 6,000
Menu B
5. Low setting for M41 gear range .............. 50
Select Setup Tool
6. High setting for M41 gear range ............. 6,000
7. Low setting for M42 gear range............... 165
Interface - Setup 8. High setting for M42 gear range ............. 501
Disabled 9. Low setting for M43 gear range............... 500
1. Type ............................................... Distrib. Board Distrib. Board 10. High setting for M43 gear range.............. 1,471
2. Setup software................................ PCIS AB-SLC150 11. Low setting for M44 gear range............... 1,470
3. Timeout .......................................... 10,000 AB-SLC500 12. High setting for M44 gear range.............. 4,640
MITSU. F/A
Hardware and Interface Manual
Map 10
Menu F Interface Setup Menu Spindle Axis Setup Menu
Page 16-11
Software Options Setup Options Machine/Installation
M-Function Setup
Page 16-12
2. Setup Utility 1. Machine Installation 3. Interface
M-Code Ports On Ports Off
1400M Startup Screen Menu A Menu B M 01 0000 0000
Select Software Package Select Setup Option Select Setup Tool M 02 0000 0000
M 03 0000 0000
M 04 0000 0000
M 05 0000 0000
Interface - Setup Input Port M 06 0000 0000
Interface - Setup M 07 0000 0000
1. Type ............................................. Port Active M 08 0000 0000
Distrib. Board
1. 2.Type .............................................
Setup software .............................. 0 ..... High M 09 0000 0000
PCIS
2. 3.Setup software
Timeout ..............................
........................................ 1 ..... High M 10 0000 0000
10,000
2 ..... High
Hardware and Interface Manual
3. 4.Timeout
Output........................................
Port ................................... M 11 0000 0000
P/N 70000322 - 1400M Setup Utility Maps
Map 11
Menu G
Menu C Interface Setup Menu Input Port Setup Menu 2 ..... Off
3 ..... Off
4 ..... Off
Off Output Port Setup
5 .....
Interface Communications - Setup Input Functions
6 ..... Off
Functions Port Bit Used On/Off
7 ..... Off
1. Baud................ 9600 1. Tool guard ............................... 0000 0 ..... Off
8 ..... Off
2. Parity............... EVEN 2. External finish pulse ................. 0000 1 ..... Off
9 ..... Off
3. Data bits.......... 7 3. Optional block skip (0)............... 0000 2 ..... Off
10.... Off
4. Stop bits.......... 1 4. Optional block skip (1)............... 0000 3 ..... Off
5. Software.......... Off 5. Optional block skip (2)............... 0000 4 ..... Off
Menu I
6. Optional block skip (3)............... 0000 5 ..... Off
Input Ports Setup
Menu J 7. Optional block skip (4) .............. 0000 6 ..... Off
Menu
Interface Communications Menu H 8. Optional block skip (5)............... 0000 7 ..... Off
Setup Menu Input 9. Optional block skip (6) ............... 0000 8 ..... Off
Functions 10. Optional block skip (7)................ 0000 9 ..... Off
Setup Menu 11. Optional block skip (8)................ 0000 10 ... Off
12. Optional block skip (9)................ 0000
13. External Start ............................ Menu F
0000
14. External hold ............................. Output Port Setup Menu
0000
14Map11
10-Feb-98
Software Options Setup Options Machine/Installation Tool Management - Setup
10-Feb-98
2. Setup Utility 1. Machine/Installation 5. Tool Management 1. Activate tool length offset................ On Tn
6. Miscellaneous 2. Output signal................................... On Tn
Startup Screen Menu A 7. Home 3. Orient spindle.................................. No
Select Software Package Select Setup Option 4. Default Spindle Orientation Angle... 0.0
Menu B
5. Spindle Orientation RPM................. 10
Select Setup Tool
6. Stop program execution.................. No
7. Tool changer installed..................... None
8. Use tool change macro.................... No
9. Tool change macro program............
Home - Setup
10. Tool Change macro number........... O8000
No 11. Number of digits in T word.............. 4
1. Home required.................. Home Sequence 12. Number of bins in tool changer....... 0
2. Home sequence................ {3,2,1,4,5,6}
Hardware and Interface Manual
3. Home type......................... Home sequence for X... Third 14. Default tool-table file.............. MILLTOOL.C4
4. Datum search speed......... Home sequence for Y... Second
5. Home preset...................... Home sequence for Z... First Menu C Tool Management Setup Menu
6. Enable index pulse check... No Home sequence for U... Fourth
Menu F Home sequence for V... Fifth No
Home sequence for W.. Sixth None
Home Setup Menu Menu L Menu D On Tn
Fixed Replacement
Menu G On M6
Random Replacement
Home Sequence Setup Menu Both
Map 12
Home Preset - Setup Home Type - Setup
14MAP12
Page 16-13
Software Options Setup Options Machine/Installation
Page 16-14
2. Setup Utility 1. Machine/Installation 6. Miscellaneous
COM1
ANILAM1
Miscellaneous -Setup
ANILAM2
ANILAM5
1. Manual panel port ..................................... ANILAM 1
ANILAM6
2. Max programmed feedrate........................ 80.0
Hardware and Interface Manual
ANILAM8
P/N 70000322 - 1400M Setup Utility Maps
Map 13
12. Force simulation mode............................. No
13. Servo up delay......................................... 1
14. Save files when main power fails.............. Mill
No
15. Machine type............................................ Lathe
Mill
16. Reverse G2/G3......................................... No Menu E
17. Load CNC custom character set............... VGA CNC Options Setup Menu
18. Remote handwheels................................. 0
19. Screen blanking delay (minutes) .............. 5
20. Automatic feedrate override on arcs......... No
21. Feedrate mode.......................................... FPM
None
22. Dwell RPMs in FPR mode......................... No
EGA CNC
23. Rapid moves are free (unsynchronized)... No
VGA CNC
Menu C Menu F
Miscellaneous Setup Menu Options Setup Menu
14MAP13
10-Feb-98
Software Options Setup Options Machine/Installation Builder Messages - Setup
10-Feb-98
2. Setup Utility 1. Machine/Installation 8. Builder Messages 1. Use Custom Messages ...No
9. Language 2. Edit Error Messages
Startup Screen Menu A 10. Software Update 3. Edit Warning Messages
Select Software Package Select Setup Option 11. Digitizing
Menu C
12. DNC Setup
Builder Messages Setup Menu
13. Security
Menu B
Select Setup Menu Language
English
Spanish
Hardware and Interface Manual
P/N 70000322 - 1400M Setup Utility Maps
French
German
Security - Setup Italian
1. Limited password Menu D
2. Service password Language Setup Menu
3. Prog. Controller password
Map 14
1. Output............ Port
2. Port settings...
Page 16-15
Software Options Setup Options General Software
Page 16-16
2. Setup Utility 2. General Software 1. Control Software
Map 15
5. Circle adjustments ............................. Center Incremental
6. Circle centers ..................................... Incremental Menu D
0.005000 Metric Display Resolution - Setup
7. Maximum arc correction ..................... Options Setup Menu
8. Internal accuracy ............................... 0.00000100
X axis mm display resolution ... 3
9. External accuracy .............................. 0.00010000
Y axis mm display resolution ... 3
10. Metric display resolution ..................... {3,3,3,3,3,3}
Z axis mm display resolution ... 3
11. Inch display resolution ........................ {4,4,4,4,4,4}
U axis mm display resolution ... 3
12. Compensation cutoff angle ................. 15.0
V axis mm display resolution ... 3
13. Keyboard beep ................................... On
W axis mm display resolution .. 3 Inch Display Resolution - Setup
14. User macro file.................................... USERCANN.G
15. Load user macro file ........................... No Menu E
Always Metric Display Resolution Setup Menu X axis inch display resolution ... 4
16. Load system macro file.......................
Always Y axis inch display resolution ... 4
17. Load G-Code help...............................
On Z axis inch display resolution ... 4
18. Disk access marker.............................
U axis inch display resolution ... 4
Never
Menu C V axis inch display resolution ... 4
Always
Control Software Setup Menu W axis inch display resolution ... 4
Swap
Menu G Menu F
Options Setup Menu Inch Display Resolution Setup Menu
14MAP15
10-Feb-98
Software Options Setup Options General Software Communications - Setup COM1
ANILAM 1
10-Feb-98
2. Setup Utility 2. General Software 1. Control Software 1. Port .......... ANILAM 5 ANILAM 2
2. Communications 2. Baud......... 9600 ANILAM 5
Startup Screen 3. Draw 3. Parity ........ EVEN ANILAM 6
Menu A
Select Software Package 4. Editor 4. Data bits ... 7 ANILAM 8
Select Setup Option
5. Stop bits ... 1 Disabled
Menu B 6. Software ... On Menu D
General Software Setup Menu Menu C Options Setup
Communications Setup Menu
Menu
None 110
Editor - Setup Odd 150
Even 300
Hardware and Interface Manual
P/N 70000322 - 1400M Setup Utility Maps
Map 16
3. Axis display ...................................... Options Setup
10. Create backup program............................ No On
4. Display program text ........................ Menu
11. Delete internal file when program saved... Yes Yes None
12. Case sensitive Find.................................. No 5. Automatic re-run .............................. Yes Solid
13. Memory reserved (in K-bytes).................. 64 6. Grid .................................................. None Dotted
7. Grid size .......................................... 1.0 Menu I
8. Tool display ...................................... None
Menu M On Options Setup Menu
9. Default tool type .............................. Flat
Editor Setup Menu Flat
10. Tool length factor............................... Ball
3.00
11. Default AUTO-ZOOM scaling factor.. 1.00 Menu I Ignore
12. Auto erase......................................... On Options Setup Menu Use
13. Cutter compensation in draw............. Both Both
14. Draw view.......................................... ISO
15. Aspect ratio correction factor............. 1.47 Menu K
16. Save draw image............................... Yes XY Options Setup Menu
XZ
Menu G YZ
Draw Setup Menu ISO
Menu L
Options Setup Menu
14MAP16
Page 16-17
Software Options Setup Options General Software Program - Setup
Page 16-18
2. Setup Utility 2. General Software 5. Program 1. Program directory pattern............... *.G
3. Prog. Controller Setup 6. Display 2. Program directory display mode..... Short
1400M Startup Screen 4. Print configurations 7. Printer 3. Program directory sort order........... Name
Select Software Package 5. Units in Inch 4. Automatically check disk at startup.. Never
Menu B 5. Delete backup files during optimize.. Yes
Menu A General Software Setup 6. Directory for user programs............. C:\USER
Select Setup Option Menu
Menu C
Program Setup Menu
Map 17
Printer Setup Menu
---Editor---
1. Normal Text ...................... Example
2. Marked Text....................... Example
3. Current Line....................... Example
4. Frame................................ Example
5. Automatic re-run ................ Example
6. Errors................................. Example
---Softkeys---
7. Normal............................... Example
8. Highlight............................. Example
Menu F
Display Setup Menu
12MAP17
10-Feb-98
Hardware and Interface Manual
70000322 - Programmable Controller Interface
Communication Parameters
Refer to Table 17-2, Allen-Bradley SLC-150 Communications
Parameters.
Table 17-2, Allen-Bradley SLC-150 Communications Parameters
Internal Relays
The CNC exchanges information with the programmable controller by
writing to and reading from its internal registers. When programming the
programmable controller, handle these registers as though they were
"internal" relays. Internal relays are not connected directly to output
devices.
The available internal relays are numbered 701 to 863. The data transfer
area relays are numbered 701 to 780.
Access READ ONLY relays only via the CNC. Do not attempt to write to
these relays via the programmable controller. To do so will cause
unpredictable and possibly dangerous results.
The CNC encodes M, S, T and H codes in BCD (Binary Coded Decimal -
8421 Code) by the CNC. In each case, the MSB is the highest-numbered
relay.
LSB Least Significant Bit
MSB Most Significant Bit
M Codes are for Miscellaneous or Machine functions. S Codes are for
Spindle functions. T Codes are for Tool functions. H Codes are for pre-
tool codes used with automatic tool changer systems.
M, S, T and H Codes
When the CNC executes an M, S, T or H code, it transfers the
appropriate BCD number into the designated relay group. The CNC's
execution of the part program will then dwell until the programmable
controller program sets the Finished relay (number 780). The CNC then
resets the M, S, T or H code to zero. The programmable controller
program will reset the Finished Relay (Number 780).
CNC Flags
Refer to Table 17-4, Allen-Bradley SLC-150 CNC Flags. CNC flags are
the relays set by the CNC to enable certain devices or indicate status of
the CNC or part program. The programmable controller program
decodes these flags and takes appropriate action.
Table 17-4, Allen-Bradley SLC-150 CNC Flags
PLC Flags
Refer to Table 17-5, Allen-Bradley SLC-150 PLC Flags. PLC flags are
the relays set by the programmable controller program to indicate the
status of the machine and auxiliary devices, such as power draw bars,
tool changers, spindle drives, etc.
Table 17-5, Allen-Bradley SLC-150 PLC Flags
PLC Flag Number Description
780 Finish Relay. Set by the programmable
controller's program when the control sends an M,
S, T or H code. Part program execution can now
proceed.
779 Servo Fault Relay. Indicates that the servo
amplifiers are not powered up or are unavailable
for another reason.
778 Feed Hold Relay. Energized if the CNC cannot
run in Feed (G01) Mode due to machine problems
or constraints. While in Feed Hold, Rapid (G00)
moves will still be allowed.
777 Tool Change Finish Relay. When the
programmable controller has finished the most
recent Tool operation, Relay 777 is turned on.
When Relay 758 is turned on by the control, the
programmable controller turns off Relay 777.
776 External Stop Bit. If the programmable controller
turns Relay 776 on, all motion will halt for as long
as Relay 776 remains on. When Relay 776 turns
off, program execution continues at the current
block.
775 External Hold Bit. If the programmable controller
turns Relay 775 on, all motion will halt. (Similar to
pressing HOLD on the CNC keyboard.) After Relay
775 turns off and START is pressed, the current
block will continue.
Error/Warning Messages
The programmable controller can send 256 different messages,
numbered from 0 to 255, to the control. The Error/Warning messages,
unlike the M, S, T and H codes, are not coded in BCD, but in normal
binary.
LSB Least Significant Bit
MSB Most Significant Bit
The MSB of the Error/Warning message area is Internal Relay 772. The
LSB is 765. This provides the required eight bits of binary code for 256
different messages. Refer to Table 17-6, Message 86 Example.
Address Table
Refer to Internal Relays and Designation of Internal Relays for
information about the internal relays with which you can program the
programmable controller.
Table 17-8, Allen-Bradley SLC-150 Address Table
Address Address Function
1 - 10 External inputs- CPU chassis
101 - 110 External inputs- CPU chassis
X01 - X10 External inputs- Expansion address block No. X
11 - 16 External outputs- CPU chassis
111 - 116 External outputs- CPU chassis
X11 - X16 External outputs- Expansion address block No. X
701 - 863 Internal relay type instructions
864 - 866 SLC-150 special instructions
867 TCAT startup instruction
868 Program initialization instruction
869 - 873 Fine time base instructions
876 Auto/Man switch of the SLC-150
901 - 932 Timer/counter/sequencer/ high speed input instructions
951 - 982 Status instructions- Timer/counter
overflow/underflow and sequencer completion
Monitor Function
Programmable controller operation can be monitored during CNC
operation via the PLC Monitor.
To activate the monitor:
1. Type P on the command line and press ENTER. The PLC Monitor
display activates.
Refer to Figure 17-1, Allen-Bradley SLC-150 PLC Monitor. The display
is separated into three areas. The top area shows the status of the M, S,
T and H codes, PLC and CNC flags and PLC Messages. The middle
area shows the status of the internal relays. The bottom area shows the
status of the programmable controller inputs and outputs.
PLC Monitor
FlagsPLC 0000 0000 Message 0 0000 0000
M0 0000 0000 0000 0000 S0 0000 0000 0000 0000
T0 0000 0000 H0 0000 0000 FlagsCNC 0000 0000 0000 0000
812 0000 0000 804 0000 0000 796 0000 0000 788 0000 0000
844 0000 0000 836 0000 0000 828 0000 0000 820 0000 0000
868 0000 0000 860 0000 0000 852 0000 0000
310 00 0000 0000 210 00 0000 0000 110 00 0000 0000 10 00 0000 0000
318 0000 0000 218 0000 0000 118 0000 0000 18 0000 0000
AB150PGC
Programmable Controller Inputs
and Outputs Status Area
Figure 17-1, Allen-Bradley SLC-150 PLC Monitor
Flag Meaning
780 FINISHED
779 SERVO FAULT
778 FEED HOLD
777 TOOL CHANGER FINISHED
776 EXTERNAL STOP
775 EXTERNAL HOLD
Relays 774 and 773 are not currently used.
AB SLC-150 PLC Flags
and Internal Relay Reference
FlagsPLC 0 000 00 0 0
780 773
779 774
778 775
777 776
ABPLCF2
Figure 17-2, Allen Bradley SLC-150 PLC Flags and Internal Relay Reference
Error messages are coded in Internal Relays 765 to 772, and displayed
as follows:
Flag Meaning
764 EMERGENCY STOP
763 SPINDLE ENABLE
762 CO-INCIDENCE
761 FEED
760 COMPUTER OVER-TEMPERATURE
759 MANUAL MODE
758 TOOL CHANGER FINISHED RECEIVED
757 TOOL CHANGE MACRO END
756 SPINDLE DRIVE CLOSED LOOP
755 RUN/SINGLE STEP
754 KEEP CURRENT TOOL IN SAME BIN
753 RESERVED FOR FUTURE USE
752 AXES AT HOME POSITION
751 to 749 Not currently used.
Communication Parameters
Refer to Table 17-13, Allen-Bradley SLC-500 Communications
Parameters.
Table 17-13, Allen-Bradley SLC-500 Communications Parameters
Internal Register
The CNC exchanges information with the programmable controller by
writing to and reading from its internal registers.
Data transfer is handled via Integer Data Registers N7:240 to N7:255.
Internal Registers
Refer to Table 17-14, Allen-Bradley SLC-500 Internal Registers. The
table provides the internal registers used for communication between the
programmable controller and the 1200T/1400M controls.
Table 17-14, Allen-Bradley SLC-500 Internal Registers
Access READ ONLY relays only via the CNC. Do not attempt to write to
these relays via the programmable controller. To do so will cause
unpredictable and possibly dangerous results.
The CNC encodes M, S, T and H codes in BCD (Binary Coded Decimal -
8421 Code). In each case, the MSB is the highest-numbered relay.
LSB Least Significant Bit
MSB Most Significant Bit
M Codes are for Miscellaneous or Machine functions. S Codes are for
Spindle functions. T Codes are for Tool functions. H Codes are pre-tool
codes for use with automatic tool changer systems.
M, S, T and H Codes
When the CNC executes an M, S, T or H code, the appropriate BCD
number is transferred into the designated relay group. The control's
execution of the part program will then dwell until the programmable
controller program sets the Finished Bit N7:249/0. The CNC resets the
M, S, T or H code to zero and the programmable controller program
resets the Finished Bit N7:249/0.
CNC Flags
Refer to Table 17-15, Allen-Bradley SLC-500 CNC Flags. CNC flags
are the bits set by the CNC to enable certain devices or to indicate the
status of the CNC or part program. The programmable controller
program decodes these flags and takes appropriate action.
Table 17-15, Allen-Bradley SLC-500 CNC Flags
PLC Flags
Refer to Table 17-16, Allen-Bradley SLC-500 PLC Flags. PLC flags are
the bits set by the programmable controller program to indicate the status
of the machine and auxiliary devices, such as power draw bars, tool
changers, spindle drives, etc.
Table 17-16, Allen-Bradley SLC-500 PLC Flags
PLC Flag Number Description
N7:249/0 Finish Flag. Set by the programmable controller
program when an M, S, T or H code has been sent
by the CNC and part program execution can now
resume. The 2 or 4-digit BCD number is transferred
as 8 or 16 bits into the register(s). The part program
will then dwell until N7:249/0 is turned on by the PLC
program. The system will reset the M, S, T, or H
code to and the part program will resume. The PLC
program should then reset N7:249/0.
N7:249/1 Servo Fault Flag. Set by the programmable
controller program to indicate that the servo
amplifiers are not powered up or are unavailable for
another reason.
N7:249/2 Feed Hold Flag. Energized when the CNC cannot
be run in Feed (G01) Mode due to machine
problems or constraints. While in Feed Hold, Rapid
(G00) moves will still be allowed.
N7:249/3 Tool Finish Flag. When the programmable
controller has finished the most recent Tool
operation, N7:249/3 is turned on. When N7:240/6 is
turned on by the control, N7:249/3 is turned off by
the programmable controller.
N7:249/4 External Stop Flag. If the programmable controller
turns N7:249/4 on, all motion will halt as long as it is
on. When 249/4 turns off, the CNC continues
execution of the current block.
N7:249/5 External Hold Flag. If the programmable controller
turns N7:249/5 on, all motion will halt. (Similar to
pressing HOLD on the CNC keyboard.) After
N7:249/5 turns off and START is pressed, the CNC
continues execution of the current block.
N7:250 Function Request Number Area. If the Function
Request Number area is other than all zeros, the
CNC will execute the corresponding function. When
the function is completed, the CNC turns on Bit
N7:240/11. The programmable controller program
then sets the function number to zero. The CNC
then turns bit N7:240/11 off.
Error/Warning Messages
The programmable controller can send 256 different messages,
numbered from 0 to 255, to the control. The Error/Warning messages,
unlike the M, S, T and H codes, are not coded in BCD, but in normal
binary.
LSB Least Significant Bit
MSB Most Significant Bit
Refer to Table 17-17, AB SLC-500 Message 86 Example.
Table 17-17, AB SLC-500 Message 86 Example
Register MSB LSB
N7:248 bit
Relay 7 6 5 4 3 2 1 0
State off on off on off on on off
Equals 128 64 32 16 8 4 2 1
Message 0 + 64 + 0 + 16 + 0 + 4 + 2 + 0= 86
The error messages categorized as Error codes or Warning codes.
Error codes will stop execution of the user program. Warning codes will
display an error message without halting the user program.
Table 17-18, Error and Warning Message Codes
Monitor Function
During CNC operation, you can monitor the programmable controller via
the PLC Monitor.
To activate the monitor:
1. Type P on the command line and press ENTER. The PLC Monitor
display activates.
Refer to Figure 17-8, Allen-Bradley SLC-500 PLC Monitor. The display
is separated into three areas. The top area displays the status of the M,
S, T and H codes, PLC and CNC flags and PLC Messages. The middle
area shows the status of the internal relays. The bottom area shows the
status of the programmable controller inputs and outputs.
PLC Monitor
FlagsPLC 0000 0000 Message 0 0000 0000
M0 0000 0000 0000 0000 S0 0000 0000 0000 0000
T0 0000 0000 H0 0000 0000 FlagsCNC 0000 0000 0000 0000
B15 0000 0000 B7 0000 0000 B31 0000 0000 B23 0000 0000
B47 0000 0000 B39 0000 0000 B63 0000 0000 B55 0000 0000
B79 0000 0000 B71 0000 0000 B95 0000 0000 B87 0000 0000
I15 0000 0000 I7 0000 0000 I31 0000 0000 I23 0000 0000
O15 0000 0000 O7 0000 0000 O31 0000 0000 O23 0000 0000
AB500PGC
Programmable Controller Inputs
and Outputs Status Area
Figure 17-8, Allen-Bradley SLC-500 PLC Monitor
Flag Bit
FINISHED N7:249/0
SERVO FAULT N7:249/1
FEED HOLD N7:249/2
TOOL CHANGER FINISHED N7:249/3
EXTERNAL STOP N7:249/4
EXTERNAL HOLD N7:249/5
Bits 6 and 7 are not currently used.
AB SLC-500 PLC Flags Reference
(N7:249 bits)
FlagsPLC 0 0 0 0 0 0 0 0
0 7
1 6
2 5
3 4
ABPLCFL
M, S, T and H codes are all displayed similarly, with the most significant
bit to the left, and least significant bit to the right. Refer to Figure 17-11,
AB SLC-500 Tool Code Reference for an example using T Codes.
Tool Code Bits Reference
(N7:243 bits)
T0 0 0 0 0 00 0 0
(MSB) 7 0 (LSB)
6 1
5 2
4 3
AB500T
Function Flagbit
E-STOP N7:240/0
SPINDLE ENABLE N7:240/1
CO-INCIDENCE N7:240/2
FEED N7:240/3
COMPUTER OVER TEMPERATURE N7:240/4
MANUAL MODE SELECT N7:240/5
TOOL CHANGER FINISHED REC'D N7:240/6
TOOL CHANGE MACRO END N7:240/7
SPINDLE DRIVE CLOSED LOOP N7:240/8
RUN/SINGLE STEP N7:240/9
KEEP CURRENT TOOL IN SAME BIN N7:240/10
FUNCTION ACKNOWLEDGED N7:240/11
AXES AT HOME POSITION N7:240/12
Bits 13 to 15 are not currently used.
Figure 17-12, Flag CNC Bits Relay Reference
CNC Flags (N7:240 Bit)
FlagsCNC 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0
0 15
1 14
2 13
3 12
4 11
5 10
6 9
7 8
AB500CNC
Baud 9600
Parity EVEN
Data bits 8
Stop bits 1
Software ON
F1 Port COM1
F2 Current Device KF3/KE (Full-Duplex)
F4 KF3/KE Address 0
F5 PROC Address 1
F6 MAX Node Address 31
Press Save to File (F9) now to save these values.
1770-KF3 Setup
Refer to the Allen-Bradley manual catalog (Allen-Bradley P/N 1770-KF3)
for information on operating the KF3 and connecting it to the CNC. Refer
to Table 17-25, KF3 Setup Values.
Table 17-25, KF3 Setup Values
Communication Parameters
Refer to Table 17-28, Mitsubishi Communication Parameters.
Table 17-28, Mitsubishi Communication Parameters
Data Registers
The CNC exchanges information with the programmable controller by
writing to and reading from data registers 760 to 777 of the programmable
controller. Register bits are referred to in the following format:
Register 761 bit 10 = 761/10
CAUTION: The registers designated as READ ONLY must be accessed via the
control. Any attempt to write to these relays by the programmable controller
program could cause unpredictable and possibly dangerous results.
M, S, T and H Codes
When the control executes an M, S, T or H code, the appropriate 3-digit
BCD number is transferred into the designated register. The control's
execution of the part program will then dwell until the programmable
controller program sets the Finished Bit, 761/10. The control will then
reset the M, S, T or H code to zero. The programmable controller
program will reset Finished Bit 761/10.
CNC Flags
Refer to Table 17-31, Mitsubishi CNC Flags. CNC flags are the register
bits set by the CNC to enable certain devices or indicate status of the
CNC or part program. The programmable controller program decodes
these flags and takes appropriate action.
Table 17-31, Mitsubishi CNC Flags
PLC Flags
Refer to Table 17-32, Mitsubishi PLC Flags. PLC flags are the relays
set by the programmable controller program to indicate status of the
machine and auxiliary devices, such as power draw bars, tool changers,
spindle drives and so forth.
Table 17-32, Mitsubishi PLC Flags
PLC Flag Number Description
761/11 Not currently used.
761/10 Finished Bit. Set when an M, S, T or H code has
been sent by the CNC. Part program execution
can now proceed.
761/9 Servo Fault Bit. Indicates that the servo
amplifiers are not powered up or are unavailable
for another reason.
761/8 Feed Hold Bit. Energized if the CNC cannot be
run in Feed (G1) Mode due to machine problems
or constraints. While in Feed Hold, Rapid (G0)
moves will still be allowed.
761/7 Not currently used.
761/6 Tool Finish Bit. Turned on when the PLC has
finished the most recent Tool operation. When
777/2 is turned on, the PLC turns off 761/6.
761/5 External Stop Bit. If the PLC turns 761/5 on, all
motion will halt until 761/5 is turned off. When
761/5 is turned off, program execution resumes at
current block.
761/4 External Hold Bit. If the PLC turns 761/4 on, all
motion will halt. (Similar to pressing HOLD on the
CNC keyboard.) When 761/4 turns off and START
is pressed, the CNC continues program execution
at the current block.
761/2 Refer to 761/6.
Bits 761/11, 7, 3, 1 and 0 are not currently used.
Error/Warning Messages
The programmable controller can send 256 different messages,
numbered from 0 to 255, to the control.
The error messages are categorized as Error codes and Warning codes.
Error codes will stop execution of the user program. Warning codes will
display an error message, without halting the user program.
Table 17-33, Error and Warning Message Codes
Address Table
Refer to Table 17-34, Mitsubishi Address Table. Use the table to
program the PLC. Also reference relevant Mitsubishi programming
documentation on the MEDOC program.
Table 17-34, Mitsubishi Address Table
Monitor Function
During CNC operation, monitor PLC operation via the PLC Monitor.
To activate the monitor:
1. Type P on the command line and press ENTER. The PLC Monitor
display activates.
Refer to Figure 17-15, Mitsubishi PLC Monitor. The display is
separated into three areas. The top area displays the status of the M, S,
T and H codes, PLC and CNC flags and PLC Messages. The middle
area shows the status of the internal relays. The bottom area shows the
status of the programmable controller inputs and outputs.
Figure 17-15, Mitsubishi PLC Monitor
Status Area for
M, S, T, H Codes, PLC and
CNC flags and PLC Messages
PLC Monitor
FlagsPLC 0000 0000 0000 Message 0 0000 0000 0000
M0 0000 0000 0000 0000 S0 0000 0000 0000 0000
T0 0000 0000 H0 0000 0000 FlagsCNC 0000 0000 0000 0000
107 0000 0000 117 0000 0000 127 0000 0000 137 0000 0000
147 0000 0000 157 0000 0000 167 0000 0000 177 0000 0000
13 0000 0000 0000 413 0000 0000 0000 513 0000 0000 0000
37 0000 0000 437 0000 0000 537 0000 0000
MITSPGC
Refer to Figure 17-15, Mitsubishi PLC Monitor. The top area of the
screen describes Data Transfer Internal Relays 760 to 777. All monitored
relays are read from left to right, highest to lowest numbered relay. A "1"
in any position indicates that the relay is active.
The FlagsPLC are register bits set by the programmable controller
program to indicate status of the machine and the programmable
controller program.
Table 17-35, Mitsubishi PLC Flags
Flag Meaning
(NOT USED) 761 bit 11
FINISHED 761 bit 10
SERVO FAULT 761 bit 9
FEED HOLD 761 bit 8
(NOT USED) 761 bit 7
TOOL CHANGER FINISHED 761 bit 6
EXTERNAL STOP 761 bit 5
EXTERNAL HOLD 761 bit 4
Figure 17-16, Mitsubishi PLC Flags and Register 761 Reference
PLC Flags (Reg. 761 Bits)
0 0 0 0 0 0 0 0 00 0 0
0
1
2
3
11 4
10 5
9 6
8 7
MIT761
Refer to Table 17-36, Mitsubishi CNC Flags. M and S codes are 12 bits
in length. For M codes, the most significant BCD digits are coded in
register 770, starting at bit 11. For S codes, the bits are coded in register
771, starting at bit 11.
The FlagsCNC are Register bits set by the CNC to enable certain
devices or indicate status of the CNC or part program.
Table 17-36, Mitsubishi CNC Flags
Communication Parameters
Table 17-40, SAIA Communications Parameters
Bi-Directional, Full-Duplex
Baud 9600
Data bits 7
Stop bit 1
CRC 1 Byte
Parity Even
Refer to Table 17-40, SAIA Communications Parameters.
Each serial channel must be initialized via Assign Serial Interface (SASI).
This will configure the operating mode and baud for each channel.
Up to four serial channels are possible. Each channel can be run in a
different mode and different speed.
Example: “UART:9600,7,E,1;MODE:SD0;DIAG:F1000,R4000;”
The above example is the command to initiate RS-232 communication
with the CNC. Refer to SAIA Reference guide, Series PCD, edition
26/733 E1 for use of other RS-232 formats.
Internal Registers
The 1200T/1400M CNC exchanges information with the programmable
controller by writing to and reading from its internal registers. Data
transfer is handled via Registers 4080 to 4095.
S Codes are for Spindle functions. T Codes are for Tool functions. H
Codes are pre-tool codes for use with automatic tool changer systems.
M, S, T and H Codes
When the CNC executes an M, S, T or H code, the appropriate BCD
number is transferred to the designated register. The control's execution
of the part program will then dwell until the programmable controller
program sets Finished bit 4081/0. The CNC resets the M, S, T or H code
to zero and the programmable controller program resets Finished Bit
4081/0.
CNC Flags
Refer to Table 17-42, SAIA CNC Flags. CNC flags are the bits set by
the CNC to enable certain devices or to indicate the status of the CNC or
part program. The programmable controller program decodes these flags
and takes appropriate action.
Table 17-42, SAIA CNC Flags
PLC Flags
Refer to Table 17-43, SAIA PLC Flags. PLC flags are the relays set by
the programmable controller program to indicate the status of the
machine and auxiliary devices, such as power draw bars, tool changers,
spindle drives, etc.
Table 17-43, SAIA PLC Flags
PLC Flag Number Description
4081/0 Finish Flag. Set when an M, S, T or H code has
been sent by the CNC and part program execution
can proceed.
The 2 or 4-digit BCD number is transferred as 8 or
16 bits into the register(s). The part program will
then dwell until 4081/0 is turned on by the PLC
program. The system will reset M, S, T or H to
zero and the part program will proceed. The PLC
program then resets 4081/0.
4081/1 Servo Fault Flag. Indicates that the servo
amplifiers are not powered up or are unavailable
for another reason.
4081/2 Feed Hold Flag. Energized if the CNC cannot be
run in Feed (G1) Mode due to machine problems
or constraints. While in Feed Hold, Rapid (G0)
moves will still be allowed.
4081/3 and 6 Tool Finish Flag. When the programmable
controller has finished the most recent Tool
operation, 4081/3 is turned on. When 4095/6 is
turned on by the control, 4081/3 is turned off by
the programmable controller.
4081/4 External Stop Flag. If the programmable
controller turns 4081/4 on, all motion halts. When
249/4 turnsoff, program execution continues at the
current block.
4081/5 External Hold Flag. If the programmable
controller turns 4081/5 on, all motion will halt, just
as if HOLD on the CNC keyboard were pressed.
After 4081/5 turns off and the START key is
pressed, the current block will continue. If the
Function Request Number area is other than all
zeros, the corresponding function will be executed
by the CNC.
4095/11 Function Request Acknowledge Flag. When
the function is completed, the CNC turns on Bit
4095/11. The programmable controller program
then sets the function number to zero. The CNC
will then turn bit 4095/11 off.
Error/Warning Messages
The programmable controller can send 256 different messages,
numbered from 0 to 255, to the control. The Error/Warning messages,
unlike the M, S, T and H codes, are not coded in BCD, but normal binary.
LSB Least Significant Bit
MSB Most Significant Bit
The MSB of the Error/Warning displayed at the left and the eight required
bits of binary code allow 256 different messages.
Refer to Table 17-44, Error Message Example.
Table 17-44, Error Message Example
MSB LSB
Register 7 6 5 4 3 2 1 0
4080 bit
State off on off on off on on off
Equals 128 64 32 16 8 4 2 1
Message 0+ 64 + 0 + 16 + 0+ 4+ 2+ 0= 86
The error messages are categorized as Error codes and Warning codes.
Error codes will stop execution of the user program. Warning codes will
display an error message without halting the user program.
Table 17-45, Error and Warning Message Codes
Monitor Function
You can monitor the PLC during CNC operation via the PLC Monitor.
To activate the monitor:
1. Type P on the command line and press ENTER. The PLC Monitor
display activates.
Refer to Figure 17-22, SAIA PLC Monitor. The display is separated into
three areas. The top area displays the status of the M, S, T and H codes,
PLC and CNC flags and PLC Messages. The middle area shows the
status of the internal relays. The bottom area shows the status of the
programmable controller inputs and outputs.
PLC Monitor
FlagsPLC 0000 0000 Message 0 0000 0000
M0 0000 0000 0000 0000 S0 0000 0000 0000 0000
T0 0000 0000 H0 0000 0000 FlagsCNC 0000 0000 0000 0000
F0 0000 0000 F8 0000 0000 F16 0000 0000 F24 0000 0000
F32 0000 0000 F40 0000 0000 F48 0000 0000 F56 0000 0000
F64 0000 0000 F72 0000 0000 F80 0000 0000 F88 0000 0000
IO0 0000 0000 IO8 0000 0000 IO16 0000 0000 IO24 0000 0000
IO32 0000 0000 IO40 0000 0000 IO48 0000 0000 IO56 0000 0000
SAIAPGC
Programmable Controller Inputs
and Outputs Status Area
Figure 17-22, SAIA PLC Monitor
Flag Bit
FINISHED 4081/0
SERVO FAULT 4081/1
FEED HOLD 4081/2
TOOL CHANGER FINISHED 4081/3
EXTERNAL STOP 4081/4
EXTERNAL HOLD 4081/5
Bits 6 and 7 are not currently used.
Figure 17-23, PLC Flags/4081 Bits Reference
SAIA PLC Flags (4081 Bits)
FlagsPLC 0 0 0 0 00 0 0
0 7
1 6
2 5
3 4
SAIA4081
Refer to Table 17-47, SAIA CNC Flags. The FlagsCNC are internal
register bits set by the CNC to enable certain devices or indicate status of
the CNC or part program.
Table 17-47, SAIA CNC Flags
Flag Bit
E-STOP 4095/0
SPINDLE ENABLE 4095/1
CO-INCIDENCE 4095/2
FEED 4095/3
COMPUTER OVER-TEMP. 4095/4
MANUAL MODE SELECT 4095/5
TOOL CHANGER FINISHED REC’D 4095/6
TOOL CHANGE MACRO END 4095/7
SPINDLE DRIVE CLOSED LOOP 4095/8
RUN/SINGLE STEP 4095/9
KEEP CURRENT TOOL IN SAME BIN 4095/10
FUNCTION ACKNOWLEDGED 4095/11
AXES AT HOME POSITION 4095/12
Bits 13 to 15 are not currently used.
Figure 17-26, Flags CNC Bits Relay Reference
CNC Flags (4095 Bit)
FlagsCNC 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0
0 15
1 14
2 13
3 12
4 11
5 10
6 9
7 8
SAIACNC
Communication Parameters
Refer to Figure 17-29, Omron Communications Parameters.
Figure 17-29, Omron Communications Parameters
Bi-Directional, Full-Duplex
Baud 9600
Data bits 7
Stop bit 2
Parity Even
CRC 1 byte
(Commands and responses are as described in the Omron CQM1
Programmable Controller Programming Manual, Cat. No. W228-E1-2.)
Internal Relays
The CNC exchanges information with the programmable controller by writing
to and reading from its internal registers. When you program the PLC, handle
these registers as though they were “internal” relays. Internal relays are not
directly connected to output devices.
The data transfer relays are 1600 to 2215.
M, S, T and H Codes
When the CNC executes an M, S, T or H code, the appropriate BCD
number is transferred into the designated relay group. The control's
execution of the part program will then dwell until the programmable
controller program sets the Finished relay (Channel 20, Relay 2015). The
CNC then resets the M, S, T or H code to zero. The PLC program will
reset the Finished Relay (Channel 20, Relay 2015).
CNC Flags
Refer to Table 17-50, Omron CNC Flags. CNC flags are the relays set
by the CNC to enable certain devices or indicate status of the CNC or
part program. The programmable controller program decodes these flags
and takes appropriate action.
Table 17-50, Omron CNC Flags
Error/Warning Messages
The programmable controller can send 256 different messages,
numbered from 0 to 255, to the control. The Error/Warning messages,
unlike the M, S, T and H codes, are not coded in BCD, but in normal
binary.
LSB Least Significant Bit
MSB Most Significant Bit
The MSB of the Error/Warning message area is Internal Relay 2100. The
LSB is 2107. This provides the required eight bits of binary code for 256
different messages.
Monitor Function
Monitor PLC operation during CNC operation via the PLC Monitor.
To activate the monitor:
1. Type P on the command line and press ENTER. The PLC Monitor
display activates.
PLC Monitor
FlagsPLC 0000 0000 Message 0 0000 0000
M0 0000 0000 0000 0000 S0 0000 0000 0000 0000
T0 0000 0000 H0 0000 0000 FlagsCNC 0000 0000 0000 0000
2315 0000 0000 2307 0000 0000 2215 0000 0000 2207 0000 0000
2515 0000 0000 2507 0000 0000 2415 0000 0000 2407 0000 0000
2715 0000 0000 2707 0000 0000 2615 0000 0000 2607 0000 0000
115 0000 0000 107 0000 0000 15 0000 0000 7 0000 0000
10115 0000 0000 10107 0000 0000 10015 0000 0000 100007 0000 0000
OMRONPGC
Refer to Table 17-54, Omron (CQM 1 or PLC) CNC Flags. The CQM 1
or PLC FlagsCNC are internal relays set by the CNC to enable certain
devices or indicate status of the CNC or part program.
Table 17-54, Omron (CQM 1 or PLC) CNC Flags
Flag Meaning
1915 EMERGENCY STOP
1914 SPINDLE ENABLE
1913 CO-INCIDENCE
1912 FEED
1911 COMPUTER OVER-TEMPERATURE
1910 MANUAL MODE
1909 TOOL CHANGER FINISHED RECEIVED
1908 TOOL CHANGE MACRO END
1907 SPINDLE DRIVE CLOSED LOOP
1906 RUN/SINGLE STEP
1905 KEEP CURRENT TOOL IN SAME BIN
1904 FUNCTION ACKNOWLEDGE BIT
1903 AXES AT HOME POSITION
1902 to 1900 are currently not used.
CNC Flags (4095 Bit)
FlagsCNC 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0
1915 Not Used
1914 Not Used
1913 Not Used
1912 1903
1911 1904
1910 1905
1909 1906
1908 1907
OMRONCNC
Software
IPI consists of the following programs:
Editor Accessed from the setup menu, it is the same
Editor used for writing machine part programs.
Loader A compiler that translates IPI into binary machine
code.
Interpreter The portion of the package that runs in the
background to monitor and switch the input/output
bus.
I/O Board
1200T and 1400M I/O hardware consists of the I/O Board and optional
I/O Expansion Board. These units act as a central switch that accepts
inputs and generates outputs as required.
Inputs
Format Xn
Inputs to the IPI are indicated with an X, followed by the input number
(X0, X1…). All inputs have at least one additional permanent label that
reflects the nature of the input. Inputs are identified by the physical
location of the input to the I/O Board. The condition or state of each input
(ON/OFF, TRUE/FALSE) is stored in a state memory register by the IPI using
the same designation. Not all inputs are externally wired to the I/O Board.
Some are received via the CNC . Likewise, not all inputs interpret an
active or true statement the same way electrically.
Table 18-1, Input Type Descriptions
Input Description
TTL Inputs Designated X0 - X7, X28 and X29. These inputs
are received by the CNC directly from the
operation panel.
Vector Limits Designated X8 - X15. These inputs, if used, are
generated from travel limit switches. A true or
active vector limit input is the absence of a 24VDC
signal.
General Purpose Designated X16 - X27. Located on the main I/O
Inputs Board, these 24VDC inputs are assigned to
locations in the system, as required.
General Purpose Designated X32 - X47. Located on the optional I/O
Expansion Inputs Expansion Board. These 24VDC inputs are
assigned to locations in the system, as required.
Outputs
Format Yn
Outputs are indicated with a Y, followed by the output number (Y0, Y1…)
The outputs are also identified by their physical locations on the I/O
board. All outputs have at least one additional permanent label. IPI
output states are stored in output memory registers, identified by the Y
designator of the same name. The output states, stored in the Y
registers, are used to generate electrical signals once every IPI
computation cycle. The outputs electrical signals are actually generated
by the I/O Board. All outputs represent a logical true or active condition
by an electrical 24V common (24V ground) signal.
Memory Registers
IPI uses two types of memory registers: Boolean registers that only store
TRUE/FALSE states and numeric registers that hold integer values. The
numeric memory registers enable IPI to perform timing, counting and
comparison operations.
Inputs and outputs are IPI elements which use similarly designated
registers. Additional types of memory registers include:
− Multifunctional Elements
− Timers
− Sequence Elements
M41-SPDAN0V
When M41-SPDAN0V is TRUE (non-zero), IPI will disable the analog
output to the spindle. When M41 is FALSE (zero), the analog output to the
spindle is not affected.
For example, if the spindle is running at 1000 RPM and M41 is set to
TRUE, the corresponding voltage output to the spindle will be 0V. Once
M41 is set to FALSE (zero), the corresponding output to the spindle will be
the same as it was before the M41 was set to TRUE. If an S-word is used
before setting M41 to FALSE, the analog output will correspond to the
newly-programmed RPM.
M42-MREGRAN
M42-MREGRAN is a bitmask that enables the user to cycle through the
range of multifunction registers displayed on the IPI monitor. Currently,
only M48-M63 are displayed on the IPI monitor. M42 allows the user to
change the range of displayed registers. Only sixteen registers can be
displayed at once. The available ranges are listed in Table 18-7,
Changing the Multifunction Registers Displayed on the IPI Monitor.
Table 18-7, Changing the Multifunction Registers Displayed on the IPI Monitor
M43-SPDGRCH
Set M43-SPDGRCH in the range of 40-44 to enable the corresponding
gear range. The specified range is used to calculate a proportional
spindle analog output voltage only. When M43 is outside the range 40-
44, the CNC ignores this register.
When M43 is not zero, a '1' is displayed on the monitor screen, on the last
bit of the PLC flags section. To see the actual value, the proper M-
register range (Range 3, 0004h) must be displayed, using M42-
MREGRAN
M44-CNCERR
The CNC uses M44-CNCERR to pass error conditions to IPI. The CNC
can only pass one error (Set 1-4) at a time to IPI. To enable the CNC to
pass another error, the IPI program must clear M44 (set to zero).
Table 18-8, Error Condition Values
Condition Value
File Read Error 1
File Write Error 2
Checksum Error 3
New File 4
M45-IORESET
The CNC uses M45-IORESET to pass the state of the I/O Board to IPI.
Refer to Table 18-9, IORESET Condition Range for valid values.
Condition Value
All OK 0
Reset Detected: a reset condition on the I/O 1
Board has been detected.
Reset OK: I/O Board has recovered from a reset 2
condition.
The CNC guarantees that M45 will see a nonzero condition for at least
one IPI scan. However, the IPI program should monitor M45 on every
scan to ensure that all nonzero conditions are trapped. Do not write to
M45.
The CNC will set M45 to 1 (Reset Detected) if:
− I/O Board sends reset code to CNC (0x2F)
− +24V power is lost
− I/O Board communications lost (lost sync due to watchdog expiration).
M45 will remain set to 1 as long as the error condition exists. When it no
longer detects the error condition, the CNC attempts to restore normal
communication with the I/O Board. Once normal communication is
established, M45 is set to 2 (Reset OK). On a subsequent scan, M45 will
be set to 0 (All OK).
M46-KEYMASK
The IPI program uses M46-KEYMASK to mask out certain keys from the
operator. M46 contains a bit value; each bit corresponds to a key. Refer
to Table 18-10, KEYMASK M47 Bit Numbers and Keys for keys
assigned to M46 bits.
Table 18-10, KEYMASK M47 Bit Numbers and Keys
Combine the appropriate bitmask hex values to mask out multiple keys at
once. For example, to mask out the Spindle CW, Spindle CCW and
Spindle OFF, combine 0004h (Spindle CW), 0x0008 (Spindle CCW) and
0x0010 (Spindle OFF) to get 1C. The following command converts the
value to binary format and uses the appropriate base indicator:
MOV 11100b M46
The command will mask out the specified spindle keys.
To enable the spindle keys to be used later in the program, clear M46 in a
subsequent execution scan. For example:
MOV 0 M46
The command enables all previously masked keys.
Shared Registers
The IPI and CNC share sixteen M-registers. These are CNC variables
#1100 to 1115, which correspond to IPI M-registers 224 to 239,
respectively. These variables enable the IPI program and the CNC to
exchange information by reading and writing back and forth in both
programs.
Example 1 - IPI to CNC
A value written in the IPI program can be read by a CNC program.
IPI program LD M55 M224 *Copies contents of M55 into
command: M224. (Example: M55 = 4.
Therefore, M224 = 4.)
Subsequently, in a CNC program:
CNC program If ( #1100 > 1 ) then *Since CNC variable #1100
block: print (Hello World!) corresponds to IPI variable
M224, the CNC reads the value
stored in the IPI program (M224
= 4:#1100 = 4). Since 4 is
greater than 1, the CNC
executes the command and
prints, “Hello World!”
Example 2 - CNC to IPI
A value written in the CNC program can be read by the IPI program.
CNC program #1101 = 2 *Sets CNC variable #1100 to 2.
block:
can be used in the IPI program as in
IPI program IF 100 ( M225 EQ 2 ) *Since IPI M-register M225
command: corresponds to CNC variable
#1101, the CNC reads the
value stored in the CNC
program (#1101 = 2.
Therefore, M225 = 2.) In this
case, M225 EQ 2 would be
TRUE and the conditional
instructions following the IF
block would be executed.
Timer Registers
Format Tn, n is a number 0-49
There are 50 timing registers available (T0-T49). A timer is configured by
the instruction that first uses it in a program. Later references to the
same timer are only to sample its state value.
The time delay is expressed in decimal seconds, read by the interpreter in
milliseconds.
Each timer actually uses two registers; a state register and a time-
keeping register. The RD instruction permits use of the countdown value
when necessary. Refer to “Advanced IPI Instructions.”
Sequence Registers
There are 256 sequence registers available. These are designated S0 -
S255. Sequence registers are also available to the programmer at any
time. When any one sequence register is set to a TRUE value, all others
are automatically reset to FALSE.
For example, when the IPI program starts, sequence register S0 is
always set to TRUE. Therefore, all others are FALSE.
IPIMON
IPIM2
File Names
An IPI file can have any valid filename. The filename extensions are
assigned automatically as follows:
IPI Program file FILENAME.DBO (text file)
IPI Executable FILENAME.DBI (binary file)
Compiler List File FILENAME.LST (text file)
Compiler Error File FILENAME.ERR (text file)
The DBO file is the program edited by the user.
DBI files are binary machine code generated by the loader as it compiles.
If any errors occur, the DBI file is deleted. This prevents accidental
execution of an IPI program that contains errors. Binary output files are
generated only if no errors occur during the compilation.
LST files are generated if the compiler is instructed to do so by the user,
or if a #LIST directive is programmed.
ERR files contain errors or warnings generated by the compiler during
compilation.
Operation Description
START Denotes start of repeating portion of IPI program.
Optional.
END Must be last instruction in IPI program. Tells interpreter
program has finished, time to generate outputs and
repeat cycle. Required.
The START instruction is optional, and does not need to be the first
instruction in the program. START informs the interpreter where to begin
each program cycle. Program instructions that precede START are not
repeated after the first cycle. If START is not used, all instructions are
executed every cycle.
Instructions inserted before START can begin initialization steps, which
are done only once. The IPI interpreter clears all of its registers and
reads all inputs at the first instruction, not at START.
The END instruction must be added to every program. END informs the
interpreter that the program has finished. When the interpreter
encounters END, it generates outputs on the I/O Board, based on the
states stored in the Y registers. The interpreter then transfers IPI flags to
the CNC and restarts the program. It runs only the instructions that
appear after the program START.
Instruction Operands
Instruction operands are values stored in input, output, sequence,
multifunction and timer registers. These elements are identified by their
X, Y, S, M and T designators, or by their assigned labels. An element
can also be a constant. Element names must be separated from other
instruction parameters by at least one blank space.
Operation Codes
IPI uses codes to identify different operations. Operation codes inform
the IPI:
− What function to perform with new element or expression.
− The value in the current register.
− The value in the previous register (if used).
The operation code is not case-sensitive. It can start on any column in
the line. Leading tabs and spaces will be ignored.
Expressions
Expressions perform Boolean operations, comparison operations and
mathematical operations with pairs of operands. Insert the expression in
an instruction as if it were a single element.
Most expressions produce state outputs. Only the add and subtract
expressions produce numeric values. Use expressions to shorten
program length or provide options. Expression results are converted to
states or values as necessary to complete an operation. (Refer to Table
18-13, Expression Operands (State Value = s, Numeric Value = n).
Expression Definition
( s1 AND s2 ) Results in TRUE only when both operands are TRUE. Otherwise,
FALSE.
( s1 OR s2 ) Results in TRUE if either parameter is TRUE. Results in FALSE
only when both are FALSE.
( s1 ANI s2 ) Results in FALSE only when both parameters are TRUE.
Otherwise, TRUE.
CAUTION: The ANI function in an expression is not the same
as the ANI function in the instruction set.
( s1 ORI s2 ) Results in FALSE when either parameter is TRUE, is TRUE when
both are FALSE.
CAUTION: The ORI function in an expression is not the same
as the ORI function in the instruction set.
( s1 XOR s2 ) Results in TRUE when one and only one parameter is TRUE.
Results in FALSE if both are in the same state.
( s1 XNR s2 ) Results in FALSE when one, but not the other parameter is TRUE.
The result is TRUE if both are in the same state.
( n1 + n2 ) Adds the two register values.
( n1 - n2 ) Subtracts the two register values. If the result is negative, an
overflow will occur, and the result is undefined.
( n1 EQ n2 ) Results in TRUE if the register values are the same.
( n1 NE n2 ) Results in TRUE if the register values are different.
( n1 GT n2 ) Results in TRUE if r1 is greater than r2.
( n1 LT n2 ) Results in TRUE if r1 is less than r2.
( n1 GE n2 ) Results in TRUE if r1 is greater than or equal to r2.
( n1 LE n2 ) Results in TRUE if r1 is less than or equal to r2.
Expressions are primarily used to perform conditional evaluations of
numeric values. However, both state values and numeric values can be
used. Expressions begin with a left parenthesis and end with a right
parenthesis. Only two elements (or one element and one constant),
separated by an operator, are permitted per expression. Expressions
cannot be nested. Expression results depend on the type of operation
performed.
Numeric Parameters
Multifunction memory registers can store numeric values as well as
Boolean TRUE/FALSE states. When combined with instructions containing
expressions, IPI can monitor numeric values as a condition. Numeric
values can be used in decimal, binary, octal and hexadecimal formats.
However, the internal format is always binary.
There are two different types of values: byte values and word values.
Binary values range from 0 to 255. Word values range from 0 to 65535.
Binary, octal, hex and decimal values will all be accepted. The default
base is decimal.
To designate another base, insert the base indicator to the right of the
number. (Refer to Table 18-14, Number Base Indicators and
Examples.)
Table 18-14, Number Base Indicators and Examples
Using Comments
The compiler ignores any line of code in an IPI program that starts with an
asterisk (*) or a semicolon ( ; ). This feature allows the programmer to
add documentation to the program or to mark (“comment”) code to be
ignored by the CNC. A comment can be placed on the same line as
program instruction.
Active Instruction Explanatory comment, ignored by compiler.
LD M55 *LOAD MULTI-FUNCTION REGISTER 55.
Blank lines are also allowed and will be ignored.
Done
finflow.vsd
Operand Function
LD Loads new element’s state value into current register. If new element has
numeric value, it is converted to appropriate state value.
Loads any value already in the current register into the previous register.
OUT Takes the value in the current register and writes it to the specified register.
Only multifunction registers can receive numeric values. All other registers
convert value to a state.
LDI Loads an element’s inverse state value to current register.
If current register had an initial value, it is moved to previous register.
If element has numeric value, it is converted to appropriate state value.
MOV Combines functions of read and output into one operator.
Current and previous registers are not used.
Numeric values are moved intact if registers are compatible. Value/state
conversions occur otherwise.
RD Loads element value into current register.
Copies any value already in the current register into the previous register.
If element value is numeric, it is loaded without conversion to a state.
If element value is a state value, it is loaded as a state value.
RD can be used to access a numeric value after a mathematical operation or to
load the count value of a timer.
AND Performs a Boolean logic AND function with value in current register and new
element.
Result remains in current register. Previous register is unaffected.
ANI Performs a Boolean logic AND function with value in current register and the
inverse value of the new element.
Result remains in current register, previous register is unaffected.
OR Performs Boolean logic OR function using new element and state value in
current register.
Result remains in current register, previous register is unaffected.
ORI Performs a Boolean logic OR function with value in current register and the
inverse value of the new element.
Result remains in current register, previous register is unaffected.
INV Inverts specified element.
Inverts current register when no element is specified.
If the value to be inverted is a numeric value, it is converted to a state value,
then inverted.
ANB Performs Boolean AND function with value in previous register, value in current
register and new element value.
ORB Performs Boolean OR function with value in previous register, value in current
register and new element’s value.
SET If current register holds a TRUE value, TRUE is copied in new element’s register.
If current register holds a FALSE value, no activity occurs.
This instruction serves to latch the new element to a TRUE value for subsequent
cycles.
A subsequent MOV statement or a RES instruction can be used to unlatch the
register.
RES This instruction resets the new element to a FALSE value for subsequent cycles.
If current register holds a TRUE value, FALSE is copied in new element’s register.
If current register holds a FALSE value, no activity occurs.
A subsequent MOV statement or a SET instruction can be used to re-latch the
register.
CTL/CTR Used in pairs.
CTL - ANDs specified element with all subsequent instructions until deactivated.
CTR - deactivates any active CTL instructions.
DEC For every cycle in which the current register value is true, the numeric value of
the new element decreases.
Numbers cannot decrease to less than zero.
INC For every cycle that the current register value is true, the numeric value of the
new element increases.
RST Restart instruction. Restarts countdown timer if current register‘s state value is
TRUE and designated timer is currently in a delay countdown state.
NOP No operation is performed.
OKBD Output Keyboard instruction. Used to output key codes to the CNC. The CNC
interprets these key codes as if the user had pressed the corresponding key.
Only one key code can be passed per IPI scan.
For a key code to be interpreted by the CNC, it must be different from scan to
scan.
OTI Output until Input. Specified output is pulsed for a maximum of 10 seconds or
until the corresponding input is energized. The output can be a Y value or
output label.
(Continued)
LD (Continued)
LD Example #3 X0 is ANDed with X1 and resulting state is loaded in current
Expression used as element. register. Current register’s previous value is copied to previous
register.
LD ( X0 AND X1 )
Examples Explanation
OUT Example #1 Value in current register is sent to Y10 register. Value in Y10
One element. register must be a TRUE/FALSE state.
OUT Y10
OUT Example #2 Value in current register is sent to M70 register. Value sent to
One element. M70 register can be a state or number.
OUT M70
LDI Example #2 X0 is ANDed with X1, the inverse is determined and stored in
Expression used as element. the current register. Current register’s previous value is copied
to previous register.
LDI ( X0 AND X1 )
Examples Explanation
MOV Example #1 State value of input register X2 is read and copied into output
Two elements. register Y7. Current register and previous register are not
involved.
MOV X2 Y7
X2
Y7
MOV Example #2 Numeric value of 500 is loaded into multifunction register M50.
Constant and element. Current register and previous register are not involved.
MOV 500 M50
MOV Example #3 State values in X2 register and X5 register are ANDed within
Expression and element. the expression. The resulting state is loaded into the Y10
output register. Current register and previous register are not
MOV ( X2 AND X5 ) Y10
involved.
(Continued)
AND (Continued)
Examples Explanation
AND Example #1
One parameter instructions.
AND X15 Input state of X15 register is ANDed with the state value in the
current register, result is kept in current register.
OUT M55
Value in current register is sent to register M55.
(Continued)
AND (Continued)
Examples Explanation
AND Example #2
Two parameter instructions.
LD ( X10 OR Y10 ) State values of X10 and Y10 registers are ORed and loaded
into current register. Current register’s previous value is
copied into previous register.
OUT M55
State value in current register is copied into M55 register.
(Continued)
ANI (Continued)
Examples Explanation
ANI Example #1
ANI X15
Inverse state of X15 register is ANDed with the state value in
the current register. Result is kept in current register.
OUT M55
Value in current register is sent to register M55.
(Continued)
ANI (Continued)
Examples Explanation
ANI Example #2
LD ( X2 OR Y10 ) State values in X2 and Y10 registers are ORed, resulting state
is loaded into current register. Current register’s previous
value is copied into previous register.
OUT Y10
State value in current register is copied to Y10 output register.
(Continued)
OR (Continued)
Examples Explanation
OR Example #1
OR X15 Input state of X15 register is ORed with the state value in the
current register. Result is kept in current register.
OUT M55
Value in current register is sent to register M55.
(Continued)
OR (Continued)
Examples Explanation
OR Example #2
LD ( X10 AND M100 ) State value in X10 register and state value equivalent in M100
register are ANDed, result is loaded into current register.
Current registers previous value is copied into previous
register.
OUT M55
Value in current register is copied to M55 register.
(Continued)
ORI (Continued)
Examples Explanation
ORI Example #1
ORI X15
X15 status register is inverted and ORed with the state value in
the current register. Result is kept in current register.
OUT M55
Value in current register is sent to register M55.
(Continued)
ORI (Continued)
Examples Explanation
ORI Example #2
LD ( X15 AND M95 ) State value in X15 register and equivalent state value in M95
register are ANDed. Result is loaded into current register.
Current register’s previous value is copied into previous
register.
ORI T25 Timer T25’s state value is inverted and ORed with value in
current register. Final result is kept in current register.
OUT M70
Value in current register is copied to M70 register.
Examples Explanation
INV Example #1
INV Y4
INV (Continued)
Examples Explanation
INV Example #2
OR M55
INV
OUT Y4
Inverts result and sends to Y4 register.
(Continued)
ANB (Continued)
Examples Explanation
ANB Example #1 X10 M100 M70
M55
T20 X15
X12 M125
(Continued)
ANB (Continued)
Examples Explanation
ANB Example #1 Value in current register is copied to previous register.
LD ( M100 OR X15 ) Resulting value of new expression is loaded into current
register.
ANB M70
Value in previous register, current register and new element
are ANDed together to produce result that remains in current
register.
(Continued)
(Continued)
ORB (Continued)
Examples Explanation
ORB Example #1 X10 M100 X5
M55
X12 M50 X7
T20 X15
LD ( X10 AND M100 ) Copies value in current register to previous register, evaluates
new expression and loads resulting value into current register.
(Continued)
ORB (Continued)
Examples Explanation
ORB Example #2 Value in Current register is copied to previous register, new
LD (X12 AND M50 ) expression is evaluated and result remains in current register.
NOTE: The value shown in the previous register is the result
of ORB Example #1.
AND X7
(Continued)
Examples Explanation
SET Syntax Valid Elements
This instruction latches the SET [element] Y registers
new element to a TRUE value M registers
for subsequent cycles.
If current register holds a TRUE
value, a TRUE state value is
copied into the new element’s
register.
If current register holds a
FALSE value, no activity
occurs.
A subsequent MOV statement
or a RES instruction can be
used to unlatch the register.
Truth Table Ladder Equivalent Logic Symbol
Examples Explanation
SET Example #1
SET Y10
Sets value in Y10 register to true if X2 was true. No action
taken if X2 was false.
Examples Explanation
RES Example #1
RES Y10
(Continued)
CTL/CTR (Continued)
Examples Explanation
CTL/CTR Example #1
(Continued)
CTL M95 New expression result is ANDed with value in M95 register.
Result is copied directly to Y2 register.
CTR
DEC M80
INC M80 If current register’s value went from false to true during this
cycle, the M80 register value is increased by 1.
Timers
Timed events count through as many program cycles as are required in
the course of their operation. This is one reason short IPI cycles are
efficient. The shorter the cycle, the closer timers can operate to real time.
Timers employ two registers: a state register that contains the
TRUE/FALSE value used by the program and a counting register to count
down time. The countdown register’s real time numeric value in a cycle
can be accessed using an RD instruction. The timer’s state value is
normally used to generate an output.
Use the following instructions to generate an output with a timer.
OUT instruction This instruction appears first in the program and
always uses the OUT operation code. It assigns the
timer identifier number, defines the current register’s
state value (at the point it appears in the program as
the source or triggering event), and specifies the
timer configuration and countdown period.
MOV instruction Subsequent references to a timer register will move
the real time state value of the timer register to
some other register, where it is used as a condition
or to produce an output.
MOV T10 Y10 Copies the value in the T10 register to the Y10 register every
cycle.
Delayed Off If the current register’s value changes from TRUE to FALSE
OUT TOFF10 0.1 during the current cycle, the T10 timer begins a 100 msec
countdown. In 100 msec, the T10 register will load and
maintain a FALSE value. If, in a future cycle, the current state
register turns from FALSE to TRUE at the same point in the
program, the T10 register will load and maintain a TRUE value
with no delay.
MOV T10 Y10 Copies the value in the T10 register to the Y10 register every
cycle.
Delayed On/Off If the current register’s value changes from FALSE to TRUE
OUT T10 0.1 during the current cycle, the T10 timer begins a 100 msec
countdown. In 100 msec, the T10 register will switch its state
value. If, in a future cycle, the current state register turns from
TRUE to FALSE at the same point in the program, it has no
effect on the state in the T10 register.
MOV T10 Y10 Copies the value in the T10 register to the Y10 register every
cycle.
IF/ELS/EDF Instructions
Refer to Table 18-18, Conditional Execution Instructions for the
available conditional statement commands. Conditional statements allow
the programmer to vary the instructions, based on the value of a given
register or expression.
Each complete set of conditional instructions must be numbered. This
block number is used by both the compiler and the IPI interpreter to
separate nested IFs. IF block numbers may be reused at different points
in the program, but should be unique regarding currently active IF levels.
The block number follows the “IF” command, as follows:
Format 1: IF [block number]
An IF statement may include an optional new expression or element. If
the IF statement includes a new expression or element, the conditional
statement is based on its value. Otherwise, the value in the default
register is used. The currently active register is the default.
Format 2: IF [block number] [optional element or expression]
Refer to Format 2. When the CNC executes an IF statement, it
evaluates the value in the current register of the new element or
expression. If the value is TRUE, the IPI interpreter will execute the
subsequent instructions until it encounters a matching ELS or EDF. If the
new element or expression is FALSE, the interpreter skips to the matching
ELS or EDF instruction.
When a matching ELS is encountered, if the new element/expression or
current register is false, the instructions following the ELS are processed.
A matching EDF instruction terminates the process and sequential
program execution resumes.
IF/ELS/EDF sets can be nested. A nested IF/EDF set may be placed
within a parent CJP/EJP or IF/EDF set. The nested set must be closed
before the parent set is closed. The programmer can nest conditional
statement sets up to ten levels deep.
Examples Explanation
IF 25 If value in current register* is TRUE, first instruction set is
First Instruction Set executed and the second instruction set is ignored.
ELS 25 If value in current register is FALSE, first instruction set is
ignored and second instruction set is executed. EDF
Second Instruction Set
terminates instruction set.
EDF 25
IF 80 X5 If value in X5 register is TRUE, first instruction set is executed
First Instruction Set and the second instruction set is ignored.
ELS 80 If value in X5 register is FALSE, first instruction set is ignored
and second instruction set is executed. EDF terminates
Second Instruction Set
instruction set.
EDF 80
IF 60 ( M50 NE 25 ) If result of expression (M50 NE 25) is TRUE, first instruction set
First Instruction Set is executed and the second instruction set is ignored.
ELS 60 If result of expression (M50 NE 25) is FALSE, first instruction
set is ignored and second instruction set is executed. EDF
Second Instruction Set
terminates instruction set.
EDF 60
*NOTE: When no element is provided in the IF statement block, the CNC uses the default
register, which is the currently active register.
Conditional Jumps
The conditional jump (CLP) instruction acts like an IF/ELS/EDF statement
with no instructions given between IF and ELS.
Format 1: CLP [block number]
A CLP statement may include an optional new expression or element. If
the CLP statement includes a new expression or element, the conditional
statement is based on its value. Otherwise, the value in the default
register is used. The current register is the default.
Format 2: IF [block number] [optional element or expression]
When the CNC executes a conditional jump, the value in the current
register or the new element/expression is evaluated. If the value is
FALSE, the IPI interpreter will execute the subsequent instructions. If the
value is TRUE, the program jumps to the end jump (EJP) instruction.
In all cases, the EJP instruction concludes the instruction set and
sequential program execution resumes.
CLP/EJP sets can be nested. A nested CLP/EJP set may be placed
within a parent CJP/EJP or IF/EDF set. The nested set must be closed
before the parent set is closed. The programmer can nest conditional
statement sets up to ten levels deep.
CLP/EJP Syntax Valid Elements
CLP - Begins conditional CLP [block number] [element] Elements:
statement. Executes - or - Y registers
subsequent instructions if new CLP [block number] M registers
element, new expression or T registers
current register value is FALSE. S registers
Jumps to EJP instruction if X registers
TRUE. Block Numbers:
EJP - Ends conditional jump EJP [block number] Any integer, all numbers
instruction set. must match.
Examples Explanation
CLP 20 If value in current register* is TRUE. conditional instructions are
Conditional Instructions ignored. CNC jumps to EJP. If value in current register is
FALSE, conditional instructions are executed. EJP terminates
EJP 20
instruction set.
CLP 35 X5 If value in X5 register is TRUE, conditional instructions are
Conditional Instructions ignored. CNC jumps to EJP. If value in X5 register is FALSE,
conditional instructions are executed. EJP terminates
EJP 35
instruction set.
CLP 55 ( M50 NE 25 ) If resulting value of expression (M50 NE 25) is TRUE,
Conditional Instructions conditional instructions are ignored. CNC jumps to EJP. If
value of expression is FALSE, conditional instructions are
EJP 55
executed. EJP terminates instruction set.
*NOTE: When no element is provided in the CLP statement block, the CNC uses the default
register, which is the currently active register.
Compiler Directives
A compiler directive is an instruction to the compiler that is not compiled
as part of the IPI program. A compiler directive produces no binary code
for the IPI interpreter. Directives are indicated by a pound sign (#) as the
first character of the line, followed by the required directive.
DEFINE
Format: #DEFINE [label name] [label meaning]
The #DEFINE directive is used to define a label. To define a label, use
the DEFINE directive, name the label and specify the meaning of the
label, in that order. (For example: #DEFINE XP_LIMIT X8.)
The label in this example defines the label “XP_LIMIT” and ties the label
to the X8 input register. XP_LIMIT is the X axis positive vector limit.
Once the label is defined, any time the compiler encounters the program
string XP_LIMIT, it will replace the text with X8.
In future references, the X positive vector limit switch can be referenced
as XP_LIMIT or X8.
LIST
Format: #LIST
The LIST directive will instruct the compiler to generate a file listing
output. When the compiler encounters this directive for the first time, and
the list mode is not on, the compiler re-compiles with List Mode activated.
It is recommended that the programmer place the LIST directive close to
the beginning of the source file. The result is program name first.
MAXSIZE
Format: #MAXSIZE [nnnn]
Instructs the compiler to generate an error if the actual number of bytes
generated by the instructions exceeds that of the number specified in the
MAXSIZE directive. This is to assist the programmer when program
space is limited. Maxsize refers to the total number of bytes generated by
the IPI instructions.
MAXSTEPS
Format: #MAXSTEPS [nnnn]
The MAXSTEPS directive instructs the compiler to generate an error if
the actual number of compiled instructions exceeds that of the number
specified in the MAXSTEPS directive. This is supplied in order to assist
the programmer in time-critical applications.
RANGE
Format: #RANGE [Element] [starting value] [ending value]
Defines a numeric range for a specified element. This is supplied in order
to reduce errors due to hardware limitations.
For example: The I/O Board has sixteen inputs. The programmer wants
to avoid calling an input higher than fifteen. The corresponding range
directive would be:
#RANGE X 0 15, where
X is the element (input)
0 is the range minimum
15 is the range maximum
The CNC would flag any X numbers outside the defined range.
SYNTAX
Format: #SYNTAX
Instructs the compiler not to produce an output file, but to check syntax
only. If the syntax directive is used, it must appear before the first
statement that produces output.
Programming Tips
Using Labels
Use labels to identify specific inputs, outputs and internal elements. You
can also use labels to rename instructions, specify delay times and other
constants and specify expressions. Labels cannot be used to rename a
compiler directive.
Always define the label first. The #DEFINE compiler directive provides
the best method by which to define the label. A table of pre-defined
labels exists. You cannot redefine these labels. Always rename an IPI
instruction when you use a label. If an IPI instruction is used as a label,
that instruction will no longer operate.
Labels can be used to define other labels. For example, if the
programmer defines DELAY as 0.1 and TIMER as TON5, the label
DELAYTIMER can be defined as TIMER DELAY. The compiler will
translate the two labels, and then define DELAYTIMER as TON5 0.1.
NOTE: Embedded spaces are not allowed in the label itself, but are
allowed in the label translation.
Block Function
IF 2 IF block beginning conditional statement.
|
CTL M20 When the IF block executes, control M20 is executed,
but there is no control return inside the IF block. After
the IF block executes, the control M20 will still be in
effect. If the condition for the IF block is FALSE, the
control M20 will not be executed, and therefore will
never take effect.
|
EDF EDF closing conditional statement.
ANILAM recommends that the conditional blocks be self-contained blocks
of code. All controls should have control returns inside the IF block.
SET FINISH
*THESE MULTIFUNCTION REGISTERS ARE VISABLE IN THE DEFAULT IPI MONITOR N37
*DISPLAY. USE THESE REGISTERS TO SET I/O BOARD OUTPUTS AS REQUIRED.
END
10-Feb-98 Index - 1
Hardware and Interface Manual
P/N 70000322 - Index
Index - 2 10-Feb-98
Hardware and Interface Manual
P/N 70000322 - Index
10-Feb-98 Index - 3
Hardware and Interface Manual
P/N 70000322 - Index
Index - 4 10-Feb-98
Hardware and Interface Manual
P/N 70000322 - Index
Load user macro file, 13-60, 15-65 Memory reserved, 13-69, 15-73
loading an IPI program, 18-20 Menu Options, selecting, 13-3, 15-3
lost motion, 13-76, 15-80 Metric display resolution, 13-59, 15-64
LSB, defined, 17-4, 17-6, 17-10, 17-17, 17-20, M-function
17-31, 17-38, 17-47, 17-54, 17-56, 17-59 setup, 13-37, 15-37
LT 1002, 6-1, 6-9 M-functions, 13-35, 15-35
microcomputer status indicators, 2-14
M Mill, 15-52
MILLTOOL.C4, 15-42
M Codes, 17-4, 17-17, 17-31, 17-43, 17-54
Minimum lag for speed break, 13-26, 15-27
M functions, 2-11
Miscellaneous Setup Utilities, 13-45, 15-48
M105, 15-49
MITSU. F/A, 13-34, 15-34
M106, 15-49
Mitsubishi Programmable Controller, 17-29
M107, 15-49
monitor connection, 1-13
M19, 15-46
Most Significant Bit, defined, 17-4, 17-6, 17-10,
M2, 13-40, 15-41
17-17, 17-20, 17-31, 17-38, 17-47, 17-54, 17-
M3, 13-40, 15-41
56, 17-59
M4, 13-40, 15-41
Motion Board connection, 1-14
M41, 13-28, 15-29
Motion Control Board. See MCB
M42, 13-28, 15-29
Motion Junction Board connection, 1-14
M43, 13-28, 15-29
Motion Setup/Testing, 13-78, 15-82
M44, 13-28, 15-29
MOV, 18-29, 18-34, 18-65
M5, 13-40, 15-41
M-registers, 18-7
M8, 13-40, 15-41
MREGRAN M42, 18-10
M9, 13-40, 15-41
MSB, defined, 17-4, 17-6, 17-10, 17-17, 17-20,
M9246, 13-25, 15-25
17-31, 17-38, 17-47, 17-54, 17-56, 17-59
Machine Axis, 13-6, 15-6
MST, 13-78, 15-82
Machine Home, 13-51, 15-54
canceling, 13-82, 15-86
Machine Type, 13-48, 15-52
exiting, 13-88, 15-92
MANUAL, 13-80, 15-84
softkeys, 13-80, 15-84
manual panel
MST screen, 13-79, 15-83
switches, 13-2
multifunction registers, 18-7
Manual Panel buttons, 13-3
multiple board design, 2-1
Manual Panel Connection, 2-13
multiple gear range spindle, 13-28
Manual panel port
Multiplication spindle factor, 13-30, 15-30
lathe, 13-45, 15-48
Manual Tool Change Operation, 13-42, 15-43
N
Manual Tool Change Para., 15-43
Max, 15-61 National Electrical Code, 1-1
Max idle time (ms), 13-74, 15-78 negative software limits, 15-12
Max lag error, 13-74, 15-78 Negative Software Limits, 13-11
Max programmed feedrate, 13-45 No Motion Gain Table, 13-22, 13-72, 15-23, 15-
Max programmed rotary feedrate, 13-46, 15-49 76
Maximum arc correction, 13-59, 15-64 noise control, 1-2
Maximum lag error, 13-26, 15-27 NOP, 18-30, 18-63
Maximum Programmable Feedrate, 15-48 Number of bins in tool changer, 15-45
MBENG.TXT, 13-54, 15-57 Number of digits in T word, 15-45
MCB Number of digits in T-word, 15-43, 15-46
component parts, 6-1 Number of digits in T-Word, 13-42, 13-44
Index pulse polarity, 6-5 Number of Lines (Spindle Encoder), 13-29, 15-
input circuit, 6-8 30
jumper settings, 6-4 Number of Tools to display in table, 13-44, 15-
Motion Junction Board connection, 6-7 45
MDI, 13-80, 13-82, 15-84, 15-86 numeric parameters, 18-25
Measurement Mode, 13-6, 15-6 Numeric registers, 18-6
memory registers, 18-6
10-Feb-98 Index - 5
Hardware and Interface Manual
P/N 70000322 - Index
Index - 6 10-Feb-98
Hardware and Interface Manual
P/N 70000322 - Index
10-Feb-98 Index - 7
Hardware and Interface Manual
P/N 70000322 - Index
Index - 8 10-Feb-98
ANILAM Inc.
3300 Corporate Way
Miramar, FL
USA 33025
(954) 430-6600
(954) 450-6700
sales@anilam.com
ANILAM Ltd.
16 Plover Close, Interchange Park
Newport Pagnell
Bucks, MK16 9PS
England
(0) 1908 514500
(0) 1908 610 111
sales@anilam.co.uk
ANILAM Inc.
(Regional office) Petalling Jaya Ind. Park
A1 - A14, 1st/FL., Jalan Klemajuan
46200 Petalling Jaya, Malaysia
(603) 757 7619
(603) 757 4659
anilam@po.jaring.my
ANILAM GMBH
Kehisteinstrasse 2
D-84529 Tittmoning
(08683) 8985-21
(08683) 7347
P/N 70000322
10-Feb-98