M95/M94 Not changing outputs <clarified>

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Gerral
Posts: 28
Joined: Fri Nov 22, 2024 4:25 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: B4107B77A373-0905248481
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

M95/M94 Not changing outputs <clarified>

Post by Gerral »

When I try to change the state of on output using M95/7 or M94/7 nothing changes on the PLC Diagnostic screen, this holds true with all my outputs.

All of the outputs are normal, not forced, no underlines.

Any idea
Screenshot 2025-01-01 092803.png
I suspect I've done something wrong in a config or something.

Thanks for your help!


spikee
Posts: 121
Joined: Thu Feb 01, 2024 5:34 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Contact:

Re: M95/M94 Not changing outputs

Post by spikee »

As always kindly upload report :)


suntravel
Posts: 3129
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: M95/M94 Not changing outputs

Post by suntravel »

M94_95 /7 is for M6
M94_95 /67 is for M67/87 Output 7 on/off

Uwe


Gerral
Posts: 28
Joined: Fri Nov 22, 2024 4:25 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: B4107B77A373-0905248481
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: M95/M94 Not changing outputs

Post by Gerral »

Oops here's the report.zip

This is happening on all my outputs, not just 7 .. I used that as an example.

Thanks!
Attachments
report_B4107B77A373-0905248481_2025-01-01_09-43-11.zip
(986.35 KiB) Downloaded 1 time


suntravel
Posts: 3129
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: M95/M94 Not changing outputs

Post by suntravel »

Related reading:

https://www.centroidcnc.com/centroid_di ... amming.pdf

Note: These M94/M95 values are found in v4.20+ stock Acorn PLC programs that can be utilized in any macro as
is. Also see Acorn Wizard Input and Output “canned” PLC functions and M codes list.
https://www.centroidcnc.com/centroid_di ... ctions.pdf
SV_M94_M95_1 ;M94/M95 Turn on/off Spindle On Clockwise
SV_M94_M95_2 ;M94/M95 Turn on/off Spindle On Counter Clockwise
SV_M94_M95_3 ;M94/M95 Turn on/off Flood or RouterDustCollection
SV_M94_M95_4 ;M94/M95 Turn on/off OpenChuck, Turn off CloseChuck
SV_M94_M95_5 ;M94/M95 Turn on/off Mist or RouterVacuumHoldDown
SV_M94_M95_6 ;M94/M95 Turn on/off CloseChuck, Turns off OpenChuck
SV_M94_M95_8 ;M94/M95 Turn on/off LubePump Manually
SV_M94_M95_10 ;M94/M95 Turn on/off TurnClampOn
SV_M94_M95_13 ;M94/M95 Turn on/off Cutoff
SV_M94_M95_15 ;M94/M95 Turn on/off ToolUnclamp
SV_M94_M95_19 ;M94/M95 Turn on/off OrientSpindle
SV_M94_M95_22 ;M94/M95 Turn on/off PartChute
SV_M94_M95_27 ;M94/M95 Turn on/off VacuumOn
SV_M94_M95_28 ;M94/M95 Turn on/off DustFootActivate
SV_M94_M95_29 ;M94/M95 Turn on/off LaserAlignActivate
SV_M94_M95_30 ;M94/M95 Turn on/off PopUpPins
SV_M94_M95_31 ;M94/M95 Turn on/off SpindleCooling
SV_M94_M95_32 ;M94/M95 Turn on/off TailStockInOut
SV_M94_M95_35 ;M94/M95 Turn on/off DustCollectionOn
SV_M94_M95_41 ;M94/M95 Turn on/off Spindle Low Range
SV_M94_M95_42 ;M94/M95 Turn on/off Spindle Medium Range
SV_M94_M95_43 ;M94/M95 Turn on/off Spindle High Range
SV_M94_M95_61 ;M94/M95 Turn on/off OUTPUT1
SV_M94_M95_62 ;M94/M95 Turn on/off OUTPUT2
SV_M94_M95_63 ;M94/M95 Turn on/off OUTPUT3
SV_M94_M95_64 ;M94/M95 Turn on/off OUTPUT4
SV_M94_M95_65 ;M94/M95 Turn on/off OUTPUT5
SV_M94_M95_66 ;M94/M95 Turn on/off OUTPUT6
SV_M94_M95_67 ;M94/M95 Turn on/off OUTPUT7
SV_M94_M95_68 ;M94/M95 Turn on/off OUTPUT8
These M94/M95 values do not always need to be used in a macro, Running an M94 /15 command in MDI or on a line in a
job file for example will activate the logic to unclamp tool. Putting these M94 and M95 commands in macros is usually preferred as additional desired logic is accompanied with these commands such as M101/M100 in most cases.

Uwe


ShawnM
Posts: 2751
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: M95/M94 Not changing outputs

Post by ShawnM »

As noted by Uwe. M94/7 does not turn on OUTPUT 7, or any other output using the number 1 through 8. M95/7 does not turn it off either.

M94/67 will turn on OUTPUT 7 on and M95/67 will turn it off.
M94/62 will turn on OUTPUT 2 on and M95/62 will turn it off.


Gerral
Posts: 28
Joined: Fri Nov 22, 2024 4:25 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: B4107B77A373-0905248481
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: M95/M94 Not changing outputs

Post by Gerral »

I see... thank you for clarification.

Thanks guys!


cncsnw
Posts: 4301
Joined: Wed Mar 24, 2010 5:48 pm

Re: M95/M94 Not changing outputs

Post by cncsnw »

More generally, in case it was not clear from the above answers:

M94 and M95 do not turn any particular output relays on or off.
All that M94 and M95 do is set and clear numbered requests, that are sent to the PLC program.
It is entirely up to the PLC program logic to decide what output relays, if any, will be affected by those requests.

To say "M94/67 will turn on OUTPUT7" is correct, so long as we can assume that:
1) You are running a typical factory-supplied Acorn PLC program, and
2) You have assigned the "OUTPUT7" function to one of your physical output relays.


ShawnM
Posts: 2751
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: M95/M94 Not changing outputs

Post by ShawnM »

cncsnw wrote: Wed Jan 01, 2025 8:17 pm More generally, in case it was not clear from the above answers:

M94 and M95 do not turn any particular output relays on or off.
All that M94 and M95 do is set and clear numbered requests, that are sent to the PLC program.
It is entirely up to the PLC program logic to decide what output relays, if any, will be affected by those requests.

To say "M94/67 will turn on OUTPUT7" is correct, so long as we can assume that:
1) You are running a typical factory-supplied Acorn PLC program, and
2) You have assigned the "OUTPUT7" function to one of your physical output relays.
Yes Marc, that's why I put "output 7" in quotes like that. If it were set to anything else it would not work. This info is also in Uwe's post with the same syntax.


cnckeith
Posts: 8511
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: M95/M94 Not changing outputs <clarified>

Post by cnckeith »

what are you trying to accomplish?
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


Post Reply