Anaheim Stepper DPC40511 Users Guide
Here you can view all the pages of manual Anaheim Stepper DPC40511 Users Guide. The Anaheim manuals for Stepper are available online for free. You can easily download all the documents as PDF.
Page 31
31 #L010119May 2002 N - Number of Steps Format: N [value] Description: This command sets the number of clocks for the controller to send out following a G command. Range: 0 - 8388607 G - Go Number of Steps Format: G Description: This command is used to send a set number of clocks out of the controller. An N or P command must be entered before the G command. S - Go Slew Format : S Description: This command will send clocks out to the controller. The only commands that can stop the clocks are; . (stop...
Page 32
32 #L010119May 2002 H - Home Format: H [binary] Description: This command sends clocks out of the controller until the home limit or the soft limit is active. There are two types of homing available. Home Types: H0: In type 0 homing, the controller will send clocks until a soft limit is reached, then ramp down to base speed. Clocks will continue until a home or hard limit is reached. H1: In type 1 homing, the unit will move until a home limit is reached, then change directions, ramp down to base speed...
Page 33
33 #L010119May 2002 I - Read Inputs Format: I Description: This command returns the binary value of the inputs to the PC. Since the inputs are pulled up internally, they will return a high when they are pulled low. For example, if all inputs are active (grounded), the command will return a 15. If all inputs are inactive (open), the command will return a 0. Input 1 is the LSB, input 2 is the second bit, input 3 is the third bit, and input 4 is the MSB. O - Set Outputs Format: O [value] Description: This...
Page 34
34 #L010119May 2002 Section 5: Troubleshooting Problem: Can not establish communications with the controller. Possible Solutions: 1) Make sure the controller has power. Is the green LED on? 2) Check RS485 connections. 3) Check for loose cable connection either on the controller or COM Port. 4) Was the software installed successfully? 5) Go to Setup | Communication Settings and verify COM port and baud rate settings. 6) Physically verify that the axis address matches with the controller unit selected...
Page 35
35 #L010119May 2002 Problem: The Controller has a fault condition. Possible Solutions: 1) Verify your program for improper syntax that may cause an error code. 2) Physically press the reset button on the controller to clear an error. 3) Another way to clear an error is by using either the SMC50WIN software or the direct mode command instructions set. 4) The SMC50WIN can clear an error in the motion tab section by clicking on the verify param- eters button. 5) The direct mode commands can clear an...
Page 36
36 #L010119May 2002 Section 6: Tutorial Sample Program 1: Sample 1 illustrates a typical application where a system moves to a specific position required. The sample program shows how to use the motion and goto instruction commands. 0 4000 8000 Start Initiate Values Move 4000 Steps Repeat Last Move Move to Position 0 Quit
Page 37
37 #L010119May 2002 Sample Program 2: Sample program 2 illustrates a typical application where a system is first sent home to a datum or 0 position. This sample program shows how a motor will move to 3 different positions utilizing some of the motion commands and loop routine. 0 Position (Home Position)2” 4”6” 1st Position2nd Position3rd Position Labeler Dryer Capper
Page 38
38 #L010119May 2002 Start Initialize Parameters Move to 1st Position (Labeler) Move to 2nd Position (Dryer) Move to 3rd Position (Capper) Quit Delay 1 Sec Loop 3 Times Home to Position 0
Page 39
39 #L010119May 2002 Appendix 1: ASCII Table for Direct Mode l o b m y S I I C S Ae u l a V x e Hl o b m y S I I C S Ae u l a V x e H n r u t e R e g a i r r a CD0H84 003I94 113JA4 2230 L03 C 4 333S L35 C 4 443MD4 553NE4 663OF4 773S35 883V65 993!12 A14$42 B24+B2 F64-D2 G74.E2
Page 40
40 #L010119May 2002 Copyright Copyright 2001 by Anaheim Automation. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual, or otherwise, without the prior written permission of Anaheim Automation, 910 East Orangefair Lane, CA, 92801. The only exception to this would be use of the program examples in this manual....