Comments (4)
Sorry, I've somehow missed this issue. As far as I could read on the internet, AB Micro800 doesn't follow the exact same protocol as a ControlLogix PLC would, so I fear this is incompatible with a Micro800. Unfortunately I don't have any here so I can test. Have you tried using node-red-contrib-pccc
?
Closing the issue for now, but feel free to reopen it's the case
from node-red-contrib-cip-ethernet-ip.
Closing the issue for now, but feel free to reopen it's the case
to use micro800 seems needs minor changes, I use https://github.com/dmroeder/pylogix , seems only handshaking header is different, I can help you to test your code, I have micro820, please find following python code snippets :
if self.Micro800:
ConnectionPath = [0x20, 0x02, 0x24, 0x01]
else:
ConnectionPath = [0x01, self.ProcessorSlot, 0x20, 0x02, 0x24, 0x01]
and
def _makeString(self, string):
work = []
if self.Micro800:
temp = pack('<B', len(string)).decode('utf-8')
else:
temp = pack('<I', len(string)).decode('utf-8')
for char in temp:
work.append(ord(char))
for char in string:
work.append(ord(char))
if not self.Micro800:
for x in range(len(string), 84):
work.append(0x00)
return work
from node-red-contrib-cip-ethernet-ip.
Closing the issue for now, but feel free to reopen it's the case
to use micro800 seems needs minor changes, I use https://github.com/dmroeder/pylogix , seems only handshaking header is different, I can help you to test your code, I have micro820, please find following python code snippets :
if self.Micro800:
ConnectionPath = [0x20, 0x02, 0x24, 0x01]
else:
ConnectionPath = [0x01, self.ProcessorSlot, 0x20, 0x02, 0x24, 0x01]
and
def _makeString(self, string):
work = []
if self.Micro800:
temp = pack('<B', len(string)).decode('utf-8')
else:
temp = pack('<I', len(string)).decode('utf-8')
for char in temp:
work.append(ord(char))
for char in string:
work.append(ord(char))
if not self.Micro800:
for x in range(len(string), 84):
work.append(0x00)
return work
Hi, i working with Micro820, I build package node-logix i hope help to anybody
from node-red-contrib-cip-ethernet-ip.
Hi, i working with Micro820, I build package node-logix i hope help to anybody
Can @msvargas 's code be merged in the node-red package?
from node-red-contrib-cip-ethernet-ip.
Related Issues (20)
- AB CompactLogix L24ER HOT 1
- Error communication with plc HOT 1
- Error connecting to PLC: Error: TIMEOUT occurred while reading Controller Props.
- Tag names starting with "_" (underscore)
- Transfer of BOOL variable
- Error communicating with PLC, Omron NX1P HOT 3
- Logix 5000 Series - Error communicating with the PLC: {"generalStatusCode":30, "extendedStatus":[]} HOT 1
- Use function node to configure the tags
- Error communicating with the PLC
- When defining long tag path results in "Variable [:FLIR_AX8:I.Measurement1.SpotTemp] not found"
- Not a PLC, but Ethernet-IP Protocol HOT 1
- Bool Variable
- Populate Vartable from Environment Variables HOT 1
- Error communicating with the PLC: {"generalStatusCode":4,"extendedStatus":[0]} HOT 1
- Write TAGS from Messaje
- Plc is not automatically reconnected HOT 5
- Some Plcs going offline after updating st-ethernet-ip HOT 3
- Offline plc related to a mismatched order in tags (only for arrays) HOT 1
- "Error communicating with the PLC: {"generalStatusCode":1,"extendedStatus":[273]}" HOT 6
- Reading a value from a matrix (bidimensional array) of STRING_8 cause the write of truncated string on plc HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-cip-ethernet-ip.