EasyManuals Logo

Panasonic FP Series User Manual

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #250 background imageLoading...
Page #250 background image
Conversion instructions
249
Part II IEC Instructions
STRING_TO_IPADDR
_STEPSAVER
STRING (IP-Address Format 00a.0bb.0cc.ddd) to DWORD
The function uses for approx. 50 steps of generated code the basic instruction F76_A2BIN (see
page 637). The instruction expects that each octet consists of three cha
racters with leading zeros.
Otherwise the PLC delivers an operation error.
To add an enable input and enable output to the instruction, select [With EN/ENO] from the
"Instructions" pane (LD, FBD or IL editor). To reuse an instruction select "Recently used" from the
context menu or press <Ctrl>+<Shift>+<v> in the programming window.
Example:
Permissible format:
'Octet1.Octet2.Octet3.Octet4[Space]', e.g.: ' [192.168.206.4] '
Permissible characters:
Octets 1-4 Decimal numbers "0“-"9“, maximal 3 positions, with or without leading
zeros in the range 0-255
PLC types
Availability of STRING_TO_IPADDR_STEPSAVER (see page 1331)
If the format is wrong the result is 0.
The conversion is such that the first octet represents the lowest byte
of the IP address and the fourth octet the highest byte of the ET-LAN
address. The format corresponds to the standard format as used in
"Standard Socket Application Interfaces", for example.
Data type Comment
STRING input variable
DWORD output variable
Description
This function converts a STRING in IP address format into a value of the data type DWORD.
Data types

Table of Contents

Other manuals for Panasonic FP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP Series and is the answer not in the manual?

Panasonic FP Series Specifications

General IconGeneral
MountingDIN rail
TypePLC
Communication InterfaceRS-232, RS-485, Ethernet (depending on model)
Input Voltage100-240V AC or 24V DC (depending on model)
Output TypeRelay, Transistor
I/O PointsVaries by model
Operating Temperature0°C to 55°C
DimensionsVaries by model
WeightVaries by model

Related product manuals