PingRequest (FB)¶
FUNCTION_BLOCK PUBLIC FINAL PingRequest EXTENDS ETrigTo
Checks the availability of the communication partner with a ping request.
The time out value specifies the time to wait until reply
- InOut:
- Scope - Name - Type - Comment - Inherited from - Input - xExecute- BOOLRising edge: Starts defined operation- FALSE: Resets the defined operation after ready condition was reached- ETrigTo - udiTimeOut- UDINT- Max. operating time for executing [µs], 0: No operating time limit - ETrigTo - Output - xDone- BOOL- Ready condition reached - ETrigTo - xBusy- BOOL- TRUE: Operation is running- ETrigTo - xError- BOOL- TRUE: Error condition reached- ETrigTo - eErrorID- ETrigTo - Input Const - itfAsyncProperty- Input - itfIPAddress- IP address of the communication partner - Output - udiReplyTime- UDINT- Average reply time of the ping request in milliseconds 
Methods:
Structure: