Y_YA_PLC_mSec
This function converts PLC system ticks to a value that counts milliseconds.
Parameters:
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_INPUT | ||||
| B | Enable | BOOL | This function will continue to update while EN is held high. | FALSE |
| VAR_OUTPUT | ||||
| B | Valid | BOOL | High if the function is executing normally. | |
| B | Error | BOOL | Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low. | |
| B | ErrorID | UINT | If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable goes low. | |
| V | mSec | UDINT | PLC System tick in milliseconds. | |
Error Description
See the
Function Block ErrorID List