Panasonic FP Series Programming Manual page 58

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Example:
Value
Conversion function
16#01020304
IPADDR_TO_STRING
IPADDR_TO_STRING_NO
_LEADING_ZEROS
NOTE
If you want an interpretation of the DWORD in direct order, use the conversion functions that
invoke the data type ETLANADDR.
1.4.5.8 ETLANADDR
The data type ETLANADDR only occurs in the following conversion functions:
ETLANADDR_TO_STRING (see page 234)
ETLANADDR_TO_STRING_NO_LEADING_ZEROS (see page 235)
STRING_TO_ETLANADDR (see page 249)
STRING_TO_ETLANADDR_STEPSAVER
These conversion functions interpret variables of the type DWORD as strings in ETLANADDR format. This
format consists of four octal numbers (with or without leading zeros) seperated by periods in direct order, i.e. the
highest octal number in the ETLANADDR number will be the highest octal number in the string.
Example:
Value
Conversion function
16#01020304
ETLANADDR_TO_STRING
ETLANADDR_TO_STRING_
NO_LEADING_ZEROS
NOTE
If you want an interpretation of the DWORD in inverse order, use the conversion functions
invoking the data type IPADDR.
1.4.5.9 ANY_IN_UNITS_OF_WORDS
Allowed are:
Data types INT, DINT, WORD, DWORD, REAL, STRING, TIME
Arrays with data types other than BOOL
All DUTs that contain elements with data types besides BOOL
Note:
These data types can lie in the following areas: WX, DWX, WY, DWY, WR, DWR, WL, DWL, SV,
DSV, EV, DEV, DT, DDT, LD, DLD, FL, DFL. For failure to make an assignment in the address field
Result
004.003.002.001
4.3.2.1
Result
001.002.003.004
1.2.3.4
Basics
57

Advertisement

Table of Contents
loading

Table of Contents