Anaheim Stepper DPC40501 Users Guide
Here you can view all the pages of manual Anaheim Stepper DPC40501 Users Guide. The Anaheim manuals for Stepper are available online for free. You can easily download all the documents as PDF.
Page 31
31 #L010089December 2001 P - Absolute Position Format: P [value] Description: This command calculates and sets the number of steps necessary to move to the specified position. (N=P-Z) Range: -8388608 - 8388607 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...
Page 32
32 #L010089December 2001 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...
Page 33
33 #L010089December 2001 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:...
Page 34
34 #L010089December 2001 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...
Page 35
35 #L010089December 2001 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...
Page 36
36 #L010089December 2001 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 #L010089December 2001 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 #L010089December 2001 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 #L010089December 2001 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 CD0I94 003JA4 1130 L03 C 4 223S L35 C 4 333MD4 443NE4 553OF4 663P05 773S35 883V65 993ZA5 A14!12 B24$42 F64+B2 G74-D2 H84.E2 Appendix 1: ASCII Table for Direct Mode
Page 40
40 #L010089December 2001 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...