TPM STP-M112 User manual

TPM
STP-M112A/B Quick Start
1
Stepper Driver
STP-M112 User Manual
Version: V1.4 2015D25
To properly use the product, read this manual thoroughly is necessary.
Part No.: 81-00STP10-010

TPM
STP-M112A/B Quick Start
2
Revision History
Date Revision Description
2015/02/09
1.0
Document creation.
2015/05/21 1.1 Rotary Switch revision.
2015/07/8 1.2 LED Indicators.
2015/10/30 1.3 Add LED status description.
Add RS1 description.
2015/12/25
1.4
Add Connector information

TPM
STP-M112A/B Quick Start
3
© Copyright 2012 TPM
The product, including the product itself, the accessories, the software, the manual and the software
description in it, without the permission of TPM Inc. (“TPM”), is not allowed to be reproduced, transmitted,
transcribed, stored in a retrieval system, or translated into any language in any form or by any means, except
the documentation kept by the purchaser for backup purposes.
The names of products and corporations appearing in this manual may or may not be registered trademarks,
and may or may not have copyrights of their respective companies. These names should be used only for
identification or explanation, and to the owners’benefit, should not be infringed without any intention.
The product’s name and version number are both printed on the product itself. Released manual visions for
each product design are represented by the digit before and after the period of the manual vision number.
Manual updates are represented by the third digit in the manual vision number.
Trademark
MS-DOS and Windows 95/98/NT/2000/XP, Visual Studio, Visual C++, Visual BASIC are registered
trademarks of Microsoft.
BCB (Borland C++ Builder) is registered trademark of Borland.
Other product names mentioned herein are used for identification purposes only and may be trademarks
and/or registered trademarks of their respective companies.

TPM
STP-M112A/B Quick Start
4
Electrical safely
To prevent electrical shock hazard, disconnect the power cable from the electrical outlet before relocating
the system.
When adding or removing devices to or from the system, ensure that the power cables for the devices are
unplugged before the signal cables are connected. Disconnect all power cables from the existing system
before you add a device.
Before connecting or removing signal cables from motherboard, ensure that all power cables are
unplugged.
Seek professional assistance before using an adapter or extension card. These devices could interrupt the
grounding circuit.
Make sure that your power supply is set to the voltage available in your area.
If the power supply is broken, contact a qualified service technician or your retailer.
Operational safely
Please carefully read all the manuals that came with the package, before installing the new device.
Before use ensure all cables are correctly connected and the power cables are not damaged. If you detect
and damage, contact the dealer immediately.
To avoid short circuits, keep paper clips, screws, and staples away from connectors, slots, sockets and
circuitry.
Avoid dust, humidity, and temperature extremes. Do not place the product in any area where it may
become wet.
If you encounter technical problems with the product, contact a qualified service technician or the dealer.

TPM
STP-M112A/B Quick Start
5
Contents
CONTENTS .................................................................................................................................................................................. 5
1. INTRODUCTION ...................................................................................................................................................................... 6
1.1. PRECAUTIONS .............................................................................................................................................................................. 6
1.1.1. Safety precautions.................................................................................................................................................. 6
1.1.2. Handling precautions ............................................................................................................................................. 6
1.2. FEATURES.................................................................................................................................................................................... 7
1.2.1. Motionnet Communications................................................................................................................................... 7
1.2.2. Motion control ....................................................................................................................................................... 9
1.2.3. Motor driver......................................................................................................................................................... 12
1.3. SPECIFICATIONS.......................................................................................................................................................................... 13
1.3.1. Serial communications......................................................................................................................................... 13
1.3.2. Motion Control .................................................................................................................................................... 14
1.3.3. Motor Driving Operations.................................................................................................................................... 15
1.3.4. Others................................................................................................................................................................... 16
2. HARDWARE SPECIFICATIONS ................................................................................................................................................ 17
2.1. MECHANICAL DIMENSIONS .......................................................................................................................................................... 17
2.2. I/O INTERFACES ......................................................................................................................................................................... 18
2.2.1. Dip Switches........................................................................................................................................................ 19
2.2.2. LED Indicators..................................................................................................................................................... 20
2.2.3. Motionnet Rings .................................................................................................................................................. 21
2.2.4. Motionnet Status LED ......................................................................................................................................... 21
2.2.5. RS1 – Rotary Switch for Decay Power................................................................................................................ 22
2.2.6. RS2 – Rotary Switch for Stop Power................................................................................................................... 22
2.2.7. RS3 – Rotary Switch for Run Power ................................................................................................................... 22
2.2.8. RS4 – Rotary Switch for Microstep Setting......................................................................................................... 23
2.2.9. DB-15 I/O Interface............................................................................................................................................. 23
2.2.10. Motor Connector................................................................................................................................................ 24
2.2.11. Power Input........................................................................................................................................................ 25
2.2.12. Encoder Source.................................................................................................................................................. 25
2.2.13. Wiring Diagram ................................................................................................................................................. 26
2.3. APPLICATION ARCHITECTURE ........................................................................................................................................................ 28

