
adccommunitymod (AutomationDirect) asked a question.
Created Date: December 02,2011
Created By: mmainland
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Hello, We have been running a small fixture that has a 24vdc motor with a controller that uses a pot to control speed. The controller has an option to use a 0-5vdc in to control speed also. This is my first stab at using a analog output card (F0-04DAH-2) with a D0-05DR PLC. In stage S50 I want to output almost 5vdc (full speed) and then in stage S60 drop to very voltage (low RPM) and then stop in stage S70. I wont get the card untill next week, just thought I would like to know of any problems before hand. Thanks, Mark
Created Date: December 02,2011
Created by: mmainland
Sorry, here's the prg.
Created Date: December 02,2011
Created by: Bob S BN
The manual should be able to help you for the most part.
A couple of notes, this is a 16 bit output card , (0-65535 value = 0-10 volts) You will need to make sure your output value never goes over 32767 to keep your output limit to 5 volts.
You can use the scaling examples to perhaps simplify your logic with a more useful number (such as rpm or inches per minute) and then scale that number to the appropriate output card value at the end.
Watch your number type (BCD or Binary) and make sure you doing all calculations in the proper type.
Good Luck, hope this helps a bit,
Oh, I see you just attached a program, I'll take a look at it.
Created Date: December 02,2011
Created by: Bob S BN
You have you output module set up to look for the output value starting at V2100. You are writing your speed values to V3000 in the program. You need to write your speed values to the same address that the module is assigned to.
Either change the module set up to V3000, or do your speed writes to V2100.
Created Date: December 02,2011
Created by: mmainland
Thanks Bob!
Created Date: December 05,2011
Created by: mmainland
I 've installed my analog output module. One thing I 've noticed right away is when I apply power to the PLC either in run or term mode the analog output module will output the 4.8vdc right away. What I am looking for is full speed in stage 50, about 4.8vdc and in stage 60 very low speed and stop the motor in stage 70. What am I missing?
Thanks,
Mark
Created Date: December 05,2011
Created by: Bob S BN
What value was already in your speed reference vmemory location (use "dataview ").
You may want to (should to be on the safe side) create a rung that checks for the first scan bit ( sp0 ) contact to LDD zero and OUTD to V3000, or whatever memory location you ended up using. Put this rung at the beginning of your program next to your Analog module set up rung. (internally that IBOX also uses the first scan bit to set up the module)
Created Date: December 05,2011
Created by: mmainland
Bob, That was it! Thank you very much for your help!
Mark
Created Date: December 02,2011
Created by: mmainland
Hello,
We have been running a small fixture that has a 24vdc motor with a controller that uses a pot to control speed. The controller has an option to use a 0-5vdc in to control speed also. This is my first stab at using a analog output card (F0-04DAH-2) with a D0-05DR PLC. In stage S50 I want to output almost 5vdc (full speed) and then in stage S60 drop to very voltage (low RPM) and then stop in stage S70. I wont get the card untill next week, just thought I would like to know of any problems before hand.
Thanks,
Mark