Chapter 6 Applied Instructions Symbol S : Source value D : Conversion result Explanation 1. This instruction converts the IP address in S and S +1 into a string IP address, and stores the conversion result in D . 2. The operand D occupies eight consecutive devices. Example D 10 D 11 D 12 D 0 Afte r th e in struction is exe cu ted D1 3 "192.168.0.1" D 1 D 15 D 14 D 16 D1 7 Additional remarks 1. If you declare the operand S in ISPSoft, the data type is ARRAY [2] of WORD/INT. 2. If you declare the operand D in ISPSoft, the data type is ARRAY [8] of WORD/INT.
6-705 API Instruction code Operand Function 2206 INTOA P S,D Converting an integer IP address into a string IP address Device X Y M S T C HC D FR SM SR E K 16# “$” F S D BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S D Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 - 6 6 _ " 9" " 1" "." " 2" " 6" " 1" "." " 8" " 0" " 0" "." " 0" " 0" " 0" 16 #00 " 1" 16 #C0( 192) 16#A8(16 8) 16#00 ( 0) 16 #01 (1)