TPM
STP-M112A/B Quick Start
6
1. Introduction
STP-M112 is a 2-phase high speed Motionnet interfaced stepping motor driver. Encoder support and high
precision position drive simplifies the control of motion.
1.1. Precautions
1.1.1. Safety precautions
When you operate a stepper motor, you must take the utmost care to keep people from entering the zone in
which components are being moved by the motor. In addition, provide an emergency stop mechanism to stop
the motor operation instantly if a person is in danger.
1.1.2. Handling precautions
Inputting power
Do not connect or disconnect connectors and signal lines while this board or peripheral circuits are
supplied with power.
Static electricity
This board uses a CMOS device. Therefore this board must be stored in a package in which it was
shipped until you actually use it, in order to prevent damage from static electricity.
Switch settings
This board is equipped with switches to set details for serial communications and input/outputs. Be sure
to shut off the power supply to the board before changing these switches.
Connections to electrically noisy devices
Interference from excessively noisy devices or from power surges on the power and I/O circuits may
cause the board to malfunction. To connect to a device, which may generate electrical noise, we
recommend taking countermeasures, such as attaching a protective circuit to the input/output circuits.
However, it is best not to share the same power supply with noise generating sources.

TPM
STP-M112A/B Quick Start
7
1.2. Features
STP-M112 has two types by encoder feedback.
STP-M112A – with encoder (counter) support
STP-M112B – without encoder (counter) support
1.2.1. Motionnet Communications
Motionnet is a high-speed serial communication system. This serial communication system is a complete
system affording remote operation of emulating a CPU and handling CPU message communications by
serial communication at transfer speeds of 20 Mbps as well as I/O control.
STP-M111 is equipped with G9103B, which is one of the motion control LSIs in Motionnet.
G9103B can perform all of the pulse-train input controls such as constant speed operation, linear
acceleration/deceleration, S-curve acceleration/deceleration, as well as a preset positioning operation, and an
origin return operation, which are required by motion controls.
Two-axis circular interpolation or linear interpolation of maximum 32 axes among each motor can be
achieved.

TPM
STP-M112A/B Quick Start
8
Data transfer speed
Maximum is 20 Mbps. Default speed is 10Mbps.
Cyclic communication time and transfer cycle
Cyclic communication time
Maximum 15.1 µs/ unit (Data transfer speed: 20 Mbps)
Cyclic data transfer cycle
Maximum 0.97 ms / when connected to 64 local devices (Data transfer speed 20 Mbps)
(As the number of devices connected grows smaller, the transfer speed gets proportionally faster.)
Data communication time
Max. 19.3 µs
(When writing a 4-byte feed amount instruction to the feed amount register in the G9103B)
Number of devices that can be connected
Maximum 32 devices / line
Connection method
Multi-drop connections using LAN cables
Serial communication types
Three types of communication are available.
PULSERVO
PULSERVO
PULSERVO
PULSERVO
PULSERVO
Circular
interpolation
Linear
interpolation
PC
(Center device G9001A)
STP-M112
STP-M112
STP-M112
STP-M112
STP-M112
Master

TPM
STP-M112A/B Quick Start
9
1) System communication
By polling the Motionnet line, the number of local devices that are connected, the device numbers, device
types, and I/O port allocation status can all be checked.
2) Cyclic communication
The system starts communication with the local device that has the lowest device number. When the
communication cycle reaches the device with the highest device number, the system starts over again,
communicating with the device that has the lowest device number. The process of communicating with
all active devices, from the lowest to the highest device, is one cycle. The system repeats this
communication cycle endlessly.
The primary status conditions (such as the pulse output status) and general input/output data control of
the G9103B is handled using cyclic communications.
3) Data communication
This type of communication is used to read and write data between a PCL device and a CPU emulation
device. Data is written into a FIFO buffer in the central device, and then a send command is issued. These
communications are sent and received automatically, during the interrupt driven cyclic communications.
Data communications are used to send operation commands and register data to a G9103B.
Communication error detection
Errors can be detected by adding CRC numbers to the serial communication frames.
1.2.2. Motion control
Command pulse output
Support Pulse / Dir mode.
Interrupt signal output
This driver can send a variety of interrupt requests to the central board using cyclic communications.
Acceleration/deceleration control
Both linear and S-curve acceleration/deceleration is available. The S-curve acceleration/deceleration also
allows use of linear acceleration/deceleration parts.
Speed override
The speed can be changed during any operation in all the modes.
Overriding the target position
The target position (feed amount) can be changed during positioning using the positioning mode function.
When a feed operation has already passed the new target position, the motor will decelerate and stop
(stop immediately when performing a constant speed operation), and start to feed in the opposite

