@duet3d/monacotokens 3.7.0-beta.1 → 3.7.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -955,14 +955,6 @@
955
955
  {
956
956
  "letter": "S",
957
957
  "description": "Pin value (0.0-1.0 or >1.0-255; 0 = off)"
958
- },
959
- {
960
- "letter": "F",
961
- "description": "PWM frequency"
962
- },
963
- {
964
- "letter": "I",
965
- "description": "Invert PWM output"
966
958
  }
967
959
  ]
968
960
  },
@@ -1047,7 +1039,8 @@
1047
1039
  ],
1048
1040
  "axisParameter": {
1049
1041
  "description": "Disable {axis} motor(s)"
1050
- }
1042
+ },
1043
+ "deprecated": "Use M18 to disable motors and M906 T to set the idle timeout"
1051
1044
  },
1052
1045
  {
1053
1046
  "code": "M92",
@@ -1623,36 +1616,6 @@
1623
1616
  {
1624
1617
  "letter": "E",
1625
1618
  "description": "LED strip number"
1626
- },
1627
- {
1628
- "letter": "X",
1629
- "description": "LED type",
1630
- "values": [
1631
- {
1632
- "value": "0",
1633
- "description": "DotStar"
1634
- },
1635
- {
1636
- "value": "1",
1637
- "description": "RGB NeoPixel"
1638
- },
1639
- {
1640
- "value": "2",
1641
- "description": "Bit-banged RGB NeoPixel"
1642
- },
1643
- {
1644
- "value": "3",
1645
- "description": "RGBW NeoPixel"
1646
- },
1647
- {
1648
- "value": "4",
1649
- "description": "Bit-banged RGBW NeoPixel"
1650
- }
1651
- ]
1652
- },
1653
- {
1654
- "letter": "Q",
1655
- "description": "SPI frequency"
1656
1619
  }
1657
1620
  ]
1658
1621
  },
@@ -1764,6 +1727,11 @@
1764
1727
  {
1765
1728
  "letter": "T",
1766
1729
  "description": "Travel acceleration (mm/s^2)"
1730
+ },
1731
+ {
1732
+ "letter": "S",
1733
+ "description": "Acceleration for both printing and travel moves",
1734
+ "deprecated": "Use P and T instead"
1767
1735
  }
1768
1736
  ]
1769
1737
  },
@@ -2239,7 +2207,17 @@
2239
2207
  "parameters": [
2240
2208
  {
2241
2209
  "letter": "P",
2242
- "description": "Cancel operation: 0 = continue, 1 = cancel"
2210
+ "description": "Whether the current operation is cancelled",
2211
+ "values": [
2212
+ {
2213
+ "value": "0",
2214
+ "description": "Continue the operation"
2215
+ },
2216
+ {
2217
+ "value": "1",
2218
+ "description": "Cancel the operation"
2219
+ }
2220
+ ]
2243
2221
  },
2244
2222
  {
2245
2223
  "letter": "R",
@@ -2984,42 +2962,13 @@
2984
2962
  {
2985
2963
  "letter": "F",
2986
2964
  "description": "PWM frequency (Hz, default 500)"
2987
- },
2988
- {
2989
- "letter": "P",
2990
- "description": "Logical pin number used to control the laser"
2991
- },
2992
- {
2993
- "letter": "I",
2994
- "description": "Invert output polarity (I1 inverts, I0 default)"
2995
2965
  }
2996
2966
  ]
2997
2967
  },
2998
2968
  {
2999
2969
  "code": "M453",
3000
2970
  "summary": "Select CNC Device Mode",
3001
- "parameters": [
3002
- {
3003
- "letter": "S",
3004
- "description": "Spindle index (default 0)"
3005
- },
3006
- {
3007
- "letter": "C",
3008
- "description": "Spindle motor port names (PWM, on/off, fwd/rev)"
3009
- },
3010
- {
3011
- "letter": "Q",
3012
- "description": "PWM frequency (Hz)"
3013
- },
3014
- {
3015
- "letter": "T",
3016
- "description": "Tool number to assign spindle to"
3017
- },
3018
- {
3019
- "letter": "R",
3020
- "description": "Spindle RPM achieved at full PWM"
3021
- }
3022
- ]
2971
+ "parameters": []
3023
2972
  },
