struct.CONFIG_DIGITAL_WELDING_IF_MAPPING_DATA
This structure is used to configure mapping data for the digital welding interface.
The
_bEnablemember variable indicates whether the mapping data is enabled. 0 means disabled, 1 means enabled.The
_nDataTypemember variable specifies the data type. 0 means On/Off signal, 1 means value.The
_nPositionalNumbermember variable specifies the positional number of the data. 0 means 1, 1 means 0.1, 2 means 0.001.The
_fMinDataand_fMaxDatamember variables represent the minimum and maximum data values, respectively.The
_nByteOffsetand_nBitOffsetmember variables represent the byte offset and bit offset, respectively.The
_nComnDataTypemember variable specifies the communication data type.The
_nMaxDigitSizemember variable represents the maximum digital value.
BYTE# | Member Variable | Data Type | Value | Description |
|---|---|---|---|---|
0 |
| unsigned char | 0 or 1 | Enabled status (0: Disabled, 1: Enabled) |
1 |
| unsigned char | 0 or 1 | Data type (0: On/Off, 1: Value) |
2 |
| unsigned char | 0, 1, or 2 | Positional number (0: 1, 1: 0.1, 2: 0.001) |
3 |
| float | Minimum data | |
7 |
| float | Maximum data | |
11 |
| unsigned char | Byte offset | |
12 |
| unsigned char | Bit offset | |
13 |
| unsigned char | 0 ~ 7 | Communication data type (0: 1-bit (Disable Low), 1: 1-bit (Disable High), 2: 2-bit, 3: 4-bit, 4: 8-bit, 5: 15-bit, 6: 16-bit, 7: 32-bit) |
14 |
| unsigned char | Maximum digital value |