Chapter 6 Applied Instructions Example 1 " 19 2. 16 8 .0 .1 " D1 0 D11 D12 D1 3 Aft er t he instructio n is e xe cute d D0 D1 5 D1 4 D1 D16 D1 7 Example 2 D 0 "192.168.0.1" Af ter t he instruct ion is e xecut ed D 1 Additional remarks 1. If the string in S does not end with 16#00, SM0 is ON, and the error code in SR0 is 16#200E. 2. In the string in S , except for the code representing the decimal point, the binary codes must be between 16#30–16#39 or the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 3. If there are not three decimal points “.” in the string in S , the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 4.
If the value of any section of the string IP address in S is not between 0–255, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 5. The number of characters in any section of the string IP address in S must be between 1–3 or the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 6. If you declare the operand S in ISPSoft, the data type is ARRAY [8] of WORD/INT. 7. If you declare the operand D in ISPSoft, the data type is ARRAY [2] of WORD/INT. 6-707 " 9" " 1" ". " " 2" " 6" " 1" ". " " 8" " 0" " 0" ". " " 0" " 0" " 0" 1 6 #00 " 1" 1 6# C0(1 92 ) 16 #A 8(16 8 ) 1 6 #0 0 (0 ) 16 #0 1 (1 ) 16#C0(192) 16#A8(168) 16#00(0) 16#01(1) 6 6 _