3024
2973
  {
3025
2974
  "code": "M470",
@@ -3633,6 +3582,20 @@
3633
3582
  "description": "Limit movement within axis boundaries"
3634
3583
  }
3635
3584
  ]
3585
+ },
3586
+ {
3587
+ "letter": "R",
3588
+ "description": "Handling of relative moves that exceed the axis boundaries",
3589
+ "values": [
3590
+ {
3591
+ "value": "0",
3592
+ "description": "Throw an error"
3593
+ },
3594
+ {
3595
+ "value": "1",
3596
+ "description": "Clamp the move to the axis boundaries (default)"
3597
+ }
3598
+ ]
3636
3599
  }
3637
3600
  ]
3638
3601
  },
@@ -4145,6 +4108,10 @@
4145
4108
  "code": "M574",
4146
4109
  "summary": "Set endstop configuration",
4147
4110
  "parameters": [
4111
+ {
4112
+ "letter": "E",
4113
+ "description": "Extruder to bind a filament endstop to; P gives the M950 J input port"
4114
+ },
4148
4115
  {
4149
4116
  "letter": "P",
4150
4117
  "description": "Pin name(s) for the endstop"
@@ -4200,7 +4167,25 @@
4200
4167
  "parameters": [
4201
4168
  {
4202
4169
  "letter": "P",
4203
- "description": "Serial channel number"
4170
+ "description": "Serial channel number",
4171
+ "values": [
4172
+ {
4173
+ "value": "0",
4174
+ "description": "Main serial interface, typically USB"
4175
+ },
4176
+ {
4177
+ "value": "1",
4178
+ "description": "Second serial interface, typically USB"
4179
+ },
4180
+ {
4181
+ "value": "2",
4182
+ "description": "Auxiliary serial port, typically io0 (PanelDue)"
4183
+ },
4184
+ {
4185
+ "value": "3",
4186
+ "description": "Second auxiliary serial port, typically io1"
4187
+ }
4188
+ ]
4204
4189
  },
4205
4190
  {
4206
4191
  "letter": "B",
@@ -4269,6 +4254,24 @@
4269
4254
  "description": "Device, eg Modbus or UART (if supported)"
4270
4255
  }
4271
4256
  ]
4257
+ },
4258
+ {
4259
+ "letter": "F",
4260
+ "description": "Data bits and parity, applied in Device mode only",
4261
+ "values": [
4262
+ {
4263
+ "value": "0",
4264
+ "description": "8 data bits, no parity (default)"
4265
+ },
4266
+ {
4267
+ "value": "1",
4268
+ "description": "8 data bits, even parity"
4269
+ },
4270
+ {
4271
+ "value": "2",
4272
+ "description": "8 data bits, odd parity"
4273
+ }
4274
+ ]
4272
4275
  }
4273
4276
  ]
4274
4277
  },
@@ -4311,10 +4314,6 @@
4311
4314
  {
4312
4315
  "letter": "P",
4313
4316
  "description": "Input pin to wait for (M950 J)"
4314
- },
4315
- {
4316
- "letter": "E",
4317
- "description": "Extruder drive endstop to wait for"
4318
4317
  }
4319
4318
  ],
4320
4319
  "axisParameter": {
@@ -4521,24 +4520,6 @@
4521
4520
  {
4522
4521
  "letter": "R",
4523
4522
  "description": "Probing radius from current position (mm)"
4524
- },
4525
- {
4526
- "letter": "E",
4527
- "description": "Custom endstop number to use, drive index"
4528
- },
4529
- {
4530
- "letter": "L",
4531
- "description": "Trigger level for custom endstop",
4532
- "values": [
4533
- {
4534
- "value": "0",
4535
- "description": "Active-low"
4536
- },
4537
- {
4538
- "value": "1",
4539
- "description": "Active-high"
4540
- }
4541
- ]
4542
4523
  }
4543
4524
  ],
