I'm attempting to program a CR206 to send the latest record from one of its data tables to a neighboring CR1000. I'm using the SendData instruction on the CR206 and the AcceptDataRecords instruction on the CR1000. I've not had any luck yet, so I'm troubleshooting. The documentation for the AcceptDataRecords says that the number of fields and their data types in the remote table must match the number of fields and their data types in the local table.
Im assuming that the numeric datatype in the CR206 maps to the FP2 data type on the CR1000. Is this correct? I'm using version 6 of the CR206 operating system, and version 16 of the CR1000 operating system.
Thanks!
I believe that you are going to confront several issues in attempting this:
- The CR200 does not support the FP2 data type. It only supports four byte floating point data types.
- The CR200 processor is "little endian" while the CR1000 is "big-endian". This means that the byte order of the record values coming from the CR200 will be reversed from what is expected by the CR1000.
This latter factor is going to be very difficult to overcome.
Try using the SendGetData in the CR200, rather than SendData. SendData is most often used for one-way data transfer to a LoggerNet server.
Regards, Dana