PDA

View Full Version : CSMIO IP-M how to connect emergency stop ... help please



SaporeCNC
09-06-2018, 09:30 AM
Hi, I'm all doing a homemade CNC router and I'm in the final stage of my project, I have a CSMIO IP-M controller and I do not understand how to connect the emergency stop and the limit switches to the controller,

1- the idea is to do it directly without the PILZ relay ... is this possible?
or do you have to use the PILZ relay if or if?

2- the limit switches are PNP sensors can someone help me how to connect it?

I hope your collaboration !!!

thank you very much :smug::smug:
Greetings Jorge

JAZZCNC
09-06-2018, 06:05 PM
Hi Jorge,

To be completely safe you really should use hardware controlled E-stop safety circuit however you don't need to use an expensive Pilz relay, you can use an ordinary relay and create your own latching circuit. Just make sure the Contacts are rated to suit the current your pulling.

Here's a diagram showing how to do it using standard 4pole 24Vdc relay. The spare contact can be used to inform VFD that E-stop occured so shuts spindle down or to control other relays etc.

Also included wiring for PNP sensors.

24386

SaporeCNC
09-06-2018, 09:42 PM
Hi Jorge,

To be completely safe you really should use hardware controlled E-stop safety circuit however you don't need to use an expensive Pilz relay, you can use an ordinary relay and create your own latching circuit. Just make sure the Contacts are rated to suit the current your pulling.

Here's a diagram showing how to do it using standard 4pole 24Vdc relay. The spare contact can be used to inform VFD that E-stop occured so shuts spindle down or to control other relays etc.

Also included wiring for PNP sensors.

24386


JAZZ, I appreciate your description and the diagram you send me !!! :thumsup::thumsup:

forgive my ignorance in the electronic and my translation into English

I have several questions

1- the "Motor PSU" that works meets ?? in the circuit...

2- The VFD connection how do I do it? ...

3- I send you a diagram of how it would look to see if it is ok, since I have several PNP sensors (Y-A-X axes) and 2 mechanical switches on the Z axis

4- the Z axis switches how do I connect them?

thank you very much !!!
I've visited your Youtuve channel ... very good
https://www.youtube.com/watch?v=mNZ4wOTg8jE&t=13s

24390

JAZZCNC
10-06-2018, 03:04 PM
See new drawing.

Regards the Limit switches I just want to make you aware that can use just one switch that moves with the axis and sense targets at each end of travel. This lowers the number of switches required to one for each axis and less wiring required which means lower chance of faults.

Each switch can also share the homing and limit switch dutys.
.If want to use this method then wire limits like in my first drawing. Set Limits and homes for each axis to same pin number in mach3 and then go to general config and turn off Home SW safety option.

In this new drawing the VFD is stopped if E-stop occurs. Also VFD will tell the controller if VFD faults. For this to work you will need to enable Spindle fault detection and set the Input # used.

24393

SaporeCNC
12-06-2018, 12:47 AM
Jazz thank you again for your time and dedication !!! :smug::smug:
sorry to bother you once again ... I have a homemade cnc with electronic Leadshine HBS86H drivers and 86HBM80-01-1000 engines with encoders and the IPM controller as mentioned before.

I have everything connected X-Y-Z-A

