[Emc-users] absolute analog output signal 0 - 10 V

2009-01-08 Thread Marko Bukovinsky
how to change this code into abosolute 0 - 10 Volt output?

loadrt scale count=1
addf scale.0 servo-thread
setp scale.0.gain  -0.004
net spindle-speed-scale motion.spindle-speed-out => scale.0.in
net spindle-speed-DAC scale.0.out => m5i20.0.dac-03-out

This works but when i use M4 S i get negative voltage output.

My VFD acceppt 0 - 10 Volt.

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] spindle speed in PID mode

2009-01-19 Thread Marko Bukovinsky
This is my code

spindle.hal

loadrt threads name1=slow-thread period1=1
loadrt ddt count=1
addf ddt.0 slow-thread
net SpindleRevs m5i20.0.enc-03-position => motion.spindle-revs ddt.0.in
net SpindleSpeedRps ddt.0.out => motion.spindle-speed-in


# VFD spindle 0-10V control absolute
# route speed command through abs block to get 0-10V
loadrt abs
addf abs.0 servo-thread
net spindle-rpm-cmd motion.spindle-speed-out => abs.0.in
net spindle-rpm-cmd-abs abs.0.out => m5i20.0.dac-03-value
# scale factor converts RPM into DAC volts
setp m5i20.0.dac-03-gain [SPINDLE]DAC_SCALE

net spindle-on motion.spindle-on => m5i20.0.dac-03-enable

#pid spindle speed
net spindle-rpm-cmd => pid.3.command
net SpindleSpeedRps <= pid.3.feedback
net spindle-on => pid.3.enable

#turning pid parameters
setp pid.3.Pgain [SPINDLE]P
setp pid.3.Igain [SPINDLE]I
setp pid.3.Dgain [SPINDLE]D
setp pid.3.deadband [SPINDLE]DEADBAND
setp pid.3.maxoutput [SPINDLE]MAX_OUTPUT

net spindle-rpm-cmd-abs => pid.3.output

m5i20.ini

[SPINDLE]
# Encoder
INPUT_SCALE =   -4096
# DAC output to VFD
DAC_SCALE = -0.04
OUTPUT_OFFSET = 0
MAX_OUTPUT =10
# PID tuning params
DEADBAND =  1.
P = 0
I = 0
D = 0


Would this work or it woun't, becouse spindle-speed-in is in
rev/second and not in rev/minute?

Will i have to use gain and multiply spindle-speed-in * 60 ?

I would like to thank you all to help me configure ' absolute spindle
output 0 - 10 Volt ' my last question .

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Pluto-P board question ?

2009-03-24 Thread Marko Bukovinsky
What is the maximum counts / second Pluto - P can accept?

I need 2 counts/ rev so , can i use encoder with 5000 pulses ?

Machine will have max 15m/min rapid move. motor 1500 rpm and 2
counts ( x 4 ) will pruduce 50 pulses/ second. Is this acceptable

Regards,

Marko

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] parport linking to classicladder

2009-05-23 Thread Marko Bukovinsky
I have got problems with linking pins with classicladder.

Could you give me an example with input and output.

I will have pins 2 - 13, 15 input and 1,14,16,17 outputs; 
tool1 - pin 2 , tool2 - pin 3, etc.

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] auto PID tunning

2009-09-09 Thread Marko Bukovinsky
Hello!

Anyone has tried or is useing auto PID tunning function? It is very interesant 
to me and i plan to use it makeing a close loop servo controll with Pluto-P 
board and home made H-bridge. There should be no tracking error.
Anyone has got any expirience in that?

Regards,

Marko 
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] auto PID tunning

2009-10-18 Thread Marko Bukovinsky
How to use and set tune-mode to true and tune-start ?

I wrote : net X-axis pid.0.tune-mode  and no errors but i don't know if its 
working and right.

Regards,

Marko
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users