7.6.6 PACK_WORDS_TO_DWORD
Function
Realize combining 2 Word input quantities into a DWORD return value
LD graphics
Parameter description
| Interface Variable | Declaration | Type | Description |
|---|---|---|---|
| High_WORD | Var_Input | WORD | The high-order WORD of the assigned DWORD return value |
| Low_WORD | Var_Input | WORD | The low-order WORD of the assigned DWORD return value |
| Function name | Return value | DWORD | Converted result |
Example
- LD sample animation is as follows:

- ST example is shown in the following code:
OUT:=PACK_WORDS_TO_DWORD(High_WORD:=hVar,Low_WORD:=lVar);