plc:plc_thc_api
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plc:plc_thc_api [2017/11/10 00:54] – skirillov | plc:plc_thc_api [2017/11/10 11:40] (current) – skirillov | ||
---|---|---|---|
Line 14: | Line 14: | ||
^ Variable Name ^ Value ^ Comment ^ | ^ Variable Name ^ Value ^ Comment ^ | ||
- | ^ THC #1 Registers ^^^ | + | ^ THC #0 Registers ^^^ |
| GVAR_THC0_CONTROL | 7570 | THC #0 Control register.\\ Writing 0 to this register will turn THC off.\\ Writing 1 - Immediate (No delay) start THC\\ with pre-defined | | GVAR_THC0_CONTROL | 7570 | THC #0 Control register.\\ Writing 0 to this register will turn THC off.\\ Writing 1 - Immediate (No delay) start THC\\ with pre-defined | ||
| GVAR_THC0_INPUT | 7571 | Writing to this register will change ADC channel\\ used for THC control.\\ ADC numeration starts from 0x10\\ 0x10 - ADC #0\\ 0x11 - ADC #1\\ 0x12 - ADC #2\\ 0x13 - ADC #3\\ 0x14 - ADC #4\\ 0x15 - ADC #5\\ 0x16 - ADC #6\\ 0x17 - ADC #7\\ | | | GVAR_THC0_INPUT | 7571 | Writing to this register will change ADC channel\\ used for THC control.\\ ADC numeration starts from 0x10\\ 0x10 - ADC #0\\ 0x11 - ADC #1\\ 0x12 - ADC #2\\ 0x13 - ADC #3\\ 0x14 - ADC #4\\ 0x15 - ADC #5\\ 0x16 - ADC #6\\ 0x17 - ADC #7\\ | | ||
Line 38: | Line 38: | ||
| GVAR_THC3_OFFSETZ | 7588 | See THC #0 above | | | GVAR_THC3_OFFSETZ | 7588 | See THC #0 above | | ||
| GVAR_THC3_ENABLED | 7589 | See THC #0 above | | | GVAR_THC3_ENABLED | 7589 | See THC #0 above | | ||
+ | |||
+ | |||
+ | Examples. | ||
+ | Switch On THC#0 and THC#1 in **M03** Oxyfuel Gas Cutting ON procedure (2x gas cutting heads configuration). Pre-defined Reference Value is used, THC will be started after delay, defined in Cfg-> | ||
+ | < | ||
+ | if (thc_enabled!=0) | ||
+ | { | ||
+ | | ||
+ | | ||
+ | }; | ||
+ | </ | ||
+ | |||
+ | |||
+ | Switch Off THC#0 and THC#1 in **M05** Oxyfuel Gas Cutting OFF procedure (2x gas cutting heads configuration) | ||
+ | < | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | |||
plc/plc_thc_api.txt · Last modified: 2017/11/10 11:40 by skirillov