C
With Unity using topological addressing and Citect expecting the standard Modbus 0xxx, 1xxx, 3xxx and 4xxx, I am having problem getting the two applications to talk to each other.
I have setup Citect to read from the process as advised from the Help Documentation. I have found the correct device through the setup wizard and it has selected Modnet30 as the protocol to use.
However, I am not sure how I should be addressing it as it is not reading or writing any inputs and outputs, though it compiles with no errors.
I have assigned variables in Unity
DI1 -> %I0.2.0 EBOOL
DI2 -> %I0.2.1 EBOOL
DI3 -> %I0.2.2 EBOOL
DO1 -> %Q0.3.0 EBOOL
and correspondingly in CitectSCADA
DI1 -> 100001 DIGITAL
DI2 -> 100002 DIGITAL
DI3 -> 100003 DIGITAL
DO1 -> 000001 DIGITAL
I am aware that the DI1 is now actually a BYTE, but Citect does not allow this classification, bringing up a Bad Raw Data Type error when compiling.
Please advise.
I can be contacted at yuzuyu__chan at hotmail. com
I have setup Citect to read from the process as advised from the Help Documentation. I have found the correct device through the setup wizard and it has selected Modnet30 as the protocol to use.
However, I am not sure how I should be addressing it as it is not reading or writing any inputs and outputs, though it compiles with no errors.
I have assigned variables in Unity
DI1 -> %I0.2.0 EBOOL
DI2 -> %I0.2.1 EBOOL
DI3 -> %I0.2.2 EBOOL
DO1 -> %Q0.3.0 EBOOL
and correspondingly in CitectSCADA
DI1 -> 100001 DIGITAL
DI2 -> 100002 DIGITAL
DI3 -> 100003 DIGITAL
DO1 -> 000001 DIGITAL
I am aware that the DI1 is now actually a BYTE, but Citect does not allow this classification, bringing up a Bad Raw Data Type error when compiling.
Please advise.
I can be contacted at yuzuyu__chan at hotmail. com
