Still struggling to get hand wheels operational.

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

Moderator: cnckeith

Chas
Posts: 47
Joined: Fri Jan 25, 2019 2:25 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Still struggling to get hand wheels operational.

Post by Chas »

Hi, i have modified the plc program as per Tom Blough's post of Sat Sept 5th but still no life in the hand wheels. I have rechecked the wiring and everything is as it should be. hand wheels are connected to axis 3 & 4 inputs. I'm guessing i'm missing a step somewhere in getting them to act for Axis 1 (Z) and axis 2 (X). Any suggestions greatly appreciated.
Report attached.
Thanks
Chas
Attachments
IMG_6874.jpg
report_0528190794_2021-02-10_14-57-49.zip
(189.12 KiB) Downloaded 112 times
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Still struggling to get hand wheels operational.

Post by cncsnw »

If you made necessary changes in your PLC program source, did you then compile the new PLC program into mpu.plc?
Chas
Posts: 47
Joined: Fri Jan 25, 2019 2:25 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Still struggling to get hand wheels operational.

Post by Chas »

Hi, er no I didn’t. Is it simply a matter of removing the standard oak src file and pasting in the revised one.
Many thanks
tblough
Posts: 3071
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: Still struggling to get hand wheels operational.

Post by tblough »

All the Centroid manuals are located here: https://www.centroidcnc.com/centroid_di ... nuals.html

This one will show the PLC compile and installation procedure: https://www.centroidcnc.com/centroid_di ... manual.pdf
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.
Chas
Posts: 47
Joined: Fri Jan 25, 2019 2:25 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Still struggling to get hand wheels operational.

Post by Chas »

Soory guys but still struggling with this. Have altered the Centroid Lathe-Standard-Oak-r4.src file and the MPU.plc file to match but still no joy. I believe the software brings up an alert when a change is made to the program but i don't see that so i assume i haven't made the changes correctly. i have noted that the mpg button on the vcp cannot be changed but that may just be that it only functions when a centroid handheld pendant is attached, i don't know. The handwheels are operational as if i switch axis 3 and 4 on i get readouts from both when i turn the handles. Very frustrating as everything else works great now. Report and copy of modified src file attached.
Attachments
report_0528190794_2021-02-20_16-39-20.zip
(182.98 KiB) Downloaded 126 times
Centroid-Lathe-Standard-handwheels_v3.src
(154.03 KiB) Downloaded 116 times
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Still struggling to get hand wheels operational.

Post by cncsnw »

You don't edit mpu.plc in a text editor.

You edit your source file in a text editor, then compile it.

Suppose you have decided to name your new, revised PLC program source "Centroid-Lathe-Standard-handwheels_v3.src". Then, with a command prompt window open, and in the c:\cnct directory (so the prompt in front of your cursor reads "C:\cnct>") you would enter the command:

Code: Select all

mpucomp  Centroid-Lathe-Standard-handwheels_v3.src  mpu.plc
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Still struggling to get hand wheels operational.

Post by cncsnw »

After you type the "mpucomp" command, then look to see whether the resulting messages include something like:

Code: Select all

Input file : Centroid-Lathe-Standard-handwheels_v3.src
Output file: mpu.plc
Compilation successful
... plus some statistics about program complexity and size.

If you don't see "Compilation successful", or the output file is not "mpu.plc", then your changes are not going to take effect.
Chas
Posts: 47
Joined: Fri Jan 25, 2019 2:25 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Still struggling to get hand wheels operational.

Post by Chas »

Apologies, but i must still be doing something wrong. Went through the procedure as explained but i get the response as in the attached photo. Any suggestions.
Attachments
IMG_7399.jpg
tblough
Posts: 3071
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: Still struggling to get hand wheels operational.

Post by tblough »

cd c:\cnct
mpucomp Centroid-Lathe-Standard-handwheels_v3.src mpu.plc

Two different commands. First changes to the cnct directory. Second compiles the plc program.
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.
Chas
Posts: 47
Joined: Fri Jan 25, 2019 2:25 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Still struggling to get hand wheels operational.

Post by Chas »

Thanks guys, got there in the end with your help. Handwheels along with everything else now fully operational .
Many thanks.
Chas
Post Reply