Page 1 of 1

File name

Posted: Wed Oct 05, 2022 6:06 pm
by repauli1
What is the file name that the plc references for error messages?
I Want to confirm I have the mill version.
Thanks
Bob

Re: File name

Posted: Wed Oct 05, 2022 6:26 pm
by cncsnw
Messages which are triggered by the PLC come from the file "plcmsg.txt", regardless of whether it is a mill or lathe control.

Re: File name

Posted: Wed Oct 05, 2022 7:58 pm
by repauli1
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

Posted: Wed Oct 05, 2022 8:09 pm
by cncsnw
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:

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)
and:

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!!!

Re: File name

Posted: Wed Oct 05, 2022 8:51 pm
by repauli1
Thanks..