4544
4525
  "axisParameter": {
@@ -5122,12 +5103,11 @@
5122
5103
  "description": "Activate keepout zone (default if any axes are specified)"
5123
5104
  }
5124
5105
  ]
5125
- },
5126
- {
5127
- "letter": "X",
5128
- "description": "Axis identifier and limits (aaa:bbb)"
5129
5106
  }
5130
- ]
5107
+ ],
5108
+ "axisParameter": {
5109
+ "description": "{axis} axis limits of the keepout zone (aaa:bbb)"
5110
+ }
5131
5111
  },
5132
5112
  {
5133
5113
  "code": "M600",
@@ -5753,11 +5733,7 @@
5753
5733
  "parameters": [
5754
5734
  {
5755
5735
  "letter": "P",
5756
- "description": "Drive number(s) to configure"
5757
- },
5758
- {
5759
- "letter": "X",
5760
- "description": "Axis/axes to configure (alternative to P)"
5736
+ "description": "Drive number(s) to configure, or use axis letters instead"
5761
5737
  },
5762
5738
  {
5763
5739
  "letter": "S",
@@ -5807,7 +5783,10 @@
5807
5783
  }
5808
5784
  ]
5809
5785
  }
5810
- ]
5786
+ ],
5787
+ "axisParameter": {
5788
+ "description": "Stall detection for the drivers of the {axis} axis"
5789
+ }
5811
5790
  },
5812
5791
  {
5813
5792
  "code": "M916",
@@ -5947,6 +5926,10 @@
5947
5926
  "letter": "T",
5948
5927
  "description": "Sensor (heater), LED type, or control type (spindle)"
5949
5928
  },
5929
+ {
5930
+ "letter": "B",
5931
+ "description": "Ambient temperature sensor number (heaters)"
5932
+ },
5950
5933
  {
5951
5934
  "letter": "L",
5952
5935
  "description": "Spindle RPM at zero and at maximum PWM"
@@ -6201,6 +6184,20 @@
6201
6184
  }
6202
6185
  ]
6203
6186
  },
6187
+ {
6188
+ "code": "M959",
6189
+ "summary": "Configure CAN expansion board connection",
6190
+ "parameters": [
6191
+ {
6192
+ "letter": "B",
6193
+ "description": "CAN address of the expansion board (1-126)"
6194
+ },
6195
+ {
6196
+ "letter": "T",
6197
+ "description": "Connection timeout (s), minimum 3, default 10"
6198
+ }
6199
+ ]
6200
+ },
6204
6201
  {
6205
6202
  "code": "M970",
6206
6203
  "summary": "Enable/disable phase stepping",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/monacotokens",
3
- "version": "3.7.0-beta.1",
3
+ "version": "3.7.0-beta.3",
4
4
  "description": "TypeScript library that holds syntax highlighting files for the Monaco editor",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -27,16 +27,16 @@
27
27
  "homepage": "https://github.com/Duet3D/MonacoTokens#readme",
28
28
  "peerDependencies": {
29
29
  "@duet3d/objectmodel": "~3.7.0-beta.2",
30
- "monaco-editor-core": "^0.55.1",
31
- "monaco-editor": "^0.55.1"
30
+ "monaco-editor-core": "^0.56.0",
31
+ "monaco-editor": "^0.56.0"
32
32
  },
33
33
  "peerDependenciesMeta": {
34
34
  "monaco-editor-core": { "optional": true },
35
35
  "monaco-editor": { "optional": true }
36
36
  },
37
37
  "devDependencies": {
38
- "@duet3d/objectmodel": "~3.7.0-beta.2",
39
- "monaco-editor-core": "^0.55.1",
38
+ "@duet3d/objectmodel": "~3.7.0-beta.6",
39
+ "monaco-editor-core": "^0.56.0",
40
40
  "typescript": "^7.0.2"
41
41
  },
42
42
  "files": [