We met a serious problem during developing SCS dual functions. After several days we found the values set in a messages can not be
set in the binary data file on a SCS. Sometimes some messages is considered as incorrectly; sometimes some messages with strange or
invalid values can be accepted.
This phenomenon puzzled we several days. This morning we are aware that there certain is a map between the message setting values
and the fields in a record of the binary file. They are not to simply map one to one.
For example, the starting or end before / after condition in the messages has 13 values. However, that field in the binary record
has about 12 values after our studying. When the before / after condition is setted as 5 or 6, those two values both maps to 0x20(32)
in a record.
So, we can not write a function to get the message's value by a record's value. If met 0x20, which we can choose?
set in the binary data file on a SCS. Sometimes some messages is considered as incorrectly; sometimes some messages with strange or
invalid values can be accepted.
This phenomenon puzzled we several days. This morning we are aware that there certain is a map between the message setting values
and the fields in a record of the binary file. They are not to simply map one to one.
For example, the starting or end before / after condition in the messages has 13 values. However, that field in the binary record
has about 12 values after our studying. When the before / after condition is setted as 5 or 6, those two values both maps to 0x20(32)
in a record.
So, we can not write a function to get the message's value by a record's value. If met 0x20, which we can choose?