Comparing version 0.2.6 to 0.3.0
@@ -0,1 +1,8 @@ | ||
Version: 0.3.0 | ||
------------ | ||
- Add variable timeout (thanks to babinc) | ||
- Add reference to MIT license to package.json | ||
- Use of arrow functions requires dropping support for very old versions of node | ||
Version: 0.2.5 | ||
@@ -2,0 +9,0 @@ ------------ |
{ | ||
"name": "nodes7", | ||
"description": "Routine to communicate with Siemens S7 PLCs", | ||
"version": "0.2.6", | ||
"version": "0.3.0", | ||
"author": { | ||
@@ -21,3 +21,4 @@ "name": "Dana Moffit", | ||
"main": "nodeS7.js", | ||
"engine": "node 0.10.x" | ||
"engine": "node 4.4.x", | ||
"license": "MIT" | ||
} |
@@ -44,3 +44,3 @@ nodeS7 | ||
conn.initiateConnection({port: 102, host: '192.168.0.2', rack: 0, slot: 1}, connected); // slot 2 for 300/400, slot 1 for 1200/1500 | ||
//conn.initiateConnection({port: 102, host: '192.168.0.2', localTSAP: 0x0100, remoteTSAP: 0x0200}, connected); // local and remote TSAP can also be directly specified instead | ||
//conn.initiateConnection({port: 102, host: '192.168.0.2', localTSAP: 0x0100, remoteTSAP: 0x0200, timeout: 8000}, connected); // local and remote TSAP can also be directly specified instead. The timeout option specifies the TCP timeout. | ||
@@ -47,0 +47,0 @@ function connected(err) { |
Sorry, the diff of this file is too big to display
118777
2194
7