DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming S +4: the local time zone (integer format) D: D +0, D +1, D +2: calculated sunrise time (24 hour format); hr : min : sec (integer format) D +3, D +4, D +5: calculated sunset time (24 hour format); hr : min : sec (integer format) m : K15 n : Reserved K16: String combination Explanation: The system searches for the location of ETX (value 0x00) of the destination data string (lower 8 bits), then copies the data string starting of the source register (lower 8 bits) to the end of the destination data string. The source data string will be copied in byte order until the ETX (value 0x00) is reached. Points to note:
The operand n sets the max data length after the string combination (max 256). If the ETX is not reached after the combination, the location indicated by n will be the ETX and filled with 0x00. The combination will be performed in the following rule: Hi-byte Lo-byte Hi-byte Lo-byte S+0 S+0 S+1 S+1 Hi-byte Lo-byte Hi-byte Lo-byte S+2 S+2 D+0 D+1 D+0 D+1 S+3 S+3 D+2 D+2 S+4 S+4 D+3 D+3 Hi-byte Lo-byte Hi-byte Lo-byte D+4 D+4 D+0 D+0 D+5 D+5 D+1 D+1 D+6 D+6 D+2 D+2 D+7 D+7 D+3 D+3 K17: String capture Explanations: operand n to the destination registers, where the n+1 register will be filled with 0x00.
If value The system copies the source data string (lower 8 bits) with the data length specified by 0x00 is reached before the specified capture length n is completed, the capture will also be ended. The capture will be performed in the following rule: 3-186 ‘A’ ‘B’ ‘C’ ‘D’ 0x00 ‘a’ ‘b’ ‘c’ ‘A’ ‘B’ ‘C’ ‘D’ 0x00 ‘a’ ‘b’ ‘c’ 0x00