Delta AH500 — 6.22.2 Explanation of Ethernet Instructions

Chapter 6 Applied Instructions API 2207 Symbol: S : Source value String D : Conversion result Double word Explanation: 1. The IP address of the string type in S is converted into the IP address of the integer type, and the conversion result is stored in D . 2. The operand S occupies eight devices. 3. The IP address of the string type in S is divided into four sections. These sections are separated by “.” (16#2E), and there are three characters in every section. 4. The value converted from the characters in every section of the IP address of the string type in S can not be larger than 255. 5.

If S is a string, there are not necessarily three characters in every section of the IP address of the string type. For example, users can enter “192.168.0.1” instead of “192.168.000.001”. Example 1: 6-525 Instruction code Operand Function D IATON P S, D Converting the IP address of the string type into the IP address of the integer type Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S          D        Pulse instruction 16-bit instruction 32-bit instruction (5-11 steps) AH500 - AH500