7i96S card arrived what setup is recomended

More
4 years 1 month ago - 4 years 1 month ago #251218 by xenon-alien
We received 3 ph SSR (i think they are used) - D53TP50D Relay; SSR; Zero-Switching; Cur-Rtg 50A; Ctrl-V 3-32DC; Vol-Rtg 48-530AC; Pnl-Mnt.
But not really understand, are they OK?
Without load I see 220V. 
When I plug a load (soldering iron) I see 114v. (but the load not turns ON) With a 25W lamp the voltage is 0v.
When I turn on the SSR with 24v I see 220v and the load is turns on. (With a 25W lamp the voltage is 220v.)
So the question is, Can I use them for Turret CW/CCW switching 2 wires?
The output will look like (A2toA2) (B2toC2) (C2toB2) and goes to the turret 3 ph AC motor.
Wont it blow up (with those measurements)?
Last edit: 4 years 1 month ago by xenon-alien.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #251393 by xenon-alien

2) The Spindle Close-LoopThere is a simple 3 ph AC motor and inverter. They are connected and turning the Spindle CW/CCW.The Lathe has 3 speeds. On the first speed when I command to turn 200 rpm (almost 1:1 ratio), it's turning with 275  ±2rpm.The scaling not correct yet. I will do it soon.Is it possible to use the Close-Loop to use all speeds automatically, without using any other hal component.(the lathe config will upload on monday.) Here are the conf files.  

File Attachment:

File Name: Tok_N3_Rev...i96s.hal
File Size:13.78 KB
 

File Attachment:

File Name: Tok_N3_Rev...i96s.ini
File Size:3.92 KB
Hello.In the MAX_RPM = 2900 (in the ini  - the motor speed, but there are some ratio)
setp hm2_7i96s.0.pwmgen.00.scale [SPINDLE_0]MAX_RPM (in the hal)
I have 275  ±2rpm, when I command to turn 200 rpm.
But when I change the MAX_RPM = 2800 (2700) It should change the pwm.scale, but no effect. 
Then I command to turn 300 rpm I have 310  ±2rpm
Then I command to turn 400 rpm I have 425  ±2rpm
So I'm not really understand how to use the 7i96s functionality...
Or I have problems with the 10v output from the VFD  - 10.67v
200 rpm (Enc 270) - 0.75v
300 rpm (Enc 310) - 1.13v
400 rpm (Enc 420) - 1.51v
500 rpm (Enc 530) - 1.89v
Encoder showing correct numbers (270 rpm), I've tested it with an optical tachometer (270± rpm on the spindle).

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #251411 by PCW
The voltages look scaled correctly (200/2900 *10.67 = 0.735862069V so 0.75V is very close)
but its likely the VFD is not terribly linear at low speeds. MAX_RPM will change the PWM scaling
but if you need it to be more linear you may need to use some compensation like the lincurve
component (or run closed loop)
The following user(s) said Thank You: xenon-alien

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #251415 by xenon-alien

The voltages look scaled correctly (200/2900 *10.67 = 0.735862069V so 0.75V is very close)
but its likely the VFD is not terribly linear at low speeds. MAX_RPM will change the PWM scaling
but if you need it to be more linear you may need to use some compensation like the lincurve
component (or run closed loop)
Tomorrow I will try to change the scale from 2900 to 2000 to see some difference. (if it will be)
About lincurve component I will read.
Better is the closed loop, but i have no idea, how to make it work. (We have 3 speeds, but i think we will use only one)
Can you help me out with the closed loop?

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #252152 by andypugh

Can you help me out with the closed loop?
[/quote]

I found this wiki.linuxcnc.org/cgi-bin/wiki.pl?Closed...pindle_Speed_Control
But it is rather outdated, as it has all the old spindle pins (motion.spindle rather than spindle.0. A global change to the latter should help). Also it is using a software encoder, rather than a Mesa one.
The following user(s) said Thank You: xenon-alien

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #260320 by xenon-alien
Hello!

How much voltage can handle the analog output?
I saw min. 5v max. 18v in the manual.
We have an old lathe with ±15v output from the driver.
Can we use this voltage with scaling in the setup to have ±10v output?
The ±15v wont damage the analog I/O port?
 

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.504 seconds
Powered by Kunena Forum