Anaheim Automation DPC50501 User manual

September 2012L010194 1
DPC50501
Programmable Driver Pack
User’s Guide
4985 E. Landon Drive Anaheim, CA 92807
e-mail: [email protected]
(714) 992-6990 fax: (714) 992-0471
website: www.anaheimautomation.com
ANAHEIM AUTOMATION
July 2018

September 2012L010194 2
Table of Contents
Section 1: Introduction.................................................................................................................................3
Description.....................................................................................................................................................3
Ordering Information.......................................................................................................................................4
Axis Selection.............................................................................................................................................4
Baud Selection............................................................................................................................................5
Baud Rates.................................................................................................................................................5
Methods of Communication.......................................................................................................................5
RS232 to RS485 Protocol...........................................................................................................................5
RS485.........................................................................................................................................................6
Two Wire Conguration..................................................................................................................................6
Four Wire Conguration...............................................................................................................................6
Terminating Resistor......................................................................................................................................7
Status LED (Controller)...................................................................................................................................7
Technical Support...........................................................................................................................................7
Electrical Specications..............................................................................................................................8
Terminal Descriptions.................................................................................................................................8
Dimensions.................................................................................................................................................9
Wiring Diagram............................................................................................................................................9
Motor Selection..........................................................................................................................................10
Step Motor Selection Guide.......................................................................................................................11
Reducing Output Current............................................................................................................................11
Determining Output Current...........................................................................................................................11
Step Motor Congurations.........................................................................................................................12
Connecting the Step Motor........................................................................................................................13
Short-Circuit, Mis-Wire, and Over-Current Conditions...................................................................................13
Section 2: Controller Functions................................................................................................................14
Section 3: SMC50WIN Software...............................................................................................................17
Installation.................................................................................................................................................17
Getting Started...........................................................................................................................................17
“The Unit is Connected” / “The Unit is NOT Connected”....................................................................................18
File Menu..................................................................................................................................................18
Setup Menu...............................................................................................................................................18
Toolbar........................................................................................................................................................18
Tab Sheets................................................................................................................................................19
Current Program Filename.............................................................................................................................21
Add/Change/Insert Commands..................................................................................................................21
Calculator..................................................................................................................................................25
Section 4: Direct Talk Mode..................................................................................................................26
COM Port Settings....................................................................................................................................26
Unit Selection...........................................................................................................................................26
Instructions...............................................................................................................................................26
Section 5: Troubleshooting....................................................................................................................31
Error Codes..................................................................................................................................................32
Section 6: Tutorial...................................................................................................................................33
Sample Program 1:......................................................................................................................................33
Sample Program 2:......................................................................................................................................34
Appendix 1: ASCII Table for Direct Mode.....................................................................................................36
Copyright ..................................................................................................................................................37
July 2018