TPM
STP-M112A/B Quick Start
10
direction.
A variety of counter circuits (STP-M112A only)
The following three counters are available.
Counter Use Count input
COUNTER1
28-bit counter for controlling the specified position
Output pulse
COUNTER2 28-bit counter for controlling the mechanical set position Output pulse, EA/EB input
COUNTER3 16-bit counter for controlling differences between the
specified position and the actual machine position. Or,
16-bit general-purpose counter with a synchronous signal
output function.
Output pulse, EA/EB input
Outputs pulses at 1/4096 of
the reference clock, EA/EB
input
You can reset any of the counters with a command.
And, you latch the counter data with a command or by supplying an ORG signal.
Comparator (STP-M112A only)
The driver has three comparator circuits, which allow it to compare between preset values and internal
counter values.
Select from COUNTER 1 (specified position counter), COUNTER 2 (mechanical position counter), or
COUNTER 3 (general-purpose and difference counter) to make comparisons.
In addition, comparator 1 and 2 can also be used as software limit counters (+SL, -SL).
Software limit function
You can set software limits using the comparator 2 circuit.
When the motor operation enters the software limit range, the motor immediately stops or decelerates and
stops. Then, it can only be driven in the reverse direction.
Backlash correction
The driver has a backlash correction function.
The backlash correction function corrects feed amount each time the feed direction changes.
Synchronization signal output function
The driver can output pulse signals at a specified rate for a specified interval.
Vibration restriction function
Preset a control constant and this function adds 2 pulses each to both forward and reverse rotations that
occur just before stopping the motor.
This function reduces the mechanical shock that can occur on the motor axis when it is stopped.

TPM
STP-M112A/B Quick Start
11
Operation mode
The basic operations using this driver are continuous operation, positioning, and zero return operation.
The driver supports various operations by setting optional operation mode bits.
<Examples of the operation modes>
1) Continuous mode using commands
2) Zero returning operations
3) Positioning operations using a command.
4) Interpolation mode using a command.
A variety of zero return sequences
STP-M112 supports 13 homing modes which listed in the “Motionnet Programming Manual”.
Mechanical system input signals
The following four signals can be input.
1) PEL(+EL)
If this signal goes on while the motor is in turning in the positive direction, it will stop immediately.
Or, if preset environment conditions are met, it will decelerate and stop.
The motor cannot be rotated in the positive direction while this signal is on (it can rotate only in the
negative direction).
2) MEL (-EL)
If this signal goes on while the motor is turning in the negative direction, it will stop immediately.
Or, if preset environment conditions are met, it will decelerate and stop.
The motor cannot be rotated in the negative direction while this signal is on (it can rotate only in the
positive direction).
3) SD
This signal can be used as a deceleration signal or as decelerate and stop signal, depending on the
settings in the program.
When SD is set to be used as a deceleration signal, and if this signal goes active while in high-speed
operation, the motor will decelerate to FL speed.
Also, if this signal is already active when starting the motor, the motor will operate at FL constant
speed.
When this signal is set to be used as a decelerate-and-stop signal, and if this signal goes active while
in high-speed operation, the motor will decelerate to FL speed and then stop.
4) ORG
This is an input signal used for zero return operations.
For safety, arrange your system so that PEL (+EL) and MEL (-EL) signals remain on from the EL

TPM
STP-M112A/B Quick Start
12
position all the way to the end of the stroke. You can also change the logic of these signals using a switch.
The logic of the SD and ORG signals can be changed using a program.
EMG – Emergency stop signal input
When this signal goes active, the affected axis stops rotating immediately. No axis can be operated as
long as this signal is active.
EA, EB and EZ
These terminals are to control the current position using an encoder. 90 degree phase difference signals or
Two-pulse (UP pulse and DOWN pulse) can be input on these terminals. The 90 degree phase difference
signals can be multiplied by 2 or by 4. The EZ input is used for origin return operations. Software can be
used to change the input logic of these terminals. These terminals have built-in pull up resistors to prevent
floating. When these terminals are not used, they can be left open. If you want to improve noise resistance
of the chip, pull them up (5 to 10 K-ohms) or connect them to the VDD.
LTC
This terminal is to latch the specified counter (COUNTER 1 to 3) by inputting a signal. (It can latch more
than one counter). Software can be used to change the input logic of this terminal. This terminal has a
built-in pull up resistor to prevent floating. When this terminal is not used, it can be left open. However, if
you want to improve noise resistance, pull it up (5 to 10 K-ohms) to the VDD or connect it to the VDD.
CMP
The signal output when the comparator condition is satisfied.
Position checking
STP-M112 is a stepping motor driver to control motors with encoder mounted by checking the final
position of the target position. It also provides functional applications for users to get the current position
of the encoder value.
1.2.3. Motor driver
Required power
This board requires 24 VDC±10%
A motor that can be controlled
2-phase stepper motor
Driving method
Current driving system

