-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hello!
Just wanted to use your library as a part of my project. Great work btw!
One question is that I simply have no idea how to use it with PLC. I am not PLC guy at all, just Java Programmer.
For example I have three addresses: D01194, H0003.03 & CIO1003.10
As I understood you are sending this as a part of msg frame.
Now in the FinsConnection class I have readRegister methods:
public int readRegister(int memoryArea, int registerAddress, int bits)
&
public int readRegister(int memoryArea, int registerAddress)
From the PLC doc, I found that D, H or CIO are PC Communication Areas. It is memoryArea in the lib?
Should I convert those to HEX, so for example:
D -> 0x000044
H -> 0x000068
CIO -> 0x63696f ?
Then I assume that number is just a register with a spcific bit after dot, right?
Would be great to have simple explanation!
Best Regards,
Adam