September 2012L010194 3
Introduction
The DPC50501 is a single axis programmable controller, a 5 amp bipolar microstep driver, and
a 48VDC 65W power supply package. It provides exible, independent control of bipolar step
motors with a current range from 0.5 to 5.0 amps and microstepping resolutions of 1, 2, 5, 8, 10,
16, 32 and 64. The easy to use software, SMC50WIN, can be used to directly control motion and
to program the controller. The DPC50501 also has the ability for real time functions. A “direct
mode” is used to directly control motion for real time movements through serial communication.
The DPC50501 has 20 commands which are easy to remember for direct movement and uses
the RS485 communication protocol so up to 32 units can be networked together from one com-
munications port on your PC or PLC (programmable logic controller). The DPC50501 also has 2
programmable “open drain” outputs and 4 TTL compatible inputs and can be powered from 105
VAC to 130VAC. The DPC50501 is direct replacement in size and connections with Anaheim
Automation’s DPC40501. The upgrades to this unit include higher resolution and higher motor
currents.
Section 1:
Description
Generally step motor controllers are open-loop systems, meaning that no information is sent back
to the controller from the motor to verify the number of steps that were taken. A step motor is
essentially a digital device - you give the step motor driver 10 step pulses, and the motor moves
10 steps. The DPC50501 provides independent programming of acceleration/deceleration, base
speed (start up speed), max speed (running speed), and the number of steps to both relative
and absolute positioning modes. On absolute positioning moves, the controller automatically
determines the proper direction to go and the number of steps to take. The relative positioning
will move a number of steps in the direction that the user denes. The controller has a high level
command set including: looping, conditional statements, time delays, and I/O. Hard, soft, and
home limit switch inputs are provided for each axis. These features are generally required in most
machine control designs. Four testable inputs and 2 programmable outputs are provided per
axis. These I/O are accessible independent of the busy state of the axis controls. The 4 inputs
are TTL/CMOS compatible. The 2 outputs are current sinking, open drain FETs. The controller
in the DPC50501 has a built-in programmable reset circuit. Reset is automatic on power-up or
by pressing the external reset button. A CD is provided when you purchase the unit. This CD
contains software that allows you to write and change programs that are to be store in the con-
troller for autostart use. This CD also allows you to save the programs onto your computer hard-
drive, and easily retrieve them when needed. The clock and direction outputs of the controller
are internally wired to the driver. The “microstep driver” in the DPC50501 has an output current
capability of 0.5 amp minimum to 5.0 amps maximum (peak rating). The driver offer motor cur-
rent ON/OFF capabilities. The Reduce Current Enabled automatically reduces motor current to
50% of the set value after the last step is made (20msec delay). With the DPC50501, various
step resolutions can be implemented by the onboard dip switch. These divisions range from
200 steps per revolution to 12800 steps per revolution. The bipolar driver conguration handles
4, 6, and 8 lead motors. Protection devices have been added to this driver for phase to phase
short-circuit conditions.
July 2018

September 2012L010194 4
Ordering Information
The table below lists a variety of products available from Anaheim Automation. These products
include those covered by this manual, analog with supporting cables and devices. We are con-
tinually adding new products to our line, so please consult Anaheim Automation representatives
for information on the latest releases.
Part Number Description
DPC50501 Featured
PCL501 RS485 compatible controller (Up to 32 unit multidrop compatible)
PCL501PC RS232 compatible controller (Not mulitdrop compatible)
485SD9TB RS232 to RS485 converter
MBC05641 0.5-5 Amp Microstep Driver
PSAM24V1.2A-5V3.5A Power supply for PCL501 and PCL501PC ([email protected], [email protected])
Axis Selection
Each controller will be addressed using 5 jumpers (JP4 - JP8) allowing the PC to address up
to 32 controllers from one port. The jumpers are considered ON (1) when they are in position
“1-2” and OFF (0) when they are in position “2-3”. The jumpers are located on the side of the
DPC50501. The table below shows how to congure the jumpers for a given axis. JP8 is the
LSB (Least Signicant Bit) and JP4 is the MSB (Most Signicant Bit).
Axis
Selected
Jumper
Setting
Axis
Selected
Jumper
Setting
0 00000 16 10000
1 00001 17 10001
2 00010 18 10010
3 00011 19 10011
4 00100 20 10100
5 00101 21 10101
6 00110 22 10110
700111 23 10111
8 01000 24 11000
9 01001 25 11001
10 01010 26 11010
11 01011 27 11011
12 01100 28 11100
13 01101 29 11101
14 01110 30 11110
15 01111 31 11111
July 2018

September 2012L010194 5
Baud Selection
The baud rate is selected using 3 jumpers (JP1 - JP3). They are selected the same way that the
address jumpers are selected. The table below shows how to congure the jumpers for a given
baud rate. JP3 is the LSB and JP1 is the MSB.
Baud Rate Jumper Setting
1200 000
2400 001
4800 010
9600 011
19200 100
38400 101
57600 110
115200 111
Baud Rates
A term used frequently in serial data communications. A “baud” is dened as the reciprocal of the
shortest pulse duration in a data word signal, including start, stop, and parity bits. This is often
taken to mean the same as “bits per second”, a term that expresses only the number of “data”
bits per second. Very often, the parity bit is included as an information or data bit. The PCL501
accepts the following baud rates:
1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200
Methods of Communication
There are two methods for sending commands to the DPC50501’s controller. One is to directly
talk to the controller by using Direct Talk Mode. This is usually used with a computer or PLC (Pro-
grammable Logic Controller), where the computer or PLC gives the controller serial commands to
off-load its processor. For example: A PLC can utilize its outputs to toggle the controller’s inputs
and gain control of variable speeds, variable programs, variable distances, etc. Simply using
the controller as the intelligent pulse generator a PLC can remove some of the tasks that were
not meant for ladder logic or any PLC processing time. The second way to give commands to
the controller is to use the software program SMC50WIN to either manually control or write and
send programs. This method is used when the controller is the main controller. For example: A
DPC50501 can replace simple motion control and replace I/O functional when minimal quantities
of I/O are required to control specic machinery. Simple motion proles that can operate with 4
or less inputs and 2 or less outputs can utilize a DPC50501 controller.
RS232 to RS485 Protocol
The controller can be connected to your PC serial port via an RS485 or RS422 converter box.
The RS232 converter will convert the RS232 communication format to the RS485 or RS422 for-
mat. Only one converter box is needed per serial port. Contact the factory for RS485 converter
information and sales.
July 2018