TPM
STP-M112A/B Quick Start
13
Microstep
Select from 8 steps (division by 1, 4, 8, 16, 32, 64, 128 and 256)
1.3. Specifications
The functions offered by this board can be classified as serial communications, motion control, and motor
driving operations.
1.3.1. Serial communications
Item Signal name Specifications
Cyclic communication times
and data transfer cycles
Communication time: 15.1 μs, maximum.
Data transfer cycle
Maximum of 0.49 msec, when using 32 devices. #1
Maximum of 0.97 msec, when using 64 devices. #2
(Data transfer speed: 20 Mbps, when using our
recommended cable #1:100m, #2: 50m)
Date communication time Maximum 19.3 μs
(When writing a 4 byte feed amount into the feed register
in the G9103B)
Total serial communication
line length
Maximum of 100 m (At a data transfer speed of 20 Mbps
with 32 devices connected)
Maximum of 50 m (At a data transfer speed of 20 Mbps
with 64 devices connected)
Maximum of 100 m (At a data transfer speed of 10 Mbps
with 64 devices connected)
(Using our recommended cables)
Serial communication method Half-duplex communication
Connection method
Multi-drop connection using a LAN cable or our
proprietary cable.
Serial communication device
number
RS1 and A4 Assignable device numbers, 0 to 32
The rotary switch can set the device id ranging from 0 to
15. For device ranging from 16 to 32, the A4 switch needs
to be switched to 1.

TPM
STP-M112A/B Quick Start
14
Item Signal name Specifications
Serial communication transfer
speed
SW1 – B0,
B1
20 Mbps/10 Mbps/5 Mbps/2.5 Mbps
Set using switches.
Transmission resistance SW2-TR Select whether to use a termination resistor on the last the
serial communication station.
Set using a switch
Display serial communication
status
RUN, ERR RUN: While receiving serial communications normally,
the green LED is lit.
ERR: When a serial communication error occurs
continuously, the red LED is lit.
1.3.2. Motion Control
Item
Signal name
Specifications
Positioning control range -134,217,728 to 134,217,727 (28 bits)
Ramp down point setting range
0 to 16,777,215 (24 bits)
Number of speed setting registers 3 types: FL, FH, and FA (correction speed)
Speed setting step range 1 to 100,000 (17 bits)
Magnification rate for setting the
speed range
Magnification rate: 0.1 to 66.6x
When the magnification rate is 0.1, the speed setting
range is 0.1 to 10,000.0 pps
When the magnification rate is 1, the speed setting
range is 1 to 100,000 pps
When the magnification rate is 50, the speed setting
range is 50 to 5,000,000 pps
Note: The maximum speed of the driver is 250 Kpps.
The speed can be limited by the specifications of the
motor used.
Acceleration / deceleration
characteristics
Acceleration and deceleration can be set
independently for linear acceleration/deceleration,
and also for S-curve acceleration/deceleration.
Acceleration setting range 1 to 16,383 (14 bits)
Deceleration setting range
1 to 16,383 (14 bits)
Automatically set ramp down
point
It is possible to set the ramp down point automatically
within the range of (deceleration time) < (acceleration
time x 2)

TPM
STP-M112A/B Quick Start
15
FH correction function (escaping
triangle drive)
When the feed amount is small and the motor may
possible to start deceleration on the way of
acceleration (triangle drive), this function
automatically lowers the operation speed and escape
this triangle drive.
Counter
COUNTER 1: Specified position counter (28 bits)
COUNTER 2: Mechanical position counter (28 bits)
COUNTER 3: Difference counter (16 bits)
Comparators 3 at 28 bits each
Mechanical signal inputs
PEL, MEL,
SD, ORG,
and EMG
- Positive end limit input (PEL)
- Negative end limit input (MEL)
- Ramp down input (SD)
- Zero position input (ORG)
- Emergency stop input (EMG)
[I/F] Photo coupler input
Display input status L4 to L8 The respective LED lights when a mechanical input is
active and the respective photo coupler goes on.
Setting the end limit input logic SW1-EL L
End limit input logic switch
Set using a switch.
Break signal BK+, BK- Break signal output.
1.3.3. Motor Driving Operations
Item Signal name
Specifications
Driving method 2-phase, uni-polar and bipolar
Operation speed 2Mpps (at maximum)
Motor run current setting
RS3
5.9 A/phase (maximum) set using a variable resister.
Motor decay current setting RS1 It is for setting the decay power in corresponding to the
stepping motor. The value of 0 and F are reserved.
Motor stop current setting
RS2
It is for setting the stop power of the driver.
Auto current reduction
Chose whether to reduce the current automatically after
the motor operation ends.
Can be disabled by using a G9103B general-purpose
output.
Motor excitation on/off
Motor excitation control can be turned on/off
Can be controlled using a G9103B general-purpose
output.

TPM
STP-M112A/B Quick Start
16
Item Signal name
Specifications
Phase excitation zero point
The phase excitation zero point can be monitored using
the Z-phase input on the G9103B.
1.3.4. Others
Item Signal name Specifications
Power requirements
24 VDC±10%
- Consumption current, maximum 0.1 A (at no load)
(The current consumption varies, depending on the
specification of the motor coils, the operation speed, etc.)
Cooling method
Natural cooling
Operating temperature range 0 to +60°C
Operating ambient humidity
80%RH or less
(Non condensing through the +10°C to +60°C range)
Measures for environmental
problem Complies with the EU RoHS requirement

TPM
STP-M112A/B Quick Start
17
2. Hardware Specifications
2.1. Mechanical Dimensions
Figure 2-1: mechanical dimensions of STP-M112

TPM
STP-M112A/B Quick Start
18
2.2. I/O Interfaces
Figure 2-2: connectors of STP-M112
EMG, PEL, MEL, ORG …
DC Power
Motor junction cable
Encoder junction cable
Motionnet

TPM
STP-M112A/B Quick Start
19
2.2.1. Dip Switches
Figure 2-3: system configuration by dip switches
Number Name Description
1
TR
Setting of the terminal resistance. Default setting is off.
TR Logic
OFF No terminal resistance added.
ON
Added a terminal resistance.
2 ELL Setting the logic of positive and negative limits. Default setting is off.
EL Logic
OFF Normal open.
ON Normal close.
3
TD
Watchdog option. Default setting is off.
TD Logic
OFF Active.
ON
Inactive.
4, 5 B0, B1 Setting of transfer rate. Default value is 10Mbps.
B0 B1 Transfer rate
OFF OFF 20Mbps
ON OFF 10Mbps
OFF
ON
5Mbps
ON ON 2.5Mbps
6-10 A4-A0 Device IP address
IP = 1*A0 + 2*A1 + 4*A2 + 8*A3 + 16*A4
1 2 3 4 5 6 7 8 9 10
ON

TPM
STP-M112A/B Quick Start
20
2.2.2. LED Indicators
Figure 2-4: LED of STP-M112
LED Color Description Function
PWR
Yellow
Power On
Lights on when power is on.
SD Green Slow Down On Lights on when input photo coupler is on.
EMG Green Emergency On Lights on when input photo coupler is on.
ORG Green ORG On Lights on when input photo coupler is on.
EL-
Green
EL-
Lights on when input photo coupler is on.
EL+ Green EL+ Lights on when input photo coupler is on.
UVLO
Red
Driver under voltage
Lights on when UVLO condition.
OTS Red Driver over temperature Lights on when OTS condition.
PDF Red Driver fault Lights on when PDF condition.
OCT Red Driver over current Lights on when OCT condition.
Table 2-1: LED status
This manual suits for next models
2
Table of contents
Popular DC Drive manuals by other brands

Becker
Becker U30 Assembly and operating instructions

Phoenix Mecano
Phoenix Mecano DewertOkin DUOMAT 3 installation instructions

Fastcorp
Fastcorp Z-400 Quick reference sheet

Johnson Controls
Johnson Controls VA-707 Series Fitting instructions

Rowan Elettronica
Rowan Elettronica 119/92 instruction manual

Power Electronics
Power Electronics SD 500 Series Getting started manual

Uni-Pex
Uni-Pex P-600NT instruction manual

Vicruns
Vicruns 2S-0.4G-B user manual

Sprint Electric
Sprint Electric 370 product manual

Aumuller
Aumuller SP Series Assembly instructions

pumpa
pumpa E-LINE Drive-04 Translation of the original instruction manual

Danfoss
Danfoss VLT Decentral FCD 300 installation instructions