EMCO PC Mill 50 RS485 Data Capture
- tsewell
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 2
19 Aug 2019 16:55 - 19 Aug 2019 16:56 #142500
by tsewell
EMCO PC Mill 50 RS485 Data Capture was created by tsewell
I’m excited to say that I now have a running Emco PC Mill 50! Currently it is running on the stock control (Emco ISA PC card + Axis Controller). I really like the stock controls functionality (it closely emulates a Fanuc O-M control, which I am very familiar with from my day job). That said, it has some limitations, most concerning to me is a very small memory for programs (~200 lines or so I have read). As part of my mad scramble to get the control running, I spent several (ok, way too many) days working with software dis-assemblers (IDA and GHIDRA) looking at the EMCO software package.
I found some pretty cool things! One thing I found is the factory service tech passwords for the configuration program (WinCfg V1.1, try each of the following words: SERVICE, CONTROL, SUPERVISOR). Using these passwords, I was able to turn on the built in RS485 data capture in the software- this saves a log of all communication to and from the control. I have attached this file below. I know that I still have work to do in terms of mapping commands to machine actions, but this should be fairly trivial with a working machine.
What I hope to do, and would really like this communities assistance with, is upgrading the control on this machine. I want to do it differently than I have seen done before. I want to retain the machine itself in the factory configuration, and upgrade the computer itself. Essentially, the system as it stands now is an 8088 Microprocessor with some memory on an ISA card in the PC, connected to the machine over half duplex RS485. The machine itself uses a 80C196 micro and an 8088 to control the axes and IO. My vision for the updated control system would be to use open source hardware (I think Mesa has an FPGA card that will do this) to drive the RS485 link to the machine, and Linuxcnc to control it. The major advantage to this as I see it, is the ability to drip feed programs, resulting in a nearly unlimited program length.
Examining the project, it seems there are 4 logical phases:
1.) Decode RS485 communications, build command table
2.) Select/Build new computer side hardware (computer + new interface card)
3.) Install and configure Linuxcnc (this is honestly what makes me the most nervous- I have programmed my share of PLC’s/Automation controllers, but have minimal experience with LinuxCNC)
4.) Integrate the system and troubleshoot.
I would be very interested in your feedback/expertise with this!
Thanks,
Travis
I found some pretty cool things! One thing I found is the factory service tech passwords for the configuration program (WinCfg V1.1, try each of the following words: SERVICE, CONTROL, SUPERVISOR). Using these passwords, I was able to turn on the built in RS485 data capture in the software- this saves a log of all communication to and from the control. I have attached this file below. I know that I still have work to do in terms of mapping commands to machine actions, but this should be fairly trivial with a working machine.
What I hope to do, and would really like this communities assistance with, is upgrading the control on this machine. I want to do it differently than I have seen done before. I want to retain the machine itself in the factory configuration, and upgrade the computer itself. Essentially, the system as it stands now is an 8088 Microprocessor with some memory on an ISA card in the PC, connected to the machine over half duplex RS485. The machine itself uses a 80C196 micro and an 8088 to control the axes and IO. My vision for the updated control system would be to use open source hardware (I think Mesa has an FPGA card that will do this) to drive the RS485 link to the machine, and Linuxcnc to control it. The major advantage to this as I see it, is the ability to drip feed programs, resulting in a nearly unlimited program length.
Examining the project, it seems there are 4 logical phases:
1.) Decode RS485 communications, build command table
2.) Select/Build new computer side hardware (computer + new interface card)
3.) Install and configure Linuxcnc (this is honestly what makes me the most nervous- I have programmed my share of PLC’s/Automation controllers, but have minimal experience with LinuxCNC)
4.) Integrate the system and troubleshoot.
I would be very interested in your feedback/expertise with this!
Thanks,
Travis
Last edit: 19 Aug 2019 16:56 by tsewell.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19529
- Thank you received: 6553
19 Aug 2019 17:11 #142501
by tommylight
Replied by tommylight on topic EMCO PC Mill 50 RS485 Data Capture
I have a Mazak MicroSlant15 in perfect working order, waiting to be gutted and retrofited with Linuxcnc.
But i might be emotionaly attached to Linuxcnc, who knows.....
But i might be emotionaly attached to Linuxcnc, who knows.....
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10833
- Thank you received: 3573
20 Aug 2019 04:06 #142550
by rodw
Replied by rodw on topic EMCO PC Mill 50 RS485 Data Capture
I'm struggling to understand why connect via RS485 when Linuxcnc will allow nearly unlimited program length without drip feeding anything. Just plug a 5i25 into your ISA slot and place the Mesa board best suited to control your machine at the other end of the cable.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 474
20 Aug 2019 07:40 - 20 Aug 2019 07:42 #142556
by Clive S
Replied by Clive S on topic EMCO PC Mill 50 RS485 Data Capture
ISA slot or do you mean PCI / PCIe
Last edit: 20 Aug 2019 07:42 by Clive S.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19529
- Thank you received: 6553
20 Aug 2019 07:54 #142557
by tommylight
Replied by tommylight on topic EMCO PC Mill 50 RS485 Data Capture
ISA slot or do you mean PCI / PCIe
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10833
- Thank you received: 3573
20 Aug 2019 08:15 #142560
by rodw
Have you any idea how long it is since i've owned a PC with an expansion slot of any kind?
So 1990's
Replied by rodw on topic EMCO PC Mill 50 RS485 Data Capture
ISA slot or do you mean PCI / PCIe
Have you any idea how long it is since i've owned a PC with an expansion slot of any kind?
So 1990's
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19529
- Thank you received: 6553
20 Aug 2019 08:40 #142562
by tommylight
Replied by tommylight on topic EMCO PC Mill 50 RS485 Data Capture
Have you any idea how long it is since i've owned a PC with an expansion slot of any kind?
So 1990's
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 474
20 Aug 2019 08:59 #142563
by Clive S
What not even a SCSI
Replied by Clive S on topic EMCO PC Mill 50 RS485 Data Capture
ISA slot or do you mean PCI / PCIe
Have you any idea how long it is since i've owned a PC with an expansion slot of any kind?
So 1990's
What not even a SCSI
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10833
- Thank you received: 3573
20 Aug 2019 09:21 #142565
by rodw
They were some archaic device from Adaptec weren't they? I think they lasted a bit longer 'cos I was in the printing industry so we had scanners and the like still connected via SCSII in the late 90's
Replied by rodw on topic EMCO PC Mill 50 RS485 Data Capture
What not even a SCSI
They were some archaic device from Adaptec weren't they? I think they lasted a bit longer 'cos I was in the printing industry so we had scanners and the like still connected via SCSII in the late 90's
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19529
- Thank you received: 6553
20 Aug 2019 09:27 #142567
by tommylight
Replied by tommylight on topic EMCO PC Mill 50 RS485 Data Capture
I still have SCSI devices, plenty of them.
Read somewhere someone looking for an 8" floppy drive. Any takers ?
Read somewhere someone looking for an 8" floppy drive. Any takers ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.136 seconds