September 2012L010194 6
RS485 Protocol
The RS485 protocol is as follows, onboard receivers will remain in active mode indenitely.
Transmitters must be turned off when the unit is not sending data to prevent the line from send-
ing and receiving data at the same time. Therefore when the PC is transmitting data its driver
will be turned on and each of the units connected will have their drivers off. If they are requested
to send data back to the PC, the selected unit will turn it’s driver on to send the data then turn it
off after it has completed transmission. Note: The above protocol is done internally between the
converter and controller. The RS485 method of communication allows increased noise immunity
and increased communication distance of up to 4000 feet without repeaters. RS485 repeaters
allow an additional 4000 feet per repeater.
Two Wire Conguration
The two wire conguration reduces cabling costs by requiring only three wires. A, B and ground.
The DPC50501 is designed to allow either the two or four wire conguration. To use the 2 wire
conguration simply wire TX+ to RX+, and TX- to RX- on your converter box. Then run a wire
from ground, a wire from TX+/RX+ and a wire from TX-/RX-, to the rst controller in the network.
Finally do the same on the terminal block of the controller to the converter box. The diagram below
illustrates how this conguration is connected. RS422 systems require a dedicated pair of wires
for each signal, a transmit pair, a receive pair, and an additional pair for each handshake/control
signal used (if required). The tristate capabilities of RS485 allow a single pair of wires to share
transmit and receive signals for half duplex communications. This “two wire” conguration (note
that an additional ground conductor should be used) reduces cabling cost. RS485 devices may
be internally or externally congured for two wire systems. Internally congured RS485 devices
simply provide “A” and “B” connections (sometimes labeled “-” and “+”).
Four Wire Conguration
Devices congured for four wire communications use TX and RX connections for both the transmit
and the receive pairs. The user can connect the transmit lines to the receive lines to create a
two wire conguration exibility. Note that the signal ground line should also be connected in the
system. This connection is necessary to keep the VCM common mode voltage at the receiver
within a safe range. From the diagram below, it can be seen that all wires are run directly from
the converter to the controller. For example TX+ from the converter goes to TX+ on the control-
ler and so on.
July 2018

September 2012L010194 7
Terminating Resistor
To eliminate noise on the transmission lines a terminating resistor may need to be used. If needed
the termination resistor need only be added to the last (furthest from the converter box) controller
in the network. A termination resistor with a value of 120 ohms is needed in certain conditions;
when using a 4000ft. or longer cable and a baud rate of 38400 or when using a 2000ft. or longer
cable and a baud rate of 57600. If you need to add a terminating resistor, contact the factory for
the exact location on the board.
Status LED (Controller)
When powered and operated properly, the status LED will green. When an error occurs, the LED
will change to RED and an error code will be generated in the error code register. To read and
clear the error with the software, click on the “Verify Parameters” button located in the “Motion
Tab”. To read and clear the error while in “Direct Mode” use the ! command. Once the error has
been read and cleared, the LED will return to green and the error code register will be cleared.
Refer to the table in section 5 for a list of the error codes.
Technical Support
Everyone needs help on occasion. If you have problems using any of the equipment covered by
this manual, please read the manual to see if it will answer the questions you have. Be sure to
look in the troubleshooting section located near the back of this manual. If you need assistance
beyond what this manual can provide, you can call the factory direct for application assistance.
If possible, have this manual in hand. It is often helpful to have the unit connected to a computer
with the software installed.
July 2018

