DotNetSiemensPLCToolBoxLibrary icon indicating copy to clipboard operation
DotNetSiemensPLCToolBoxLibrary copied to clipboard

NC Var for Sinumerik One

Open diegoErol opened this issue 1 year ago • 9 comments

For Sinumerik One the PLC associated is a S7-1200 comparing with the S7-300 that Sinumerik 840D has. NC Tag read works sometimes for One but suddenly throws an exception if the polling is faster than 3 seconds approx. Maybe, this problem is connected with the issue regarding to PUT/GET operations and DB optimized memory.

diegoErol avatar Jan 26 '24 11:01 diegoErol

The same thing happens to me but I don't know where the problem lies, any solution?

rferreiraperez avatar Jan 30 '24 14:01 rferreiraperez

@diegoErol The SINUMERIK ONE use a S7-1500. The NCK is almost the same so far. (4.9x <-> 6.xx)

You write that you have problems with NC-VAR. This has nothing to do with the PLC. Communication continues to work normally for me.

What error are you getting exactly? Which NCK Version?

Nick135 avatar Feb 03 '24 14:02 Nick135

TheNCK is a 6FC5317. What I'm experiencing is that one of each two reads is returning a null value. For example if I define a poll time of 10 seconds:

Pos:3,02785 at time: 00:00:00.0274315   
Pos:null at time: 00:00:05.0086867    
Pos:3,02784 at time: 00:00:00.0132940    
Pos:null at time: 00:00:05.0075245

The response is the same as if define 1 second of pooling time:

Pos:3,02785 at time: 00:00:00.0294128
Pos:null at time: 00:00:05.0086773     
Pos:3,02785 at time: 00:00:00.0171700  
Pos:null at time: 00:00:05.0075623

If I let run it sequenced:

Pos:3,02785 at time: 00:00:00.0289626
Pos:null at time: 00:00:05.0034212
Pos:3,02785 at time: 00:00:00.0157251
Pos:null at time: 00:00:05.0002274

It seems like the second read is lasting always the same time and return a null value.

diegoErol avatar Feb 05 '24 16:02 diegoErol

I also have this problem with the current NCK version. I will do some tests to see if the problem is on our side or again in the Siemens firmware.

@diegoErol Which NCK Version are you using?

Nick135 avatar Feb 07 '24 15:02 Nick135

Looks like the NC close the connection after each read request.

Nick135 avatar Feb 07 '24 20:02 Nick135

I have contacted Siemens and they have confirmed that this is a fault. I was offered a workaround which I would like to test. At the same time, Siemens wants to investigate the problem further and release a fix in a future version.

Nick135 avatar Feb 09 '24 16:02 Nick135

Siemens will fix this Bug with CNC Version 6.22 HF3

Nick135 avatar Feb 29 '24 14:02 Nick135

Very good news! Will try when released

diegoErol avatar Feb 29 '24 15:02 diegoErol

Same here ✋

Anyone already tried with new firmware version?

d0pam1n avatar Mar 13 '24 13:03 d0pam1n

I tried the new firmware CNC Version 6.22 HF3 and can confirm that the bug is fixed.

Nick135 avatar Jun 11 '24 16:06 Nick135

Then I close this.

jogibear9988 avatar Jun 11 '24 20:06 jogibear9988