UDINT_IN_BYTES (STRUCT)ΒΆ

TYPE UDINT_IN_BYTES : STRUCT

This structure contains the IP address in dotted decimal notation.
Example: The IP address 10000010 01011110 01111010 11000011 will be translated to 130.094.122.195 in dotted decimal notation. Each of the 4 number blocks builds an entry of the structure UDINT_IN_BYTES.
InOut:

Name

Type

Comment

s_b1

BYTE

First decimal block, in the example 130

s_b2

BYTE

Second decimal block, in the example 094

s_b3

BYTE

Third decimal block, in the example 122

s_b4

BYTE

Fourth decimal block, in the example 195