September 2012L010194 8
Electrical Specications
Power Requirements:
110VAC Single Phase
Operating Temperature:
0° to 60° C
Pulse Output Range:
77 to 15000 pps
Inputs (TTL-CMOS):
Logic “0”: 0 to 0.8VDC
Logic “1”: 3.5 to 5.0VDC
Baud Rate:
1200 to 115200 BAUD
Driver Ratings:
Output Current 5.0 amps peak
Data Format:
Half-Duplex, 1 start bit, 8 data bits, no
parity, 1 stop bit
Outputs (2 programmable I/O):
Open Drain Type
40V, 75mA
Note: For inductive loads, customers must connect a clamping
diode to protect from y back voltage spikes.
Pin # Description
1TX+
2TX-
3RX+
4RX-
5 RS485 Ground
Terminal Descriptions
TB1:
Pin # Description Comments
1 OUT1 Open Drain
2 OUT2 Open Drain
3 IN1 Active Low = 1
4 IN2 Active Low = 2
5 IN3 Active Low = 4
6 IN4 Active Low = 8
7 0VDC Reference
TB2:
Pin # Description
1 Phase A: Phase 1 of the step motor
2Phase Ā: Phase 3 of the step motor
3 Phase B: Phase 2 of the step motor
4 Phase B: Phase 4 of the step motor
5 MGND: Motor Ground
TB4:
Pin # Description Comments
1JOG+ Active Low
2 JOG- Active Low
3 FJOG Active Low
4SOFT+ Active Low
5 SOFT- Active Low
6HARD+ Active Low
7 HARD- Active Low
8 HOME Active Low
9 CLK Open Drain
10 DIR Open Drain
11 0VDC Reference
TB3:
Pin # Description
1Step Clock Input Anode (+): Internally connected to 5VDC.
2 Step Clock Input Cathode (-): Internally connected.
3Direction Anode (+): Internally connected to 5VDC.
4 Direction Cathode (-): Internally Connected.
5ON/OFF Anode (+): Internally connected to 5VDC.
6
ON/OFF Cathode (-): To enable function, simply use a con-
tact closure to 0VDC to activate. This will de-energize the
motor windings. An output may be necessary to activate.
TB5:
Item Min Max Units
Phase Output Current 0.35 3.5 A (RMS)
Phase Output Current 0.5 5.0 A (Peak)
July 2018

September 2012L010194 9
Dimensions
Wiring Diagram
July 2018

September 2012L010194 10
Microstep Selection (SW1 Settings)
Switches 2, 3 and 4, of the DIP switch select the number of microsteps per step. The table below
shows the standard resolution values along with the associated positions for the select switches.
The standard waveforms are sinusoidal. Switch 1 selects the auto reduce current enable or dis-
able. With Switch 1 On, reduce current is enabled, with Switch 1 Off, reduced current is disabled.
Resolution Steps/Rev Select 2 Select 3 Select 4
1 200 ON ON ON
2 400 ON ON OFF
5 1000 ON OFF ON
8 1600 ON OFF OFF
10 2000 OFF ON ON
16 3200 OFF ON OFF
32 6400 OFF OFF ON
64 12800 OFF OFF OFF
Motor Selection
The DPC50501’s bipolar microstep driver is compatible with both bipolar and unipolar motor
congurations, (i.e. 8 and 4 lead motors, and 6 lead center tapped motors).
Step motors with low current ratings and high inductance will perform better at low speeds, pro-
viding higher low-end torque. Motors with high current ratings and low inductance will perform
better at higher speeds, providing more high-end torque.
Since the DPC50501 is constant current source, it is not necessary to use a motor that is rated
at the same voltage as the supply voltage. What is important is that the driver is set to the ap-
propriate current level based on the motor being used.
Anaheim Automation offers a comprehensive line of step motors in 17, 23, 34 and 42 frame
sizes. Contact the factory to verify motor/drive compatibility.
July 2018

