Difference between revisions of "TestIT:Programming Socket"
Jump to navigation
Jump to search
NolekAdmin (talk | contribs) (Created page with "==5.3.12 Socket== ===Socket_Execute=== '''Description:''' <br /> It will execute socket device and selected command. '''Code example:''' :<code>Socket.Socket_Execute(Socket1,...") |
NolekAdmin (talk | contribs) |
||
| Line 33: | Line 33: | ||
|Bool symbol | |Bool symbol | ||
|True if timeout active | |True if timeout active | ||
| + | |} | ||
| + | |||
| + | ===IP Execute=== | ||
| + | |||
| + | '''Description:''' | ||
| + | |||
| + | It will execute the seleted IP device. | ||
| + | |||
| + | '''Code example:''' | ||
| + | |||
| + | <code>Socket.IP_Execute(IPDevice)</code> | ||
| + | |||
| + | {| class="wikitable" | ||
| + | !colspan="3"|Parameters | ||
| + | |- | ||
| + | |'''Parameter''' | ||
| + | |'''Type''' | ||
| + | |'''Description''' | ||
| + | |- | ||
| + | |Device name | ||
| + | |String or String symbol | ||
| + | |The device name | ||
| + | |- | ||
|} | |} | ||
Revision as of 15:33, 5 September 2019
5.3.12 Socket
Socket_Execute
Description:
It will execute socket device and selected command.
Code example:
Socket.Socket_Execute(Socket1,Results,_ST01;_ST02;_ST03,_ResultMsg1;_ResultMsg2,_TO01)
| Parameters | ||
|---|---|---|
| Parameter | Type | Description |
| Device name | String or String symbol | The device name |
| Command name | String or String symbol | Select the command to use |
| Send parameters | Symbol array | The values to send |
| Receive parameters | Symbol array | Text received from socket command will be split into these symbols |
| Timeout active | Bool symbol | True if timeout active |
IP Execute
Description:
It will execute the seleted IP device.
Code example:
Socket.IP_Execute(IPDevice)
| Parameters | ||
|---|---|---|
| Parameter | Type | Description |
| Device name | String or String symbol | The device name |