Function Recommanded: AddressTagOrganizer for PlcXXXRequest.Builder #2190
parallelbgls
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes, server implements in a non standard protocol and will need some specific ways for client to communicate.
One Example for modbus.
Client required 400100 to 400214. But server implements with a non standard way.
They offered a document said that client need to send 3 packs to read those datas.
400100-400149 400150-400199 400200-400249
Any other read request will be rejected with no response.
Another example is more common in real.
Server set 6 bit datas in 400074.1 - 400074.6
and 400074.7-400074.16 has no space.
That means if client read any data 400074.7-400074.16 or 400074, server will return ILLEGAL_DATA_ACCESS.
One recommanded solution is to add a class called AddressTagOrganizer for PlcXXXRequest.Builder for those Requests having data reading ability.
Default value of organizer is null for default.
There are 4 methods in organizer
Beta Was this translation helpful? Give feedback.
All reactions