September 2012L010194 11
Step Motor Selection Guide
Anaheim Automation offers motor cable, making hookups quickly and easy! Contact the
factory of visit our website www.anaheimautomation.com for motor and cable offerings.
Part
Number
Unipolar
Rating
Series
Peak
Rating
Parallel
Peak
Rating
Series
Current
Setting
Parallel
Current
Setting
23Y206 3.0A 3.0A 6.0A 60% 100%
23Y210 5.0A 5.0A 10.0A 100% 100%
23Y306 3.0A 3.0A 6.0A 60% 100%
23Y310 5.0A 5.0A 10.0A 100% 100%
34Y108 4.0A 4.0A 8.0A 80% 100%
34Y207 3.5A 3.5A 7.0A 70% 100%
34Y307 3.5A 3.5A 7.0A 70% 100%
23Y108 4.0A 4.0A 8.0A 80% 100%
23Y106 3.0A 3.0A 6.0A 60% 100%
23Y104 2.0A 2.0A 4.0A 40% 80%
17Y302 --- 1.0A --- 22% ---
17Y202 --- 1.0A --- 22% ---
17Y102 --- 1.0A --- 22% ---
Setting the Output Current
The output current on the DPC50501 is set by an onboard potentiometer. This potentiometer deter-
mines the per phase peak output current of the driver. The relationship between the output current
and the potentiometer value is as follows:
Reducing Output Current
Reducing the output current is accomplished by setting switch 1 of the DIP switch to the ON position
and occurs approximately 20mSec after the last positive going edge of the step clock input. The
amount of current per phase in the reduction mode is approximately 50% of the set current. When
the current reduction circuit is activated, the current reduction resistor is paralleled with the current
adjustment potentiometer. This lowers the total resistance value, and thus lowers the per phase
output current.
Determining Output Current
The output current for the motor used when microstepping is determined differently from that of a full/half
step unipolar driver. In the DPC50501, a sine/cosine output function is used in rotating the motor. The
output current for a given motor is determined by the motors current rating and the wiring conguration of
the motor. There is a current adjustment potentiometer used to set the output current of the DPC50501.
This sets the peak output current of the sine/cosine waves. The specied motor current (which is the
unipolar value) is multiplied by a factor of 1.0, 1.4, or 2.0 depending on the motor conguration (series,
half-coil, or parallel).
Peak Current Potentiometer Setting Peak Current Potentiometer Setting
0.5A 0% 3.0A 60%
0.6A 10% 3.5A 70%
0.9A 20% 4.0A 80%
1.5A 30% 4.5A 90%
2.0A 40% 5.0A 100%
2.5A 50% --
July 2018

September 2012L010194 12
Step Motor Congurations
Step motors can be congured as 4, 6, or 8 leads. Each conguration requires different currents. Refer
to the lead congurations and the procedures to determine their output current.
WARNING: Step Motors will run hot even when congured correctly. Damage may occur to the motor
is a higher than specied current is used. Most specied motor currents are maximum values. Care
should be taken to not exceed these ratings.
6 Lead Motors
When conguring a 6 lead motor in a half-coil conguration (connected from one end of the
coil to the center tap), multiply the specied per Phase (or unipolar) current rating by 1.4 to de-
termine the current setting potentiometer value. This conguration will provide more torque at
higher speeds when compared to the series conguration.
When conguring the motor in a series conguration (connected from end to end with the cen-
ter tap oating) use the specied per phase (or unipolar) current rating to determine the current
setting potentiometer value.
4 Lead Motors
Multiply the specied series motor current by 1.4 to determine the current adjustment potenti-
ometer value. 4 lead motors are usually rated with their appropriate series current, as opposed
to the Phase Current, which is the rating for 6 and 8 lead motors.
8 Lead Motors
Series Connection: When conguring the motor windings in series, use the per phase (or uni-
polar) current rating to determine the current setting potentiometer value.
July 2018

