Download ScadaWorks Technical Reference Manual
Transcript
Section XXIV ISaGRAF Function and Function Blocks 635 Read Data From a Socket -- SockRead() Type C Function Block Function Read data from an established connection FBD Syntax SockRead( DINT SOCK, DINT MAX ) SockRead.rslt SockRead.size SockRead.data Parameters sock: DINT connection to read data from. max: DINT maximum number of byte to read from connection. Return Values rslt: DINT -2 = invalid max SIZE (must be <= 255) or invalid SOCK. -1 = no connection established. 0 = success (data available). 1 = blocked (no data available). data: DINT data bytes read (STRING). size: DINT number of data bytes read. Remarks Read data from an established socket and place it in the DATA output string. SockConnect or SockListen should be called and the status checked before every read and write of the socket. If using SockConnect in structured text, you must declare a function block instance in the ISaGRAF dictionary.
Related documents
embeo ThinShare SMB Client Suite
86A290EW00-HPC BAS5 for Xeon V1 - Support On Line
2708-803, A-B VBASIC Language Development Kit User Manual
User`s Manual - Minuteman UPS
Back - Support On Line
PCC-III Installation Manual - Preferred Utilities Manufacturing
1) On starting I am getting message network error: the port you
86A287EW01-HPC BAS5 for Xeon V1 - Support On Line
1336 FORCE-5.13 -- September 1998