Page 1 of 1
reassigning some All In One H6 Outputs
Posted: Thu Mar 04, 2021 11:22 pm
by cncot
I do not have a mist coolant, flood coolant, work light. I would like to use one or more of these outputs for another function.
How do I reassign the function to whatever I need?
How do I assign words in the software to identify it to the operator?
Is there any other way to implement it other than thru an Mcode plus Macro?
How do I disengage it from the existing software, so that the software does not issue any unwanted commands thinking that the original function is still wired?
Re: reassigning some All In One H6 Outputs
Posted: Fri Mar 05, 2021 1:55 am
by cncsnw
All this is done by editing your PLC program source, then recompiling it.
The least-effort way to free up outputs is to "park" unused features on memory bits instead.
For example, if you remove the original definitions for OUT3 (Flood), OUT4 (Mist) and OUT6 (WorklightOut), and put your own features on those outputs, then in the memory definitions section you could add something like:
Code: Select all
Flood IS MEM30
Mist IS MEM31
WorkLightOut IS MEM32
... making sure to choose memory bits that are not already being used for anything else, of course.
That way, you do not have to locate and edit/delete the later lines of PLC logic that manipulate those features.
Alternately, if you want a leaner PLC program with fewer unnecessary parts, you could skip the memory definitions above, and instead just locate and delete the entire Flood Coolant section, Mist Coolant section, and the two or three lines that control WorkLightOut. Then it would not matter that the output definitions for those features are gone.
Re: reassigning some All In One H6 Outputs
Posted: Tue Mar 09, 2021 11:44 am
by martyscncgarage
cncot wrote: ↑Thu Mar 04, 2021 11:22 pm
I do not have a mist coolant, flood coolant, work light. I would like to use one or more of these outputs for another function.
How do I reassign the function to whatever I need?
How do I assign words in the software to identify it to the operator?
Is there any other way to implement it other than thru an Mcode plus Macro?
How do I disengage it from the existing software, so that the software does not issue any unwanted commands thinking that the original function is still wired?
As Marc said, the PLC needs to be modified. There is no Wizard for CNC12 Servo.
If you are unsure how to do it, hire Marc Leonard (cncsnw) be specific as to what you are trying to accomplish
Marty
Re: reassigning some All In One H6 Outputs
Posted: Fri Mar 12, 2021 9:52 pm
by cncot
I am a retired engineer from the space program.
I have a Degree in Electrical Engineering and a Masters in Computer science. I have never programmed a plc.
Please, are textbooks, software, manuals available to study? Any programming examples? One of the outputs should go to an indexer to cut gears and wait for a finished move signal to come back before cutting the next tooth.
There are other outputs needed.
Please help me find the correct things to study.
Warm Regards, Mike
Re: reassigning some All In One H6 Outputs
Posted: Fri Mar 12, 2021 10:36 pm
by martyscncgarage
cncot wrote: ↑Fri Mar 12, 2021 9:52 pm
I am a retired engineer from the space program.
I have a Degree in Electrical Engineering and a Masters in Computer science. I have never programmed a plc.
Please, are textbooks, software, manuals available to study? Any programming examples? One of the outputs should go to an indexer to cut gears and wait for a finished move signal to come back before cutting the next tooth.
There are other outputs needed.
Please help me find the correct things to study.
Warm Regards, Mike
https://www.centroidcnc.com/centroid_di ... manual.pdf
If it's a couple of minor changes, I suggest contacting Marc Leonard (cncsnw on our forums) and retain him to do it. Marc has YEARS of experience with Centroid and is pretty efficient at it.
cncsnw.com
Re: reassigning some All In One H6 Outputs
Posted: Sun Mar 14, 2021 10:10 pm
by cncot
Thanks, I found them in another post by cnckeith
Re: reassigning some All In One H6 Outputs
Posted: Mon Mar 15, 2021 10:37 am
by martyscncgarage
cncot wrote: ↑Sun Mar 14, 2021 10:10 pm
Thanks, I found them in another post by cnckeith
Great, so you are all squared away?
Re: reassigning some All In One H6 Outputs
Posted: Mon Mar 15, 2021 1:47 pm
by cncot
Ask me again after I try to learn PLC programming! I SHOULD be able to do it....
I designed and built the Hardware and wrote the software that controlled all the high speed measurements in the launch pad for the Shuttle program, so I still know how to twiddle bits. Problems can arise when I don't know what Centroid calls some of them....
I am 71 now and this may be my last new programming language...
Better than becoming a couch potato in front of a TV set!! Its all a 100% loss hobby anyway.
Mike
Re: reassigning some All In One H6 Outputs
Posted: Mon Mar 15, 2021 3:28 pm
by martyscncgarage
cncot wrote: ↑Mon Mar 15, 2021 1:47 pm
Ask me again after I try to learn PLC programming! I SHOULD be able to do it....
I designed and built the Hardware and wrote the software that controlled all the high speed measurements in the launch pad for the Shuttle program, so I still know how to twiddle bits. Problems can arise when I don't know what Centroid calls some of them....
I am 71 now and this may be my last new programming language...
Better than becoming a couch potato in front of a TV set!! Its all a 100% loss hobby anyway.
Mike
Absolutely! Let us know how you make out.
Marty