September 2012L010194 13
Parallel Connection: When conguring the motor windings in parallel, multiply the per phase (or
unipolar) current rating by 2.0 to determine the current setting potentiometer value.
Note: After the current has been determined, according to the motor connections above, use
Table 3 to choose the proper setting for the current setting potentiometer.
Connecting the Step Motor
Phase 1 and Phase 3 of the step motor are connected to pins 1 and 2 on connector TB4. Phase
2 and Phase 4 of the step motor are connected to pins 3 and 4 on connector TB4. The motors
case can be grounded to pin 5 on connector TB4.
Note: The physical direction of the motor with respect to the direction input will depend on the
connection of the motor windings. To reverse the direction of the motor with respect to the direc-
tion input, switch the wires on Phase 1 and Phase 3.
WARNING: Do not connect or disconnect motor wires while power is applied!
Short-Circuit, Mis-Wire, and Over Current Conditions
If it is found that there is a condition that causes on current in the driver phase transistors, the
Red LED will turn on solid and power will be shut off the motor. To reset the drive turn power off,
check wiring, and turn power back on.
July 2018

September 2012L010194 14
Move Number of Steps: The move number of steps command causes the motion to start in the direction
last specied. This command will move the motor the number of steps given. (Range: 0 to 8388607)
Move to Position: The move to position command species the next absolute position to go to. The
controller automatically sets the direction and number of steps needed to go to that position.
(Range: -8388608 to +8388607)
Home to Soft, Home Limit (2 Switch Operation): This type requires two grounding type limit switches
called home and soft. The rst limit switch soft will decelerate the motor down to base speed. It will con-
tinue to run at base speed until it receives a home limit switch input causing the motor to stop. The home
limit switch only activates after a soft limit is sensed. The soft limit is not bidirectional, meaning that it will
work in only one direction as specied. The soft limit switch will work for any type of motion. The home
limit switch will work only for home motions.
Note: Whenever a soft limit switch is activated, the motor will decelerate and run at base speed. Be sure
to come back passed the soft limit switch to set any origins, otherwise the motor will decelerate as it goes
passed the soft limit switch.
Home to Home Limit: This type homing differs in that only one limit switch is needed. The home limit
switch in this case causes the motor to ramp down to base speed, reverse direction and continue until
the limit switch is released. This is a good way to compensate for any backlash in the system. It is also
useful for minimizing the number of limit switches needed for homing.
Limit Switch Inputs: The limit switch inputs are internally pulled up by a resistor making them normally
+5 volts. To activate the input, the pin must be grounded to (0VDC) on the terminal block.
Hard Limit Switches: When a hard limit switch is encountered, the motion will stop. The position counter
will also cease counting. Hard limits are intended as an emergency stop for your system. It should not
be used to do any indexing type functions.
Soft Limit Switches: These switches are used exclusively when homing to a datum point. If positioned
properly with the appropriate parameters, it causes the motor to ramp down to the base speed before
encountering the home limit switch.
Home Limit Switch: This switch is used to establish the reference position designated “home” in home
to home limit or home to soft, home limit.
Set Position: The set position command sets the position register to a designated value. The number
will be the absolute position of the motor. The default value is 0. (Range: -8388608 to +8388607)
Section 2: Controller Functions
July 2018

September 2012L010194 15
Jog Inputs: Jog is a manual function. The user can select the direction and speed (fast or slow) by
grounding the appropriate combinations of inputs on a particular axis. These inputs are located on the
terminal block. To jog a motor, it is necessary to ground the jog input on the axis for the direction desired.
For fast jog, both the fast and jog command for the appropriate direction must be low at the same time.
The closure of jog causes the motor to start at base speed and accelerate at a predetermined rate to
jog speed. When the fast input is closed, the motor will then accelerate to a pre-programmed speed of
10kHz. The actual jog rates can be programmed. Fast jog is not programmable. The position register
will keep track of the number of steps that are taken during jogging. Once a +jog or a -jog function has
been performed, the direction register will retain the last direction of movement; that is, a subsequent go
command will be in the same direction as the last jog command.
Programmable Input and Outputs: Four inputs and two outputs are provided per axis. The inputs may
be used to initiate a machine cycle, for inter-axis coordination (in stored program mode), for operator in-
tervention, for sensing a machine condition such as out of stock, or to wait for temperature to be reached.
Outputs may be used to operate coolant valve, air cylinders, relays, or, with the right interfacing, any
electronically controlled device. The inputs are TTL compatible. Since the inputs have pull up resistors,
all that is required for a signal is a switch closure to ground (0VDC). With zero volts on the input, the
pull up resistor source current is approximately 5mA. This will make the inputs read like they are logi-
cally reverse. A grounded input will read a “1” and an open input will read a “0”. The outputs can drive
all types of common peripheral power loads, including lamps, relays, solenoids, LED’s, printer heads,
and heaters. For inductive loads, it will be necessary to connect a clamping diode (refer to specication
section). The outputs are current sinking, open drain FETs. They are capable of sinking up to 75mA per
output with voltages up to 40VDC. Turning an output on will pull the pin to ground and turning an output
off will make the pin open.
Note: For inductive loads, customers must connect a clamping diode in order to provide adequate y-back
protection. Input wiring should be kept separate from step motor wiring.
Slew: The slew command will accelerate the motor up to maximum speed and continue to run at the speed
until reaching a hard limit switch, soft limit switches, or receiving a “.” (stop hard) command.
Finish Move: When writing a program, the nish move command is used directly after a motion command.
With this command, the controller will see a busy signal until the move is complete before executing any
further commands. Unless the nish move command is used, the controller will keep on executing com-
mands, even though the controller is not ready to use it. This data will be ignored by the controller, so the
program will not work as expected.
Run: The run command starts the execution of a stored program.
Quit: The quit command is used within a stored program and stops the execution of the program. This
command must be used at the end of all programs.
Wait: In stored program mode, the wait command pauses the program for the specied number of mil-
liseconds. (Range:1 to 9999)
July 2018

