omron-fins
Advanced tools
Comparing version 0.5.0-beta.4 to 0.5.0
@@ -49,3 +49,3 @@ const dgram = require('dgram'); | ||
* @param {string} host The IP or hostname to connect to | ||
* @param {object} options Additional options including `MODE` `protocol` `timeout` `DNA` `DA1` `DA2` `SNA` `SA1` `SA2` | ||
* @param {object} options Additional options including `protocol` `MODE` `timeout` `DNA` `DA1` `DA2` `SNA` `SA1` `SA2` | ||
* @param {boolean} [connect=true] (optional, default=true) Connect to PLC when initialising | ||
@@ -164,2 +164,3 @@ * @returns | ||
optionOverride(self.options, options, "protocol"); | ||
optionOverride(self.options, options, "MODE"); | ||
optionOverride(self.options, options, "timeout"); | ||
@@ -173,2 +174,3 @@ optionOverride(self.options, options, "max_queue"); | ||
optionOverride(self.options, options, "DA2"); | ||
optionOverride(self.options, options, "maxEventListeners"); | ||
} | ||
@@ -175,0 +177,0 @@ self.init(port || self.port, host || self.host, self.options); |
@@ -17,14 +17,6 @@ const constants = require('./FinsConstants'); | ||
case "CSCJ": | ||
self.memoryAreas = constants.MemoryAreas.CS; | ||
break; | ||
case "CJ": | ||
self.memoryAreas = constants.MemoryAreas.CS; | ||
break; | ||
case "CP": | ||
self.memoryAreas = constants.MemoryAreas.CS; | ||
break; | ||
case "NJ": | ||
case "NJNX": | ||
self.memoryAreas = constants.MemoryAreas.CS; | ||
break; | ||
case "NX": | ||
@@ -31,0 +23,0 @@ self.memoryAreas = constants.MemoryAreas.CS; |
{ | ||
"name": "omron-fins", | ||
"description": "Node.js implementation of the Omron FINS protocol", | ||
"version": "0.5.0-beta.4", | ||
"version": "0.5.0", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "author": { |
130576
2615