Anaheim Discounted Package PKG342DPNPSCBL User Manual
Have a look at the manual Anaheim Discounted Package PKG342DPNPSCBL User Manual 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+.
41 Section 6: Troubleshooting Problem: Cannot establish communications with the DPN10601. Possible Solutions: 1) Make sure the DPN10601 controller has power. Is the controller’s Green LED on ? 2) Check the RS232/RS485 connections. 3) Check for loose cable connections either on the DPN10601 controller or COM Port. 4) Was the software installed successfully? 5) Go to Setup | Co m Port Settings and verify COM port setting. 6) Go to Setup | Axis and verify address settings are the same. 7) Click on Setup | Connect icon to communicate with the DPN10601 controller. 8) If problems still exist, contact Anaheim Automation Tech Support. 910 E Orangefair Lane Anaheim, CA 92801, USA www.anaheimautomation.com [email protected] Anaheim Automation Technical Assistance Problem: There is no power to the DPN10601 controller. Possible Solutions: 1) Is the DPN10601 controller connected to the appropriate power supply? 2) Check for any blown fuses in line with the DPN10601 controller . 3) If problems still exist, contact Anaheim Automation, Inc. 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.
42 Problem:The DPN10601 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 DPN10601 to clear an error . 3) Another way to clear an error is by using either the SMC60WIN software or the direct mode command instructions set. 4) The SMC60WIN can clear an error in the real time motion tab section by clicking on the verify parameters button. 5) The direct mode command “!” can clear an error by simply prompting the error code register to return the value back to the PC or PLC. 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. Error Codes Error Code TypeDescription 1 Receive Overflow Error The serial communications had a receiving error. This is an internal error caused by the computer. 2 Encoder Error 1 The encoder needed to correct the index. 4 Encoder Error 2 The encoder could not finish the index. Output 8 is set with this error . 8 Command Error A bad command was sent to the controller. Please check to see that the command being sent is valid. 16 Motor Error Motor speed profiles are set incorrectly. Please make sure that the base speed is less than the max speed and that the speeds are within their valid ranges. 32 Range Overflow Error The go to position has an overflow error. This is caused by the P command trying to find a position that is out of its range. 64 Range Error There was an invalid number of commands and characters sent to the controller . Check to see if the parameters are invalid for the command that was sent. 128 Transmitt Error To many parameters sent back to the PC. This is an internal error caused by the eeprom. 256 Mode Error Controller is in a wrong mode. Some commands are good only in programming mode, while others are good only in direct mode. Check the direct mode section to see which commands are good in direct mode. 512 Zero Parameters Error There were no parameters sent to the controller. A command was sent to the controller that expected to see parameters after the command. 1024 Busy Error The controller is busy indexing. The controller is sending out clocks to the driver and can not execute the next instruction. 2048 Memory Range Error The specified address is out of range. This is caused by overflowing the program memory by having a program that is to large. 4096 Memory Command Error The command pulled from memory is invalid. The command that was stored into the eeprom was non executable by the program. This is an internal error. 8192 Thumbwheel Read Error There was an error reading the thumbwheel or the thumbwheel is not present.
43 Section 7: Sample Programs Sample Program 1: Sample Program 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. 04000 8000 Start Initilize Values Move 4000 Steps Repeat Last Move Move to Position 0 then wait 500mSec Quit
44 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, loop routines and encoder routine. 0 Position (Home Position) 2” 4”6” 1st Position 2nd Position 3rd Position Labeler DryerCapper
45 Sample Program 3: Sample Program 3 illustrates the setup and operation of the output on the fly function, and the use of the if/then statement. The system is first homed using home type 0, waits for input 1 to be a value of 0 (grounded) and then is indexed 10,000 steps. During this index, output 1 needs to be turned on every 1000 steps 5 times starting at position 2000. At the end of the index, output 1 is then turned on again for 1 mS and the unit is then sent back the 10,000 steps to position 0, but the output should not be turned on. The unit then repeats waiting for input 1 to be 0 and indexes again.
46 Sample Program 4: Sample Program 4 illustrates the setup of the analog speed function and the use of “indexing-on-the-fly.” The system is first homed using home type 1. The next step is to wait for the input register to read 110111 (input 2 must be high while input 3 is low, all other inputs are not used and input 1 is masked high due to the analog function being used). The third step is to slew using the analog input as the maximum speed between 5000 and 10000 steps/revolution. When input 2 is switched low, the unit will index 2500 more steps and ramp down to base speed and stop. At the end of the index, output 1 will turn on for 100 mS. After the output is turned off the unit will be sent back to position 0. The program then is sent back to repeat itself, waiting for the input register to be 110111 again.
47 Sample Program 5: Sample Program 5 illustrates a typical 3 axis application where one DPN10601 (Axis 0) is controlling the other two axes (Axis 1 and Axis 2) by using the send text string commands. The program first sets the accelerations, base speeds and maximum speeds for each axis. It then is enabling Axis 0 and Axis 1 to use the thumbwheel switch that is connected to each unit for indexing. The direction is then set for Axis 0 and Axis 1 and these two axes are then told to index the distance set in each thumbwheel at the same time. The program then waits for the motion to finish before it tells Axis 2 to move. Axis 2 first moves in the negative direction waits for the index to finish, and then moves back in the positive direction. After Axis 2 is finished moving, Axis 0 and Axis 1 are both sent back to their zero positions at the same time. The program is then repeated.
48 ASCII SymboHex ValueASCII Symbol Hex ValueASCII Symbol Hex Value 0 30 J4A #23 1 31 K4B $24 2 32 L4C %25 3 33 M4D “27 4 34 N4E (28 5 35 O4F +2B 6 36 P50 ,2C 7 37 Q51 -2D 8 38 R52 .2E 9 39 S53 :3A A 41 T54 ;3B B 42 U55@40 C 43 V56 [5B D 44 W57 ]5D E 45 X58 ^5E F 46 Y59 {7B G 47 Z5A }7D H 48Carriage Return 0D~7E I 49 !21 Appendix: ASCII Table for Direct Mode