September 2012L010194 16
Verify: The verify command causes the controller to send data back to the PC or PLC. The data is sent as
an ASCII decimal string followed by a carriage return and a line feed. The permissible verify commands
are shown below.
Loop: The Loop instruction allows the user to loop a program a variable number of times. The program
will loop to the designated address location of the program. The address must always be a lower address
value than the instruction itself. No nested loops are allowed.
Accelerated/Deceleration: The acceleration and deceleration are by default the same value. This function
controls the time that the motor will take to move from base speed to max speed. The higher the value,
the slower the motor will accelerate. The same principal applies for the deceleration which is controlling
the time it takes to go from maximum speed to base speed. The higher the value, the slower the motor
will decelerate. (Range:1 to 255)
Base Speed: The base speed is the speed at which motion starts and stops. It is entered directly as the
number of steps per second. This speed must always be less than the max speed. (Range: 77 to 3500)
Max Speed: The max speed is the top speed the user wants the motor to run at. This speed must always
be greater than the base speed. It is entered directly as the number of steps/second.
(Range: 77 to 15000)
Jog Speed: The jog speed sets the slow jog rate. Jog (+/-) can also be used in conjunction with the FJOG
pin. The FJOG pin, when grounded, will ramp the motor to 10kHz. This speed must always be greater
than the base speed.
Command Description
AVerify Acceleration/Deceleration
B Verify Base Speed
F Verify if Controller is Busy
J Verify Jog Speed
M Verify Max Speed
N Verify Number of Steps
O Verify Outputs
P Verify Goto Position
Z Verify Position
+Verify Direction (1 is CW, 0 is CCW)
July 2018

September 2012L010194 17
The SMC50WIN software is a handy utility that supports Anaheim Automation’s line of PCL501 and
PCL511 step motor controllers. Connecting your PC to the controller, via a serial cable, the SMC-
50WIN software can easily perform the following tasks:
• Exercise and monitor the controller
• Write and edit stored programs for stand-alone operation
• Directly communicate with the controller
Section 3: SMC50WIN Software
Installation
Software
• The SMC50WIN is supplied on a CD, containing the setup program and the SMC50WIN
software.
• SMC50WIN software is compatible with all versions of Windows including Windows
2000, Windows XP, Vista, and Windows 7.
Windows 95/98/NT/ME/2000/XP Installation
Option 1
1. Insert the CD into the drive
2. From the Program Manager select Start │ Run
3. Enter D:\setup and click OK - use the appropriate drive letter (i.e. Dor E)
Option 2
1. Open Windows Explorer
2. Open CD Drive Folder (D: or E:)
3. Double Click the setup Icon
Getting Started
1. Double click on the SMC50WIN icon to run the SMC50WIN software.
2. Apply power to the controller unit.
3. Set the appropriate communication setting by selecting Setup │ Com Port Settings
from the menu bar. (Ctrl+M is a shortcut)
4. Establish communications with the controller by clicking on the Connect Icon, or select
Setup│Connect from the menu bar. If the unit is connected properly, the program will
notify you when communication has been established. (Ctrl+C is a shortcut)
July 2018

