7.10.6 SWAPB_DWORD
Function
DWORD high and low byte exchange
LD graphics
Parameter description
| Interface variable | Declaration | Data type | Description |
|---|---|---|---|
| IN | Var_Input | DWORD | Data to be converted |
| Function name | Return value | DWORD | Output the converted result |
Example
- LD example is shown in the following animation:

- ST example is shown in the following code:
OUT_DWORD := SWAPB_DWORD(IN_DWORD);