I configure everything according to your video in youtuve
(https://www.youtube.com/watch?v=mNZ4wOTg8jE&t=35s)

axes-------------------------------------IPM pins
X channel 0----------------------------- 1-2 14-15
Y channel 1----------------------------- 3-4 16-17
Z channel 2----------------------------- 5-6 18-19
A channel 3 (slave of Y)----------------- 7-8 20-21

when feeding the drivers everything perfect, I move with the keyboard the X and Z axes
but I try to move the Y-A axes and the alarm of both drivers goes off

I manually move the axes without any problem

I am doing something wrong ? What could the alarm be triggered? :grumpy:

Thanks for reading and helping in my consultations

Greetings Jorge

JAZZCNC
12-06-2018, 05:32 PM
Hi jorge,

Ok well first let me say that the video wasn't done to show anyone how to wire drives etc, it was done just to show that slaving works and it's shortfalls. Also if you have understood my Yorkshire accent then very well done because people only 30km away usually struggle. . . Lol

Why you are having problems could be one of several reasons.
First check motor outputs are wired correctly. See below.
CH0 Dir (+) = 1 Dir (-) = 14 Step (+) = 2 Step (-) = 15
CH1 Dir (+) = 3 Dir (-) = 16 step (+) = 4 step (-) = 17
CH2 Dir (+) = 5 Dir (-) = 18 step (+) = 6 step (-) = 19
CH3 Dir (+) = 7 Dir (-) = 20 step (+) = 8 step (-) = 21

Next could be Motor phase wiring is wrong so check the motor wires are correct. The sequence and frequency of flashing LED lights should tell you fault code. Check the manual for fault codes.

Next check the Current settings on the drives just in case you have them set to very low current setting and the motors are stalling, the fault codes should tell you this.

If this doesn't work then take pictures of the wiring or make video and post here.

SaporeCNC
12-06-2018, 10:32 PM
Hello JAZZ the red LED flashes 7 times in a row and the photo indicates the error but I do not understand what it can be? :apologetic::apologetic:

Thank you !!!
regards

JAZZCNC
12-06-2018, 10:44 PM
Hello JAZZ the red LED flashes 7 times in a row and the photo indicates the error but I do not understand what it can be? :apologetic::apologetic:

Thank you !!!
regards

This indicates it's an encoder error so check the encoder wires are correct.

SaporeCNC
13-06-2018, 02:45 AM
Friend all solved the shafts move perfect, it was an encoder cable that was disconnected !!! :yahoo::yahoo:

in the next few days I connect the e-stop, the end of the race and the VFD ... any doubts you may have and you can be disturbed again with some other question

from now I appreciate your dedication and wisdom in answering my questions and solving the problems I had due to lack of experience in the construction of my cnc router :thumsup:

again thanks for everything
Greetings Jorge

SaporeCNC
28-06-2018, 04:39 AM
Hello everyone

I mention my problem I have connected the spindle vfd and when I turn with the mach3 it only travels
at 12000 rpm and I can not vary its speed ...
Anyone know what might be happening ??

Thank you
regards

Clive S
28-06-2018, 06:53 AM
Hello everyone

I mention my problem I have connected the spindle vfd and when I turn with the mach3 it only travels
at 12000 rpm and I can not vary its speed ...
Anyone know what might be happening ??

Thank you
regards

Can you give details of how you have connected it and have you changed any parameters in the VFD

JAZZCNC
28-06-2018, 10:12 AM
Hello everyone

I mention my problem I have connected the spindle vfd and when I turn with the mach3 it only travels
at 12000 rpm and I can not vary its speed ...
Anyone know what might be happening ??

Thank you
regards

First have you enabled the Spindle and set Analog output pin in the plug-in. Until this is done you won't be able to control the speed.
In the plug-in there is also a setting for Acceleration/deceleration set this to 24000.
You will also need to set the pulley speeds in Mach3 and setup the spindle in ports & pins.

Also check the VFD accepts 0-10v and not 0-5v. Some VFD's can be set to use either.

SaporeCNC
28-06-2018, 10:26 PM
Hello, thank you for your time :beer:

I pass the parameters that you enter in the VFD and I also add an attachment with the wiring of the VDF HY 3Kw 220v to the CSmioIPM and the data that you enter in the Mach3

I hope you can guide me and see why I turn the engine only at 12000 rpm

thank you very much
regards


Pd001 - 1
PD002 - 1
PD003 - 300 (frecuencia predeterminada)
PD004 - 300 (frecuencia nominal)
PD005 - 300 (frecuencia de gama alta)
PD008 - 220 (voltaje de gama alta)
PD009 - 15 (voltaje del extremo medio)
PD010 - 8 (voltaje de baja tensión)
PD011 - 200 (frecuencia mínima permitida)
PD014 - 4 (tiempo de aceleración)
PD015 - 6 (tiempo de desaceleración)
PD046 - 9
PD052 - 2
PD070 - 0 (entrada de control de velocidad)
PD072 - 300 (frecuencia alta)
PD141 - 220 (Voltaje nominal del husillo)
PD142 - 8.6 (Amperaje nominal del husillo)
PD143 - 2 (Número de polos)
PD144 - 3000

gracias !!!

24487

Clive S
28-06-2018, 11:10 PM
Pd001 - 1
PD002 - 1
PD003 - 300 (frecuencia predeterminada)
PD004 - 300 (frecuencia nominal)
PD005 - 300 (frecuencia de gama alta)
PD008 - 220 (voltaje de gama alta)
PD009 - 15 (voltaje del extremo medio)
PD010 - 8 (voltaje de baja tensión)
PD011 - 200 (frecuencia mínima permitida)
PD014 - 4 (tiempo de aceleración)
PD015 - 6 (tiempo de desaceleración)
PD046 - 9
PD052 - 2
PD070 - 0 (entrada de control de velocidad)
PD072 - 300 (frecuencia alta)
PD141 - 220 (Voltaje nominal del husillo)
PD142 - 8.6 (Amperaje nominal del husillo)
PD143 - 2 (Número de polos)
PD144 - 3000

check PD002 If it is set to one then check the jumper next to the screw terminals that you have to set. If it is on the right pair , the control is via the front knob. If it is on the left pair the control is via an external pot connected to the screw terminals.

PD003, 4 , 5 I think should be 400

PD142 is the current rating for the spindle if its 3Kw try about 13 2.2Kw would be about 10

SaporeCNC
29-06-2018, 11:27 AM
Hello, thanks for the answer
I still have no result, some other advice!

regards

Clive S
29-06-2018, 12:45 PM
Hello, thanks for the answer
I still have no result, some other advice!

regards

Ok then, what how have you wired it? have you changed the parameters in the VFD. No one has a crystal ball!!

SaporeCNC
30-06-2018, 12:27 AM
hello if you change them and nothing like the same always rotates at the same speed ...

in a previous post is the scheme of the connection and the parameters you enter in Mach 3