FUNCTION SMC_SetQueueCapacity : BOOL
This function sets the variable nCapacity of the SMC_OUTQUEUE.
Note
This function is only useful if you create your own SMC_OutQueue instances, e.g. when implementing your own path preprocessor FB.
InOut:
Scope |
Name |
Type |
Comment |
Input |
poq |
POINTER TO SMC_OUTQUEUE |
Outqueue to be reset |
nSizeInBytes |
UDINT |
The size of the queue buffer in bytes |
|
Return |
SMC_SetQueueCapacity |
BOOL |