This is an API documentation for INACS7
ConnectionString
This property includes the full specification of the connection to the PLC and the internal behavior of INACS7. Connection parameter for the PLC connection are separated by ';'.
Parameter | DefaultValue | Description | |
---|---|---|---|
Data Source | [IP]:[PORT],[RACK],[SLOT] | ||
Connection | Type = Pg | Type of the PLC connection (used by PLC). (Pg, Op, Basic) | |
Receive Timeout | 5000 | Maximum of time a receive could last. | |
Connect Timeout | 5000 | Maximum of time a connect could last. | |
Reconnect | false | If connection get's lost try reconnect. | |
KeepAliveTime | 0u | https://technet.microsoft.com/en-us/library/cc957549.aspx | |
KeepAliveInterval | 0u | https://technet.microsoft.com/en-us/library/cc957548.aspx | |
PduSize | 960 | Maximum size we could handle in one datagram (will be updated while connect handshake) | |
Sleeptime After Max Pending Calls Reached | 5 | As the name says, in ms. | |
Maximum Parallel Jobs | 1 | Used by Simatic Manager -> best performance with 1 | |
Maximum Parallel Calls | 4 | Used by InacS7 to controll the parallelity | |
Use Threads | true | Used by InacS7 and means TaskCreationOptions.LongRunning if is set to true |
"Data Source = 127.0.0.1:102,0,2; Receive Timeout = 5000;Reconnect=true"