Help with Eumach MC-800P retrofiting to OAK.

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

jhlarsen
Posts: 22
Joined: Mon Jan 18, 2021 6:19 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: 0008DC111213-1202201060
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Help with Eumach MC-800P retrofiting to OAK.

Post by jhlarsen »

Hello everyone,

I need some help getting my cnc retrofit project to work.
The machine is an Eumach MC-800P retrofitted with OAK and using the Oem Simodrive 611 to control the servos and the spindle. the servos is fitted with centroids 10000line encoders. For now i have the servos not attached to the machine to test them but I'm having problems to get the oak to send out the +-10v to drive them. i have the flying leads cable.

The thing i need help with right now is the how and what to connect to the Simodrive 611 to get it all to work correctly?
Since the servo drives needed +24v to enable i had to use a solid state relay between the flying lead and the drive. The problem now it seams is that it takes to long to enable the drive so i get a drive fault, but if i latch the drive enable signal i get the solid state to hold and then i can take the latch away and it works fine. so i think the fault input needs to be on some millisecond delay timer?

I did get the spindle to run cw and ccw with the +-10v but having som problems on the spindle brake "fast stop". it seems that i have to use an output to enable/disable that function, is that possible?

Here is a link to all the manuals, pic and schematic of the machine.
https://1drv.ms/u/s!AvXHYRwqi6XXtyfalEX ... Q?e=Wc5vcQ

Hope someone can help me in the right direction with my project.

Best Regards,
Jim-Hugo Larsen
Norway

Image
Attachments
report_0008DC111213-1202201060_2021-08-31_13-50-14.zip
(526.25 KiB) Downloaded 79 times
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Help with Eumach MC-800P retrofiting to OAK.

Post by cncsnw »

Is it the case that the drive does not close its "okay" signal until after you give it an "enable" signal?

If so, then you can add a delay timer to the fault detection logic.

For example, in your current "AxesEnableStage" you have logic like the following for each axis:

Code: Select all

IF SV_AXIS_VALID_1 && SV_PC_POWER_AXIS_1 && !Axis1DriveOk_M
  THEN FaultMsg_W = AXIS1_DRIVE_FAULT_C, ; 6401(1+256*25)
    SET AxisFault_M,
    SET Axis1Fault_M
You would need to add an axis-enabled timer for each axis, up in the "Timer Definitions" section. For example:

Code: Select all

Axis1Enabled_T  IS T51
Axis2Enabled_T  IS T52
Axis3Enabled_T  IS T53
Then, in AxesEnableStage, you would revise the logic to keep track of the time that each axis has been enabled, and only fault if the drive is not okay after that amount of time has elapsed:

Code: Select all

IF SV_PC_POWER_AXIS_1 THEN Axis1Enabled_T = 50, SET Axis1Enabled_T
IF !SV_PC_POWER_AXIS_1 THEN RST Axis1Enabled_T
IF Axis1Enabled_T && !Axis1DriveOk_M
  THEN FaultMsg_W = AXIS1_DRIVE_FAULT_C, ; 6401(1+256*25)
    SET AxisFault_M,
    SET Axis1Fault_M
... and similarly for each additional axis that is connected.

Note that the dependency on "SV_AXIS_VALID_n" can be omitted, since it is a given that CNC12 will not try to power an axis that is not valid.

In the example above, the allowed time is 50ms. You could use a Machine Parameter value instead (e.g. "Axis1Enabled_T = SV_MACHINE_PARAMETER_700" to make it easier to experiment and adjust. You can use the PLC Detective Logic Analyzer to find out how long it does typically take for each drive to close its "okay" signal after it is enabled.
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Help with Eumach MC-800P retrofiting to OAK.

Post by cncsnw »

Do you have a diagram or picture showing how you connected the Oak flying-lead cable to the Siemens drive terminals, including your interface relay?
jhlarsen
Posts: 22
Joined: Mon Jan 18, 2021 6:19 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: 0008DC111213-1202201060
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Help with Eumach MC-800P retrofiting to OAK.

Post by jhlarsen »

this is the relay i use:
https://www.phoenixcontact.com/online/p ... usen&tab=1

Here is a drawing of the wiring diagram
Simodrive 611 wiring.pdf
(13.2 KiB) Downloaded 104 times
jhlarsen
Posts: 22
Joined: Mon Jan 18, 2021 6:19 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: 0008DC111213-1202201060
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Help with Eumach MC-800P retrofiting to OAK.

Post by jhlarsen »

Do i have to set some delay on the spindel fault also?
20210901_195442.jpg
20210901_195456.jpg
jhlarsen
Posts: 22
Joined: Mon Jan 18, 2021 6:19 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: 0008DC111213-1202201060
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Help with Eumach MC-800P retrofiting to OAK.

Post by jhlarsen »

If i remove the fault out from the vfd all works perfect.
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Help with Eumach MC-800P retrofiting to OAK.

Post by cncsnw »

Yes, you probably need a timer there too. It also looks like you will need to un-invert INP10.
jhlarsen
Posts: 22
Joined: Mon Jan 18, 2021 6:19 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: 0008DC111213-1202201060
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Help with Eumach MC-800P retrofiting to OAK.

Post by jhlarsen »

Did get this to compile👍

What is going on here? Did not write anything on those lines??
16306095499185578245132681599619.jpg
jhlarsen
Posts: 22
Joined: Mon Jan 18, 2021 6:19 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: 0008DC111213-1202201060
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Help with Eumach MC-800P retrofiting to OAK.

Post by jhlarsen »

I can't get the axis to move at all, i don't get any output to drive it. What leads do i use on the flying leads axis header? Do i have to do more then activate output 15 and 16 to get the +-10V to the servodrives?
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Help with Eumach MC-800P retrofiting to OAK.

Post by cncsnw »

Regarding the compile error that is preventing your PLC program from compiling: it looks like you inadvertently deleted or changed the definitions for OUT15 and OUT16, around lines 390 and 391.

If you cannot find the error, post a fresh report so we can look at your PLC program source file.
Post Reply