Good afternoon all,
I have an an older Hitachi Seiki lathe that I am trying to upload to. I was able to download to the PC, but whenever I try to upload I get an 087 error.
These are the settings/parameters I'm using:
INPUT DEVICE 1: 0
INPUT DEVICE 2: 1
INPUT UNIT 0
PUNCH CODE 1
TV CHECK 0
PARAMETERS:
340 - 2
341 - 2
310,311,312,313 = 00001001 (PC program is set to 4800 baud)
PC:
Baud: 4800
Data bits: 7
Parity: Even
Stop Bits: 2
Any help would be greatly appreciated!
Thanks!
Error 87 refers to the input not being interrupted after 10 characters and is generally associated with Handshaking. Do you get this alarm immediately, or does the PC send some data to the control?
I'm surprised that you say that you can send a program from the control to the PC when the PC is set to 4800 baud rate. A parameter setting of 00001001 is not a valid setting for any baud rate. 00011001 is the setting for 4800 baud rate.
INPUT DEVICE 1 can also be set to 1, the rest of your parameter setting look OK.
The cable configuration should be as follows:
Machine Side ---------------------------- PC Side
DB25 Male -------------------------DB25 Female ------ DB9 Female
1 --- Cable Shield Trace -------- Not Connected ----- Not Connected
2 ---------------------------------------- 3 -------------------- 2
3 ---------------------------------------- 2 -------------------- 3
4
| Bridged
5
6
|
8 All Bridged
|
20
7 ---------------------------------------- 7 -------------------- 5
You don't say what Handshake method the PC software is set to. If None or RTS/CTS then the 087 alarm will result with a Loopback, Null modem cable (the above configuration). Ensure that the PC software is set to Xon Xoff Handshaking.
PC Settings
Handshake Method = Xon Xoff (Software Handshaking)
Baud Rate = 4800 (or whatever the control is set to)
Data bits = 7
Parity = Even
Stop Bits = 2
If the 087 error is not occurring immediately, this error can be caused by the speed at which the Serial Port of the PC is able to react to an Xoff being received. This can sometimes be remedied by adjusting the FIFO setting of the Serial Port via:
1. Device Manager
2. Ports
3. Select the Com Port of interest
4. Port Settings
5. Advanced
Regards,
Bill