cmseaton42 / node-ethernet-ip

A Lightweight Ethernet/IP API written to interface with Rockwell ControlLogix/CompactLogix Controllers.
MIT License
263 stars 105 forks source link

tag.generateReadMessageRequest is not a function #80

Open dblasiwic opened 3 years ago

dblasiwic commented 3 years ago

When trying to read a tag and it's value, this error message is generated:

tag.generateReadMessageRequest is not a function

The error refers to ethernet-ip/src/controller/index.js In the read and write tag methods at appx lines 480 and 513.

const MR = tag.generateWriteMessageRequest(value, size);

Unable to determine why this is happening.