Add a small delay on Cimco. There is a setting for it after each block, like 1-2ms. This is a typical handshake problem, especially on early 5000s. The 5000 LGs or Mg's got better.
Hey
I got a problem with my DNC - i use cimco and i have no problem sending from the okuma to the pc but when i want to send them back there will be missing some chars.. it seems random and not very easy to locate.
here is an example of the program on the pc and what it looks like when its on the control again.
PC Program that i send to the Okuma(it was made on the okuma and send to the pc for backup)
The rest text is what's missing - i see no pattern..
Code:$M20.MIN% N0001 G00 X 500 Z 50 M157 N0002 G50 S1000 N0100 G97 S1404 M42 M03 M08 N0101 G00 X 34 Z 3 T010101 N0102 G96 S 150 N0103 G85 N0104 D 2 F 0.2 U 2 W 0.1 N0104 G81 N0105 G00 X 20 N0106 G01 Z 0 G42 E 0.2 N0107 Z -146 N0108 G02 X 28 Z -150 I 4 N0109 G01 X 32 E 0.3 N0110 G40 N0111 G80 N0112 G00 X 34 N0113 G97 S1404 M09 N0114 X 500 Z 50 T0100 N0200 G97 S1872 M08 M03 M157 N0201 G00 X 34 Z 3 T020202 N0202 G96 S 200 N0203 G87 N0204 N0204 G81 N0205 G00 X 20 N0206 G01 Z 0 G42 F 0.22 N0207 Z -146 F 0.16 N0208 G02 X 28 Z -150 I 4 N0209 G01 X 32 N0210 G40 N0211 G80 N0212 G00 X 34 N0213 Z 3 N0214 G97 S1872 M09 N0215 X 500 Z 50 T0200 N0300 G97 S1273 M08 M03 M157 N0301 G00 X 34 Z 3 T030303 N0302 G71 X 16.932 Z -60 H 3.068 D 0.2 U 0.1 B 60 F 2.5 M22 M73 M32 N0303 M05 M09 N0304 G00 X 500 Z 50 T0300 N0305 M02 %
Here is the same program ive send to the okuma..
Code:$A.MIN% N0001 G00 X 500 Z 50 M157 N0002 G50 S1000 N0100 G97 S1404 M42 M03 M08 N0101 G00 X 34 Z 3 T010101 N0102 G96 S 150 N0103 G85 N0104 D 2 F 0.2 U 2 W 0.1 N0104 G81 N0105 G00 X 20 N0106 G01 Z 0 G42 E 0.2 N0107 Z -146 N0108 G02 X 28 Z -150 I 4 N0109 G01 X 32 E 0.3 N0110 G40 N0111 G80 N0112 G00 X 34 N0113 G97 09 N0114 X 500 Z 50 T0100 N0200 G97 S1872 M08 M03 M157 N0201 G00 X 34 Z 3 T020202 N0202 G96 S 200 N0203 G87 N0204 N0204 G81 N0205 G00 X 20 N0206 G01 Z 0 .22 N0207 Z -146 F 0.16 N0208 G02 X 28 Z -150 I 4 N0209 G01 X 32 N0210 G40 N0211 G80 N0212 G00 X 34 N0213 Z 3 N0214 G97 S1872 M09 N0215 X 500 Z 50 T0200 N03 S1273 M08 M03 M157 N0301 G00 X 34 Z 3 T030303 N0302 G71 X 16.932 Z -60 H 3.068 D 0.2 U 0.1 B 60 F 2.5 M22 M73 M32 N0303 M05 M09 N0304 G00 X 500 Z 50 T0300 N0305 %
Similar Threads:
Add a small delay on Cimco. There is a setting for it after each block, like 1-2ms. This is a typical handshake problem, especially on early 5000s. The 5000 LGs or Mg's got better.
hi, i have no experience with cimco, but maybe you should use a shorter buffer and a greater time window ?
i don't know how relevant it is, but there may be something hitting arround 255 chars; check attached / kindly
we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...
Like under the tire says, xon/xoff is not functioning or CTS/RTS is not connected so that when the Okuma says pause while I store data, the PC keeps transmitting thus characters get lost.
Experience is what you get just after you needed it.
And its strage with the program name - it will transfer with the correct file name the first time, after that all the transfers will be put in A.MIN program.
A.MIN is default filename of OSP unit
https://www.facebook.com/okuma.tuning
Are you sure the word length is correct? (7 or 8)
And what handshake are you using? Early controls like hardwire
Sent from my SM-T813 using Tapatalk
If you are using hardware handshaking, is your PC set up to do it as well? File name loss could also be related to that.
typical pattern:
READ
See $ to %
STOP
CREATE FILE
START
READ 256 CHARCTERS
STOP
STORE CHARACTERS
START
READ 256 CHARCTERS
STOP
STORE CHARACTERS
START
READ 256 CHARCTERS
STOP
STORE CHARACTERS
START
REPEAT UNTIL %
STOP
STORE AND CLOSE FILE
IF No hardware handshaking, PC keeps transmitting during STOP and STORE and I guarantee data will be lost.
Same holds true for software handshaking with Xon/Xoff.
Best regards,
Experience is what you get just after you needed it.
No, it's with parity stop bits, etc. 7 or 8 is the two options.
Sent from my SM-T813 using Tapatalk
Okay there might be something into that.
Deadly kitten says that there is something every 256 char op on the post.
I use hardware on the pc if I don't it's not receiving anything at all.
Sendt fra min EML-L29 med Tapatalk
hy nikolaiownz, i really have no clue about cimco, but please look into those 7&8 bits like underthetire said, and also look over xon/xoff like mr Wizard said ... those guys know what they are saying
i am not sure, but maybe you can use a floppy emulator ? please check this out :
it is from post 14 from here : https://www.cnczone.com/forums/okuma...are-posts.html
kindly
we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...
Have you tried adjusting the baud rate? I've seen where some of the 5000 controls will pick up wierd glitches at certain baud rates. Bumping the rate up or down a bit might clear this up.