iSorp / macro-executor

Fanuc macro executor language
MIT License
19 stars 9 forks source link

Deactivation of warning "duplicate sequence" possible? #10

Closed Kellermeister1976 closed 3 years ago

Kellermeister1976 commented 3 years ago

for writing axis parameters via the macro the n-number is used multiple times.

G10L52; N2514P1R0; N2514P2R0;
G11;

the double use of N2514 results in a warning. how can this warning be deactivated? or is there a possibility that the plugin recognizes that parameters are written here and a multiple number is allowed?

thanks a lot for your great work!!!

iSorp commented 3 years ago

@Kellermeister1976 currently there is no recognition for sequence number checks in a G10/G11 block. You can ignore this warning by setting the following lint rule:

    "macro.lint": {
        "rules": {
            "duplicateSequence": "ignore"
        }
    }
Kellermeister1976 commented 3 years ago

thanks for the settings sequence above. it works and solves my problem perfectly. thanks for your great support!