7.12.2 IS_VALID_BCD
Function
Verify that the input value conforms to the BCD definition. If it meets the BCD definition, output 1; otherwise, output 0
LD graphics
Parameter description
| Interface variable | Declaration | Data type | Description |
|---|---|---|---|
| IN | Var_Input | ANY_BYTE | Value to be determined |
| Function name | Return value | BOOL | Output result |
warning
- ANY_BYTE data type bit string (BYTE, WORD, DWORD, LWORD)
Example
- LD sample animation is as follows:

- ST sample animation is as follows:
