What is the file name that the plc references for error messages?
I Want to confirm I have the mill version.
Thanks
Bob
File name
Moderator: cnckeith
Re: File name
Messages which are triggered by the PLC come from the file "plcmsg.txt", regardless of whether it is a mill or lathe control.
-
- Posts: 156
- Joined: Thu Jul 09, 2020 9:50 pm
- 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: File name
I had an issue an issue early on, where I kept getting Spindle faults, ended up being something else because I had the wrong message file???????
Re: File name
You have to compare the message constant definitions at the top of the PLC program source file, to the corresponding messages in plcmsg.txt, to see if they make sense.
For example:
and:
For example:
Code: Select all
SPINDLE_FAULT_MSG_C IS 7169;(1+256*28)
JOGBOARD_INFLT_C IS 7425;(1+256*29)
JOGBOARD_OUTFLT_C IS 7681;(1+256*30)
PROBE_FAULT_MSG_C IS 7937;(1+256*31)
Code: Select all
28 9028 SPINDLE FAULT!
29 9029 Jog Panel Communication In Fault
30 9030 Jog Panel Communication Out Fault
31 9031 FAULT! REMOVE PROBE FROM SPINDLE!!!
-
- Posts: 156
- Joined: Thu Jul 09, 2020 9:50 pm
- 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: File name
Thanks..