Oak Axis Fault In Invert
Moderator: cnckeith
-
- Posts: 8
- Joined: Tue Jun 13, 2023 8:30 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Oak Axis Fault In Invert
I am currently retrofitting a Cincinnati Arrow1000. The old Acramatic 2100 system utilized Vickers (Kollmorgen) BDS4 drives for the axis motors. I have gotten my flying lead wired in. I have working position tracking, drive enable signal, and jog function. My problem is the the BDS4 output fault line I need to use for the Oak fault in (XAxisDriveOK_M in realtime I/O display) is inverted from what the Oak wants. Oak wants to see it pull up for fault and the BDS4 pulls down for fault. I've looked around the parameter definitions in the manual but don't seem to be finding what I need. In Is there a parameter to invert this field?
I have it disconnected right now to make the oak happy while I continue other parts of the install. Worse case I believe I can just pick up a transistor and invert the signal. But, would obviously prefer to just switch a parameter setting.
I have it disconnected right now to make the oak happy while I continue other parts of the install. Worse case I believe I can just pick up a transistor and invert the signal. But, would obviously prefer to just switch a parameter setting.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: Oak Axis Fault In Invert
You can invert it easily enough in the PLC program.
In the fault-checking section in MainStage, look for a block of lines something like this:
And change it to read like this:
This assumes, of course, that your drives actively pull the line low in case of fault (rather than a PNP output that just pulls it high when all is well).
In the fault-checking section in MainStage, look for a block of lines something like this:
Code: Select all
IF !Axis1DriveALM_M THEN (Axis1DriveOk_M)
IF !Axis2DriveALM_M THEN (Axis2DriveOk_M)
IF !Axis3DriveALM_M THEN (Axis3DriveOk_M)
IF !Axis4DriveALM_M THEN (Axis4DriveOk_M)
IF !Axis5DriveALM_M THEN (Axis5DriveOk_M)
IF !Axis6DriveALM_M THEN (Axis6DriveOk_M)
IF !Axis7DriveALM_M THEN (Axis7DriveOk_M)
IF !Axis8DriveALM_M THEN (Axis8DriveOk_M)
Code: Select all
IF Axis1DriveALM_M THEN (Axis1DriveOk_M)
IF Axis2DriveALM_M THEN (Axis2DriveOk_M)
IF Axis3DriveALM_M THEN (Axis3DriveOk_M)
IF Axis4DriveALM_M THEN (Axis4DriveOk_M)
IF Axis5DriveALM_M THEN (Axis5DriveOk_M)
IF Axis6DriveALM_M THEN (Axis6DriveOk_M)
IF Axis7DriveALM_M THEN (Axis7DriveOk_M)
IF Axis8DriveALM_M THEN (Axis8DriveOk_M)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 8
- Joined: Tue Jun 13, 2023 8:30 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Oak Axis Fault In Invert
.
Last edited by bizarrecustoms on Wed Jun 28, 2023 11:55 am, edited 1 time in total.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 8
- Joined: Tue Jun 13, 2023 8:30 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Oak Axis Fault In Invert
I did this in Notepad++ (configured per TSB) and after compiling and relaunching CNC12 I get a time out and application close upon "Initializing MPU" when starting the program. I even reverted the changes back and recompiled and same. I assume I missed something stupid. I will have to play around and figure out what I messed up so I can confirm.cncsnw wrote: ↑Tue Jun 13, 2023 9:09 pm You can invert it easily enough in the PLC program.
In the fault-checking section in MainStage, look for a block of lines something like this:And change it to read like this:Code: Select all
IF !Axis1DriveALM_M THEN (Axis1DriveOk_M) IF !Axis2DriveALM_M THEN (Axis2DriveOk_M) IF !Axis3DriveALM_M THEN (Axis3DriveOk_M) IF !Axis4DriveALM_M THEN (Axis4DriveOk_M) IF !Axis5DriveALM_M THEN (Axis5DriveOk_M) IF !Axis6DriveALM_M THEN (Axis6DriveOk_M) IF !Axis7DriveALM_M THEN (Axis7DriveOk_M) IF !Axis8DriveALM_M THEN (Axis8DriveOk_M)
This assumes, of course, that your drives actively pull the line low in case of fault (rather than a PNP output that just pulls it high when all is well).Code: Select all
IF Axis1DriveALM_M THEN (Axis1DriveOk_M) IF Axis2DriveALM_M THEN (Axis2DriveOk_M) IF Axis3DriveALM_M THEN (Axis3DriveOk_M) IF Axis4DriveALM_M THEN (Axis4DriveOk_M) IF Axis5DriveALM_M THEN (Axis5DriveOk_M) IF Axis6DriveALM_M THEN (Axis6DriveOk_M) IF Axis7DriveALM_M THEN (Axis7DriveOk_M) IF Axis8DriveALM_M THEN (Axis8DriveOk_M)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: Oak Axis Fault In Invert
I do not think there is anything you can do in the PLC program that will cause a "Timeout: MPU not responding" condition on startup.
Check your Windows firewall settings. There needs to be an exception to allow c:\cncm\cncm.exe through the firewall.
Also verify your ethernet hardware connection with "ping 10.168.41.2".
Check your Windows firewall settings. There needs to be an exception to allow c:\cncm\cncm.exe through the firewall.
Also verify your ethernet hardware connection with "ping 10.168.41.2".
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 8
- Joined: Tue Jun 13, 2023 8:30 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Oak Axis Fault In Invert
Yea i managed to dig up an old post where someone had a similar issue:cncsnw wrote: ↑Wed Jun 28, 2023 1:02 pm I do not think there is anything you can do in the PLC program that will cause a "Timeout: MPU not responding" condition on startup.
Check your Windows firewall settings. There needs to be an exception to allow c:\cncm\cncm.exe through the firewall.
Also verify your ethernet hardware connection with "ping 10.168.41.2".
https://centroidcncforum.com/viewtopic. ... mpu#p28788
Checked and sure enough my firewalls had turned back on. Turned them back off and it fired right up. Was also successful on getting a proper inverted fault signal through the PLC programming changes suggested and therefore an enable signal to the drive.
Thanks for all the help.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3524
- Joined: Tue Mar 22, 2016 10:03 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192 - DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Boston, MA
- Contact:
Re: Oak Axis Fault In Invert
Microsoft will continue to turn the firewall back on at random times. As CNCSNW mentioned you need to add an exception to your firewall to allow CNCM.exe access.
Cheers,
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Site Admin
- Posts: 8881
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: Oak Axis Fault In Invert
solving com errors info is here.
https://centroidcncforum.com/viewtopic.php?f=61&t=1451
https://centroidcncforum.com/viewtopic.php?f=61&t=1451
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
(Note: Liking will "up vote" a post in the search results helping others find good information faster)