GE DS200DTBCG1AAA控制输出终端模块
数据日志信息的第一寄存器驻留在块3的寄存器1中。这为数据留下了65152字节的存储空间。日志2中第一条记录的位置将取决于日志配置。通过读取存储器映射中位置0AAEh处的日志起始地址的日志2标题值并执行计算来确定其位置。日志起始地址是一个从0到65535的值,代表数据日志内存结构中第一个记录的第一个字节。将此数字加1,然后将此数字除以64(块中的记录数)。然后将该数字除以2(记录中的字节数),并截断除法的剩余部分以确定块号。将除法的余数乘以64将确定寄存器号。例如,如果日志起始地址为34235,则包含日志2的第一条记录的块和寄存器编号为:块编号=(34235+1)/64/2=267.46875
The first register of Data Log information resides at Register 1 of Block 3. This leaves 65152 bytes of storage for data. The location of the first Record in Log 2 will depend upon the Log configuration. Its location is determined by reading the Log 2 Header value for Log Start Address at location 0AAEh in the memory map and performing a calculation. The Log Start Address is a value from 0 to 65535 representing the first byte of the first Record within the Data Log memory structure. Add 1 to this number and then divide this number by 64 (number of Records in a Block). Then divide this number by 2 (number of bytes in a record), and truncate the remainder of the division to determine the Block number. Multiplying the remainder of the division by 64 will determine the Register number. For example, if the Log Start Address was 34235, then the Block and Register numbers containing the first record of Log 2 are: Block Number = (34235 + 1) / 64 / 2 = 267.46875