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 #259 background imageLoading...
Page #259 background image
Selection instructions
258
Part II IEC Instructions
SEL
Select value from one of two channels
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.
PLC types
Availability of SEL (see page 1330)
When using the data type STRING with small PLCs like FP-e or FP0,
make sure that the length of the result string is equal to or greater than
the length of the source string.
For further information refer to the online help: Upgrade Problems with
Data Type STRING
The difference between the functions SEL and MUX (see page 255) is
that in case of SEL a Boolean value serves for the channel selection,
and in case of MUX an integral number (INT). Therefore, you can
choose between more than two channels with MUX.
Data type I/O Function
BOOL G selects between input value IN0 or IN1
all data types IN0 value is written into the output variable if G = FALSE
all data types IN1 value is written into the output variable if G = TRUE
all data types output result value as IN0 or IN1
In this example the input variables (channel_select, channel_0 and channel_1) have been
declared. Instead, you may enter a constant directly at the input contact of a function.
Description
With the first input variable (data type BOOL) of SEL you define which input variable is to be written
into the output variable. If the Boolean value = 0 (FALSE), the input variable IN0 will be written into
the output variable, otherwise IN1.
Data types
Example
In this example, the same POU header is used for all programming languages. For an example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables which are required for programming the function are declared in the
POU header.
Body
If channel_select has the value 0, channel_0 will be written into output, otherwise channel_1.

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