September 2012L010194 18
“The Unit is Connected” / “The Unit is Not Connected”
On the right of the Toolbar, the user will nd the communication status of the controller. If com-
munication is not established, please refer to the troubleshooting section.
File Menu
Setup Menu
Connect Establish communications with the controller.
Communication Settings... COM port & baud rate settings.
Axis Select axis (0-31) for multi drop units.
Autostart Program Enable/Disable program execution on power up.
New Program Start editing a new program.
Open Program Open an existing program from disk.
Save Program As Save the current program to disk.
Print... Print the current program.
Exit Exit the SMC50WIN software.
Toolbar
Exit Exit the SMC50WIN software.
New Start a new program.
Open Open an existing program.
Save Save the current program.
Print Print the current program.
Calculator Open the desktop calculator.
Connect Establish communication with the controller.
July 2018

September 2012L010194 19
Tab Sheets
Motion Controls and executes motion on the controller.
Program Write and modify PCL501 stored programs.
Motion Tab Sheet
Set Accel/Decel Send acceleration & deceleration parameter to controller. (step/sec2)
Set Base Speed Send base speed parameter to the controller. (step/sec)
Set Max Speed Send maximum speed parameter to the controller. (step/sec)
Set Jog Speed Send jog speed parameter to the controller. (step/sec)
Set Position Set motor position.
Set Direction CW Set direction to clockwise.
Set Direction CCW Set direction to counter-clockwise.
Home using
(Home Switch)
Motor will seek the home position by moving towards home switch.
(One switch is required to stop anti-backlash)
Home using
(Soft and Home Switches)
Motor will seek the home position by moving towards home switch but motor
will slow down to base speed when the soft switch is triggered, following by
triggering the home switch to stop motion. (Two switches are required to stop)
Move number of steps below Motor will move number of steps entered.
Move to Position Motor will move to specied position.
Slew Motor will ramp up to maximum speed and keep moving until stop motion is
triggered.
Stop Motion Stop any motor motion.
Inputs View Inputs. (checked = On, blank = Off)
Outputs View and trigger outputs. (checked = ON, blank = OFF)
Verify Parameters Updates and displays controllers parameters sheet and resets the error codes.
July 2018

September 2012L010194 20
Motion Tab Sheet Tutorial
This tutorial will demonstrate the motion tab sheet:
1. Start the SMC50WIN software and power up the controller.
2. Click the connect icon and establish communications with the controller.
3. With the motion tab sheet displayed.
4. Enter 400 for the “Move number of steps below” button.
5. Click the “Move number of steps below” button, the motor should move 400 steps - 1
revolution on a 200 steps/rev motor running in half step mode.
Send Program to Controller Send current program to the controller.
View Program in Controller View program in the controller memory.
Enable Autostart Program will start when controller is powered up.
Disable Autostart Program will only execute when run is clicked.
Run Execute the program in the controller memory.
Stop Abort program execution.
Add Adds a new line of code to the end of the program.
Change Edits the currently selected line of code.
Insert Insert a new line of code before the currently selected line of code.
Delete Deletes the currently selected line of code.
Program Tab Sheet
July 2018
Table of contents
Other Anaheim Automation Controllers manuals

Anaheim Automation
Anaheim Automation MDC300-240081 Series User manual

Anaheim Automation
Anaheim Automation MDC100-050101USB User manual

Anaheim Automation
Anaheim Automation PCL511 User manual

Anaheim Automation
Anaheim Automation MDC151-024031 Series User manual

Anaheim Automation
Anaheim Automation MDC300-120301 Series User manual

Anaheim Automation
Anaheim Automation PROGRAMMABLE SIMPLE INDEXER/DRIVER MBC10SI1 User manual

Anaheim Automation
Anaheim Automation PCL501 User manual

Anaheim Automation
Anaheim Automation MICROSTEP DRIVER MDM40001 User manual

Anaheim Automation
Anaheim Automation MDCSL100-050301 User manual

Anaheim Automation
Anaheim Automation BSCKB1-120081 User manual