Title: Programming in NC-Code [Print This Page] Author: Philipp Time: 2020-2-3 17:56 Title: Programming in NC-Code Hello there,
in my NC-Code i am using WHILE cycles. Finally they work, after i found some workarounds.
For example, i do calculations inside the WHILE cycle like:
N10 G01 X[#600+#601*#602]
N15 #601= #601+1
so #601 is like a counter variable.
The problem is, that block N15 is already processed during movement of block N10. Probably, due to the look ahead function.
To solve this, i added multiple G04P0 commands
Now, the code works fine. But it is still a hacky workaround. I would like to know, if there is a command to stop the look ahead function.
For siemens controls this command would be
Author: enjoy_cnc Time: 2020-2-4 22:26
Hello there
# 600 # 601 # 602 belongs to the parameter macro address (# 500- # 999)
# 500- # 999: Correspond to parameter values 0-499 respectively;
# 600: 100 X manual high speed
# 601: 101 Y manual high speed
# 602: 102 Z Manual High Speed
Author: Philipp Time: 2020-2-6 06:00
Now i got it. Thanks a lot! Author: Philipp Time: 2020-2-24 16:26
Hi,
the program works fine now. An optimization would still be an editing function of the program on the controller. Currently, to edit the program you always have to go to the PC. Is this planned for the future? Alternatively it would be very helpful if you could only edit the user variables e.g. #0-49 in the configuration menu.
Greetings
PhilippAuthor: enjoy_cnc Time: 2020-2-24 20:36 Last edited by enjoy_cnc In 2020-2-24 20:40 Editor
Hello there
DM500 / M150 currently does not support editing functions. The system with editing functions is M630. This controller can provide perfect professional CNC operation.
M630 application video is as follows: