Question about G04 P0 and serial out default values (#109) - DDCSV2.1 - Standalone CNC Motion Controller - Digital Dream Technology support
View: 8217|Reply: 7
Print Previous Topic Next Topic

Question about G04 P0 and serial out default values (#109)

[Copy Link]

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
Landlord
Posted at 2018-11-20 17:00:55 | All floors
This installation package implements your second requirement.

For the first point you said, I think G04P0 and G103 are a meaning. When the parser encounters the G04P0 instruction, it will prevent prevent G-code lines from look ahead. After all the previous instructions have been run, the parser will continue to work.

install(2018-11-20-105).zip

597.68 KB, Down times: 660

Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
Sofa
Posted at 2018-11-20 17:53:46 | All floors
Since G-code parsing and execution are handled in different processes, in order to correctly acquire certain macro variables, such as mechanical coordinate positions or serial input IO data, the G04P0 instruction must be added before reading, otherwise the value read is parsed. The value of the time, not the value after the execution.
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
Bench
Posted at 2018-11-20 18:59:47 | All floors
After the G04P0 instruction is encountered, the entire file is not re-parsed, but the subsequent G-code is parsed.
Reply Support Opposition

Use props Report

8

Threads

333

Posts

1040

Credits

Super Moderator

Rank: 8Rank: 8

Credits
1040
Floor
Posted at 2018-11-21 06:39:16 | All floors
No, it is file based, so in order to get the current value of the macro, you need to add G04P0 before it, otherwise the value of the macro may be wrong.
Reply Support Opposition

Use props Report

You need to log in before you can reply Login | Register now

This forum Credits Rules

Shenzhen Digital Dream Numerical Technology Co., Ltd. support
Adress:507,A Building,Leibo Industry Zone,No. 22 Jinxiu East Road,Kengzi Street,Pingshan district,Shenzhen City,P.R. of China
Phone:13244704799
E-mail:info@ddcnc.com

TEL

0755-87654321

Wchat

Website designed by DigitalDream Technology Support
Quick Reply Back to top Back to list