Anaheim Stepper DPC40511 Users Guide
Have a look at the manual Anaheim Stepper DPC40511 Users Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 523 Anaheim manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
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 motion) or LS (soft limit). Motion can also be stopped by using the limit switch inputs. The ramp profile is specified by the B (base speed), M (max speed), and A (acceleration/deceleration) commands. J - Jog Speed Format: J [value] Description: This command sets the jog speed. This value must be greater than the base speed. Range: 77 - 15000
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 and stop upon release of the home limit input. . - Stop Motion Format: . Description: This command will stop all motion. It can also be used to stop the current program that is running. + - Clockwise Format: + Description: This command sets the direction output to clockwise. - - Counter-Clockwise Format: - Description: This command sets the direction output to counterclockwise. V - Verify Format: V [command] Description: This command can be used with most commands to verify the register contents. This is a read only command. Valid Commands are: A, B, F, J, M, N, 0, and +.
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 command sets the outputs according to the binary value. Output 1 is the LSB and output 2 is the MSB. Range: 0 - 3 L0 - Get Limit Status Format: L0 Description: This command returns the binary value of the hard and soft in a binary format. The soft limit is the LSB and the hard limit is the MSB. LS - Soft Limit Input Bit Format: LS Description: This command will ramp the clocks down to base speed. The move type then de- termines what will happen. In a relative or absolute type motion the controller will continue to the set position and stop. In a slew type motion the controller will ramp down and stop.
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 address. 7) Go to Setup | Axis and verify address setting. 8) Click on Connect icon to communicate with the controller. 9) If problems still exist, contact Anaheim Automation Tech Support... Problem: There is no power to the controller. Possible Solutions: 1) Is the driver pack connected to the appropriate power supply? 2) Check the driver pack’s fuse. 3) If problems still exist, contact Anaheim Automation Tech Support. Problem: My program won’t “Autostart”. Possible Solutions: 1) Verify that the Autostart Function has been enabled. 2) Go to Setup | Autostart Program and Click on Enable. 3) If problems still exist, contact Anaheim Automation Tech Support. 910 East Orang 910 East Orang910 East Orang 910 East Orang 910 East Orang efair Lane efair Laneefair Lane efair Lane efair Lane Anaheim, CA, 92801-1195 Anaheim, CA, 92801-1195Anaheim, CA, 92801-1195 Anaheim, CA, 92801-1195 Anaheim, CA, 92801-1195 phone: (714) 992-6990 phone: (714) 992-6990phone: (714) 992-6990 phone: (714) 992-6990 phone: (714) 992-6990 fax: (714) 992-0471 fax: (714) 992-0471fax: (714) 992-0471 fax: (714) 992-0471 fax: (714) 992-0471 www wwwwww www www .anaheimautomation.com .anaheimautomation.com.anaheimautomation.com .anaheimautomation.com .anaheimautomation.comAnaheim A Anaheim AAnaheim A Anaheim A Anaheim A utomation utomationutomation utomation utomation T TT T T ec ecec ec ec h Suppor h Supporh Suppor h Suppor h Suppor t: t: t: t: t:
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 error by simply prompting the error codes register. Example: @0! (carriage return) Description: Select the unit address by typing @ followed by the address number and ! (Error Codes Register) and a carriage return. Note: Read the Error returned to the screen to better understand what can be causing the fault condition. The error is returned in binary coded decimal format. If two errors were received their binary values would be added together. e d o C r o r r Ee p y Tn o i t p i r c s e D 1e v e i c e R r o r r E w o l f r e v Or o r r e l a n r e t n i n a s i s i h T . r o r r e g n i v e i c e r a d a h s n o i t a c i n u m m o c l a i r e s e h T . r e t u p m o c e h t y b d e s u a c 4ro r r E d n a m m o Ce h t t a h t e e s o t k c e h c e s a e l P . r e l l o r t n o c e h t o t t n e s s a w d n a m m o c d a b A . d i l a v s i t n e s g n i e b d n a m m o c 6 1ro r r E r o t o Md e e p s e s a b e h t t a h t e r u s e k a m e s a e l P . y l t c e r r o c n i t e s e r a s e l i f o r p d e e p s r o t o M . s e g n a r d i l a v r i e h t n i h t i w e r a s d e e p s e h t t a h t d n a d e e p s x a m e h t n a h t s s e l s i 4 6ro r r E e g n a R. r e l l o r t n o c e h t o t t n e s s r e t c a r a h c d n a s d n a m m o c f o r e b m u n d i l a v n i n a s a w e r e h T . t n e s s a w t a h t d n a m m o c e h t r o f d i l a v n i e r a s r e t e m a r a p e h t f i e e s o t k c e h C 8 2 1ro r r E t t i m s n a r Te h t y b d e s u a c r o r r e l a n r e t n i n a s i s i h T . C P e h t o t k c a b t n e s s r e t e m a r a p y n a m o T . m o r p e e 6 5 2ro r r E e d o Mg n i m m a r g o r p n i y l n o d o o g e r a s d n a m m o c e m o S . e d o m g n o r w n i s i r e l l o r t n o C n o i t c e s e d o m t c e r i d e h t k c e h C . e d o m t c e r i d n i y l n o d o o g e r a s r e h t o e l i h w , e d o m . e d o m t c e r i d n i d o o g e r a s d n a m m o c h c i h w e e s o t 2 1 5s r e t e m a r a P o r e Z r o r r Ee h t o t t n e s s a w d n a m m o c A . r e l l o r t n o c e h t o t t n e s s r e t e m a r a p o n e r e w e r e h T . d n a m m o c e h t r e t f a s r e t e m a r a p e e s o t d e t c e p x e t a h t r e l l o r t n o c 8 4 0 2e g n a R y r o m e M r o r r Ee h t g n i w o l f r e v o y b d e s u a c s i s i h T . e g n a r f o t u o s i s s e r d d a d e i f i c e p s e h T . e g r a l o t s i t a h t m a r g o r p a g n i v a h y b y r o m e m m a r g o r p 6 9 0 4y r o m e M r o r r E d n a m m o Co t n i d e r o t s s a w t a h t d n a m m o c e h T . d i l a v n i s i y r o m e m m o r f d e l l u p d n a m m o c e h T . r o r r e l a n r e t n i n a s i s i h T . m a r g o r p e h t y b e l b a t u c e x e n o n s a w m o r p e e e h t 2 9 1 8ro r r E y s u Br e v i r d e h t o t s k c o l c t u o g n i d n e s s i r e l l o r t n o c e h T . g n i x e d n i y s u b s i r e l l o r t n o c e h T . n o i t c u r t s n i t x e n e h t e t u c e x e t o n n a c d n a Error Codes
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
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
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
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
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. Disclaimer Though every effort has been made to supply complete and accurate information in this manual, the contents are subject to change without notice or obligation to inform the buyer. In no event will Anaheim Automation be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or inability to use the product or documentation. Limited Warranty All Anaheim Automation products are warranted against defects in workmanship, materials and construction, when used under Normal Operating Conditions and when used in accordance with specifications. This warranty shall be in effect for a period of twelve months from the date of purchase or eighteen months from the date of manufacture, whichever comes first. Warranty provisions may be voided if the products are subjected to physical damage or abuse. Anaheim Automation will repair or replace at its option, any of its products which have been found to be defective and are within the warranty period, provided that the item is shipped freight prepaid, with RMA (return material authorization), to Anaheim Automation’s plant in Anaheim, California. Trademarks Control Link and Driver Pack are registered trademarks of Anaheim Automation. IBM PC is a registered trademark of International Business Machines, Inc. ANAHEIM AUTOMATION