The MP940 is a 1.5 axis machine controller which connects to an SGDH servo
amplifier via dual-port RAM.
This combination makes a fully integrated one-and-a-half-axis machine controller. It
can be used to perform point-to-point positioning, or following of external devices. It
has on-board digital and analog I/O, and network connections to link to other factory
automation equipment.
Note: Refer to the SGDH User’s Manual for SGDH information.
1. Insert the lower two mounting notches into the mounting holes at the bottom of
the right side of the SGDH.
Servo Amplifier Connector
SERVOPACKYASKAWA
SGDH-
Connector (connected to servo amplifier)
2.
M
P
9
4
0
6
5
4
3
2
1
¨
N
O
1.
Figure 2.2: Mounting the MP940 to an SGDH Servo Amplifier
2. Push the MP940 in the direction indicated by the arrows in the figure above,
and insert the upper mounting notches of the MP940 into the upper mounting
holes on the right side of the SGDH.
Apply power to the SGDH and MP940 at the same time. If the SGDH is not powered
within 10 seconds after turning power ON to the MP940 (or vice versa), the units will
not communicate with each other. Note: For maximum noise immunity, connect the
FG to a ground terminal on the sub-panel, or to the ground terminal on the SGDH.
Apply power to the SGDH and MP940 simultaneously. If the SGDH is not powered
within 10 seconds after turning power ON to the MP940 (or vice versa), the units will
not communicate with each other. Note: For maximum noise immunity, connect the
FG to a ground terminal on the sub-panel, or to the ground terminal on the SGDH.
Programs created by the user are normally stored in RAM. The CPU executes
programs stored in RAM. The programs stored in RAM can also be saved to the
flash memory. Running programs after copying them from flash to RAM at
power ON is called flash operation.
Flash memory saves programs even if there is no memory backup battery.
Flash Start Mode
Transfer from flash memory to RAM occurs when DIP switch 3 is ON (flipped
to the right) and the power is turned ON.
Note: MotionSuite™ software tools have a setting which copies the application
program to flash when downloading. Refer to the software manual for details.
The flash start mode does not work unless an application program has been
saved to flash.
Figure 3.3: Transfer from Flash Memory to RAM
Retaining Variable Data
The lithium battery makes it possible to save variable data in RAM even when the
power is OFF. This is useful when saving data that changes during operation, such as
a parts counter, or specific information about a job run. Programming must be written
so that specific variables that must be retained are not initialized every time the power
is turned ON.
Copying Servo Amplifier Pn Data from MP940 to SGDH
It is possible to load parameter data that was downloaded to the controller via
MotionWorks or MotionWorks+ by turning off all DIP switches except the copy
switch. The parameter transfer will occur at power up. The display panel on the SGDH
will go off during the parameter transfer. Return the DIP switches to standard
operation and cycle power after the operation is complete.
18
Page 22
MotionSuite™ MP940 Machine Controller Hardware ManualSection 4: LED Indicators
Section 4: LED Indicators
LED Display
The MP940 runs a series of tests during start-up. If an error is detected, the ERR LED
flashes, and the content of the error corresponds to the number of flashes.
MotionSuite™ software tools cannot communicate with the controller while an error
LED is flashing or memory initialization is occurring. The MP940 LEDs are shown in
the following table.
LED Display Patterns
LED
Type
NormalONOFFOFFOFFApplication program stopped
ErrorOFFOFFONOFFMemory error (initialization may be required)
Warning———ONBattery alarm
OtherFlashingFlashingOFFOFFMemory initialization by DIP switch setting complete.
The figure below illustrates connection of a PC and an operator interface to the
MP940.
MP940
TX
BAT
R
X
RDY
RUN
ALM
1
BAT
PRT1
M
PRT2
E
C
RUN
654321
H
INIT
A
TEST
T
FLASH
R
2
O
PP
L
COPY
NO
I
¨
N
K
PORT1
I/O
RS-232C
RS-422
Display
PORT2
POWER
+24V
LED
GND
FG
Panel
Figure 5.2: Serial System Configuration
The figure below illustrates connection of a MotionSuite™ programming tool to the
RS-232C port and branched connection of peripheral devices from the RS-485 port.
MP940
TX
BAT
R
X
RDY
RUN
ALM
1
BAT
PRT1
M
PRT2
E
C
RUN
654321
H
INIT
A
TEST
T
FLASH
R
2
O
PP
L
COPY
NO
→
I
N
K
PORT1
I/O
PORT2
RS-232C
Notebook PC
POWER
+24V
LED
GND
FG
RS-485
External
Device
External
Device
External
Device
External
Device
Figure 5.3: Branched Connection of Peripheral Devices
2TX-- side of transmission data9TX-- side of transmission data
3RX++ side of received data10RX++ side of received data
4RX-- side of received data11TXRTransmission data
termination resistor
5——12——
6RX-- side of received data13VCCPower +5V
7RXRReceived data termination
14GNDGround
resistor
Termination Resistor
Terminal Resistor
(
RXR
RXR
)
RX(+
RX+
RX(-
RX-
TXR(+
TXR
TX+
TX(+
TX-
TX(-
+
)
)
)
)
)
Figure 5.4: Internal Termination Resistors
The MP940 has two internal terminating resistors that are connected to the positive
side of the signal. To terminate the signals, connect RXR and RX- together, as well as
TXR and TX- signals.
1. Make sure that the drive system, control system, power system, and other
transmission systems are separate from each other (i.e., do not run the
power wire with the control wire).
2. The RS422/485 cable length is 300m maximum. Use the minimum length
necessary.
3. The MP940 module RS422/485 interface is a non-isolated system. Errors
may occur from noise in the connected terminal. If noise occurs, use a
shield-type cable and modem to reduce the noise.
4. In the case of RS422, insert a terminating resistor as needed. Make the
termination on the receiving side.
5. In the case of RS-485, attach a terminating resistor to both ends of the
transmission line.
The Mechatrolink network option is included with MP940 part number
JEPMC-MC400. Mechatrolink is a high-speed Yaskawa field network. This network
allows for a master / slave configuration. The MP940 can be used as a master or a
slave.
MP940 Master
There can be 14 slave nodes when the MP940 is used as a master. The following is an
example of a network-compatible I/O module connected as node 1 to an MP940.
The following figure shows the connection of the MP940 module to an I/O350 unit.
Use the standard cable (JEPMC-W6000-A3) when connecting an MP940 module to
an I/O350, or when connecting one I/O350 to another I/O350.
MP940
TX
BAT
R
X
RDY
RUN
ALM
1
BAT
PRT1
M
PRT2
E
C
RUN
654321
H
INIT
A
TEST
T
R
FLASH
2
O
PP
L
COPY
¨
I
NO
N
K
PORT1
I/O
PORT2
POWER
+24V
LED
GND
FG
USB Terminator JEPMC-W6020
JEPMC-W6000-A3
I/O350
I/O350
Figure 5.7: MP940 Connection to Multiple I/O 350 Modules
Insert the USB terminator (JEPMC-W6020) into the terminal connector ((1) or (2) in
the figure below). The mechatrolink connectors 1 and 2 are the same; the terminator
may be inserted into either one.
Insert a USB terminator (JEPMC-W6020) into unused ports.
(NC)
1
MECHATROLINK
2
NC
SRD-
SRD-
SRD+
SRD+
SH
SH
(NC)
NC
SRD-
SRD-
SRD+
SRD+
SH
SH
Figure 5.8: Terminal Connectors
There is only one channel per Mechatrolink port in the MP940 module. As shown in
the figure above, the top and bottom of the connector are the same although there are
two receptacles.
There are two rotary switches on the side of the MP940D. Rotate the switches to the
appropriate node address. Every device on the network must have a unique address.
For example, to set the unit to address 46, set the left dial to “4” and the right dial to
“6” as shown below. Note: The maximum number of device nodes is 63.
0
9
8
7
1
8
2
7
3
0
9
46
5
5
×10×1
Figure 5.9: Rotary Switches
Setting the Baud Rate
There are four DIP switches on the side of the unit.
There are two status LEDs above the network connector. Their display is either green or
red, depending on the current status. The left LED is MS (Module Status), and the right
LED is NS (Network Status).
flashing greenflashing greenNo network power (24V)Check the connection state of
the rack and system bus cable
connectors.
solid greenflashing redNo response received from
DeviceNet master
solid redOFFHardware defectReplace module.
solid redsolid redHardware defectReplace module.
Check the connection state of
the rack and system bus cable
connectors.
Check the baud rate setting of
each device.
Check the resistance and
mounting of the termination
resistor (121 ohms).
Check the operation of the
DeviceNet master.
Setup Requirements on the Network Master
StrobedNo
Polled I/OYes
ExplicitNo
Input Size256 bytes (maximum)
Output Size256 bytes (maximum)
Input/output size can be less, but the settings must agree on both master and slave
setup configuration.
When the LED detects an error during DeviceNet communications, it reports the error
via the indicators. The following table gives probable causes and possible solutions.
Master
Troubleshooting the Master
IndicatorsProblemProbable CausePossible Solution
MS not lit
NS not lit
MS red lit
NS not lit
MS red lit
NS red lit
MS green lit
NS red lit
MS green lit
NS not lit
No DeviceNet
communications
No power to the
MP940D
Hardware
malfunction
Hardware
malfunction
Duplicate MAC ID(1) Change the MAC ID address for the MP940D and
Bus-OFF(1) Check the wiring and connections for DeviceNet
Network power
supply error
Check the network power supply to the MP940D.
Replace MP940D.
Replace MP940D.
cycle the power.
(2) Change the MAC ID addresses for other DeviceNet
devices and cycle the power to the MP940D.
cables and connectors.
(2) Check the power supply voltage and connection for
communications power.
(3) Check the network power supply voltage on the
connector of each slave (11 to 24 V).
(4) Check the baud rate for each DeviceNet device in the
network.
(5) Check the terminator (121Ω) and connection status.
Check the length of the network.
Replace the MP940D. Then, either cycle the power for the
MP940D or disconnect and reinsert the DeviceNet
connectors.
(1) Check the wiring and connections for DeviceNet
cables and connectors.
(2) Check the power supply voltage and connection for
communications power.
(3) Check the network power supply voltage on the
connector of each slave (11 to 24V).
Communications
are occurring but
the maximum
communications
cycle time
exceeds the
setting
Communications
are occurring but
the receive data
refresh is
delayed
DeviceNet
network error
Connection not
established with
DeviceNet
device
DeviceNet I/O
sizes different to
setting
No response
from DeviceNet
slave
DeviceNet
device is idle
Excessive traffic
on DeviceNet.
The
communications
cycle time
setting is too
low for the I/O
command send
time.
Excessive traffic
on DeviceNet.
The
communications
cycle time
setting is too
low for the I/O
response receive
time. The
processing load
for data
exchange with
the slaves is too
large.
(1) Check the wiring and connections for DeviceNet
cables and connectors.
(2) Check the baud rate for each DeviceNet device in the
network.
(3) Check the terminator (121Ω) and connection status.
(4) Check the operation status of DeviceNet devices on the
network.
(5) Replace the MP940D.
Set the I/O allocations.
(1) Change the I/O sizes for the I/O allocation.
(2) Change the I/O sizes for the DeviceNet device.
(1) Check the wiring and connections for DeviceNet
cables and connectors.
(2) Check the baud rate for each DeviceNet device in the
network.
(3) Check the operation status of DeviceNet devices on the
network.
Remove the cause of the idle status of the DeviceNet
device.
Increase communications cycle time.
(1) Increases communications cycle time for the
DeviceNet slaves.
(2) Increase the baud rate.
(3) Increase the setting of the CPU scan time for the I/O
allocation SYNC setting.
Bus-OFF(1) Check the wiring and connections for DeviceNet
Communications power
supply error
DeviceNet
network error
Connection not
established
with
DeviceNet
device
Check the network power supply to the MP940D.
Replace the MP940D.
Replace the MP940D.
(1) Change the MAC ID address for the MP940D and
cycle the power
(2) Change the MAC ID addresses for other DeviceNet
devices and cycle the power to the MP940D.
cables and connectors.
(2) Check the power supply voltage and connections for
communications power.
(3) Check for network power supply voltage on the
DeviceNet connector of the MP940D (11 to 24V).
(4) Check the baud rate for each DeviceNet device on the
network.
(5) Check the terminator (121Ω) and connection status.
(6) Check the length of the network.
(7) Replace the MP940D. Then, either cycle the power
for the MP940D or disconnect and reinsert the DeviceNet
connectors.
(1) Check the wiring and connections for DeviceNet
cables and connectors.
(2) Check the power supply voltage and connections for
network power.
(3) Check the communications power supply voltage on
the DeviceNet connector of the MP940D (11 to 24V).
(4) Check the terminator (121Ω) and connection status.
(1) Check the wiring and connections for DeviceNet
cables and connectors.
(2) Check the baud rate for each device.
(3) Check the terminator (121Ω) and connection status.
(4) Check the operation status of the DeviceNet master.
(5) Replace the MP940D.
(1) Check the DeviceNet master scan list settings.
(2) Check the wiring and connections for DeviceNet
cables and connectors.
(3) Check the baud rate for each device.
(4) Check the operation status of the DeviceNet master.
The MAC ID
rotary switch
setting is
different than
the MAC ID
software
setting
The MAC ID
rotary switch
setting is
different than
the MAC ID
software
setting
(1) Check the wiring and connections for DeviceNet
cables and connectors.
(2) Check the baud rate for each device.
(3) Check the terminator (121Ω) and connection status.
(4) Check the operation status of the DeviceNet master.
(5) Check the voltage and connection for network power
supply.
(6) Check the communications power supply voltage on
the DeviceNet connector of the MP940D (11 to 24V).
(1) Change the I/O sizes for the I/O allocations.
(2) Change the I/O sizes for the DeviceNet device.
(1) Check the wiring and connections for DeviceNet
cables and connectors.
(2) Check the baud rate for each device.
(3) Check the terminator (121Ω) and connection status.
(4) Check the operation status of the DeviceNet master.
(5) Check the power supply voltage and connection for
network power supply.
(6) Check the communications power supply voltage on
the DeviceNet connector of the MP940D (11 to 24V).
(1) Change the I/O sizes for the I/O allocations.
(2) Change the I/O sizes for the DeviceNet device.
(1) Change the MAC ID software setting.
(2) Change the MAC ID rotary switch setting and cycle
the power.
(1) Change the MAC ID software setting.
(2) Change the MAC ID rotary switch setting and cycle
the power.
Communications are
occurring but
the receive
data is not
being
refreshed
Communications are
occurring but
the receive
data refresh is
delayed
DeviceNet
master is in
idle status
Excessive traffic on
DeviceNet.
The communications cycle
time setting is
too low for the
I/O response
receive time.
The processing load for
data exchange
with the master is too large.
Remove the cause of the idle status of the DeviceNet
master.
(1) Increase communications cycle time for the
DeviceNet master.
(2) Increase the baud rate.
(3) Increase the CPU scan time for the I/O allocation
SYNC setting.
MotionSuite™ MP940 Machine Controller Hardware ManualSection 6: Digital I/O
Section 6: Digital I/O
The MP940 is equipped with eight digital inputs and eight digital outputs. There are
two additional general purpose inputs available from the SGDH via dual port RAM.
MP940
BAT
RDY
RUN
ALM
BAT
PRT1
PRT2
RUN
654321
INIT
TEST
FLASH
PP
COPY
NO
¨
PORT1
TX
RX
1
M
E
C
H
A
T
R
2
O
L
I
N
K
I/O
PORT2
POWER
+24V
GND
FG
LED
Figure 6.1: Digital I/O Connection
39
Page 43
MotionSuite™ MP940 Machine Controller Hardware ManualSection 6: Digital I/O
Digital I/O Specifications
Digital Input Specifications
ItemSpecification
Number of Input Points8
Input FormatSinking or Sourcing
Isolation Optical
Vol ta g e2 4 V DC ± 2 0 %
Current Rating (ON)5.3mA to activate
Input Impedance4.4kΩ
Operation VoltageLogic 0 < 5V
Logic 1> 15V
OFF Current0.9mA or less
Response TimeOFF to ON: < 0.5ms
ON to OFF: <1.5ms
13
38
14
39
15
40
16
41
17
42
MP940 I/O
Connector
Input 1
Input 2
Input 3
Input 4
Input 5
Input 6
Input 7
Input 8
24VDC
External Input Signal
40
Page 44
MotionSuite™ MP940 Machine Controller Hardware ManualSection 6: Digital I/O
Digital Output Specifications
ItemSpecification
Number of Output Points8
Output FormatSinking
Output ClassificationTransistor Output
Isolation Optical
Load Voltage24VDC ±20%
Load Current100mA / Output
ON Voltage1.0V or less
Response TimeOFF to ON < 0.25ms
ON to OFF <0.5ms
External Common Power24VDC ±20% 15mA
Output Protection1 internal fuse common to all outputs
Fuse Rating1.5A (Fusing Time: 5s or less at 3A)
Fuse
20
45
21
46
22
47
23
48
24
49
25
MP940 I/O
Connector
Output 1
Output 2
Output 3
Output 4
Output 5
Output 6
Output 7
Output 8
24VDC
Fuse
L
L
L
L
L
L
L
L
External Output Signal
Fuse Breakage
Detection
Circuit
50
A fuse is included on the common output line of the MP940 module as a protection
circuit. However, there is a risk of the fuse not breaking due to an external short.
Provide an external 100mA fuse on each output for added protection.
41
Page 45
MotionSuite™ MP940 Machine Controller Hardware ManualSection 6: Digital I/O
If your application does not require limit switches, they can be disabled. To disable
the positive overtravel limit (P-OT), set the SGDH parameter Pn50A.digit3 to “8”.
To disable the negative overtravel limit (N-OT), set the SGDH parameter Pn50B.digit
0 to “8”.
Please read section 5.3.3 of the SGDH User’s Manual for further information.
44
Page 48
MotionSuite™ MP940 Machine Controller Hardware ManualSection 8: Analog I/O
Section 8: Analog I/O
Analog Input
The MP940 analog input comes from the SGDH analog input via dual port RAM. The
analog input enters the SGDH on pin 5 of the CN1 connector. Normally, this is the
VREF input, but when the MP940 and SGDH are combined, the VREF becomes
available for general purpose.
CN1 Connector
SGDH
MP940
5
A/D
Dual Port RAM
V
6
-12V ~+12V
Figure 8.1: Analog Input Data
ItemSpecifications
Input Voltage± 12V
Input ImpedanceApproximately 14k
Resolution16 bits over a ±15V range or 457µV/bit
AccuracyThe linearity of the analog input is guaranteed only within the range of ±12.0V
32767
-15V
26213
-26214
-32768
45
12V-12V
15V
Page 49
MotionSuite™ MP940 Machine Controller Hardware ManualSection 8: Analog I/O
Analog Output
ItemContent
D/A Output Resolution16Bit over a +/-10V range, or 328µV/bit
The registration latch for the SGDH is wired into the 1CN connector on the amplifier.
Latch registration with this input is performed from the MP940 through dual port
RAM.
Either the “C” channel or EXT3 can be used for the main encoder latch. If no latch is
required by the application, EXT3 can be used for general purpose.
+24V
P
P
V-REF
SG
BAT+
BAT-
S-ON
DEC
P-OT
N-OT
L1
L2
LC1
LC2
+
+12
21
22
47
40
41
42
43
SGDH
5
6
33k
A/D
Ω
U
V
W
CN2
25
`
26
27
`
28
29
`
30
31
`
32
37
38
39
Motor
M
PG
SO1
SO2
Output signal mapping is
possible using
Pn50E~Pn510 settings.
The battery can preserve the program and data for a period of one year with power off.
The battery has a life expectancy of five years under normal operating conditions.
However, these values change depending on external conditions such as temperature.
Replace the battery within two weeks, when the “BAT” display LED is on. If the
battery is replaced beyond two weeks, programs and data stored in the MP940
memory will be lost.
Battery Replacement
Battery replacement is as follows.
Preparation
1. Save memory contents
Before replacing the battery, save programs and data to a floppy disk or hard
disk. The disk can be used if programs and data are accidentally erased due to
a mistake when replacing the battery.
2. Replacement battery
Use replacement battery type BA000518. This battery is not standard, and
must therefore be purchased from Yaskawa. The replacement battery appears
as in the diagram below.
Prepare the replacement battery as in the drawing below.
MP940
TX
BAT
RX
RDY
RUN
ALM
1
BAT
PRT1
PRT2
RUN
654321
INIT
TEST
FLASH
PP
COPY
L1
L2
N
→
O
PORT1
M
E
C
H
A
T
R
2
O
L
IN
K
I/O
Figure 11.2: BA000518 (Battery with Cable)
Battery Replacement
Replace the battery as follows:
1. Verify the controller power LED is ON. (The controller MUST have power
when the battery is removed.)
2. Remove the connectors at the end of the battery leads from the MP940 module
connector, and remove the battery from the internal battery holder.
3. Firmly insert the connector attached to the leads of the replacement battery into
the MP940 module connector. Then insert the battery into the battery holder.
L1C
L2C
B1
B2
PORT2
POWER
+24V
LED
GND
FG
4. Verify the “BAT” LED is OFF.
Battery replacement is complete.
Always replace the battery with power ON. The programs and data stored in the
MP940 module will be deleted if the battery is replaced with the power supply shut off
from the MP940 module.
Input Format: Sinking or Sourcing
Isolation: Optical
Voltage: 24VDC ±20%
Rated Current: 5.3mA
Input Impedance: 4.4kΩ
Operating Voltage: ON Voltage 15VDC or more, OFF Voltage 5VDC or less
OFF Current: 0.9mA or less
Response Time: OFFÆON 0.25ms or less, ONÆOFF 1ms or less
Output SignalsOutput Points: 8
Output Format: Sinking output
Output Type: Transistor output
Isolation: Optical
Load Voltage: 24VDC±20%
Load Current: 100mA/output
ON Voltage: 1.0V or less
External Common Power Source: 24VDC ±20%, 15mA
Output Protection: 1 common fuse
Fuse Rating: 1.5A (fusing time: 5s or less at 3A)
Response Time: OFFÆON 0.25ms or less, ONÆOFF 1ms or less
2121 Norman Drive South, Waukegan, IL 60085, U.S.A.
Phone: (847) 887-7000 Fax: (847) 887-7310 Internet: http://www.yaskawa.com
MOTOMAN INC.
805 Liberty Lane, West Carrollton, OH 45449, U.S.A.
Phone: (937) 847-6200 Fax: (937) 847-6277 Internet: http://www.motoman.com
YASKAWA ELETRICO DO BRASIL COMERCIO LTDA.
Avenida Fagundes Filho, 620 Bairro Saude Sao Paolo-SP, Brasil CEP: 04304-000
Phone: 55-11-5071-2552 Fax: 55-11-5581-8795 Internet: http://www.yaskawa.com.br
YASKAWA ELECTRIC CORPORATION
New Pier Takeshiba South Tower, 1-16-1, Kaigan, Minatoku, Tokyo, 105-6891, Japan
Phone: 81-3-5402-4511 Fax: 81-3-5402-4580 Internet: http://www.yaskawa.co.jp
YASKAWA ELECTRIC (SHANGHAI) CO., LTD.
4F No. 18 Aona Road, Waigaoqiao Free Trade Zone, Pudong New Area, Shanghai 200131, China
Phone: 86-21-5866-3470 Fax: 86-21-5866-3869
BEIJING OFFICE
Room No. 301 Office Building of Beijing International Club,
21 Jianguomanwai Avenue, Beijing 100020, China
Phone: 86-10-6532-1850 Fax: 86-10-6532-1851
SHANGHAI OFFICE
27 Hui He Road Shanghai 200437 China
Phone: 86-21-6553-6600 Fax: 86-21-6531-4242
SHANGHAI YASKAWA-TONJI M & E CO., LTD.
27 Hui He Road Shanghai 200437 China
Phone: 86-21-6533-2828 Fax: 86-21-6553-6677