Analog Potentiometer - Panasonic FPS Series User Manual

Table of Contents

Advertisement

FPΣ User's Manual

3.4 Analog Potentiometer

The FPΣ is equipped with two analog potentiometers. Turning the potentiometers changes the
values of the special data registers reserved for the potentiometer input. The values can be
set within a range of 0-1000.
Using the potentiometers, you can change the internal set values in the PLC (e.g. of an
analog clock) without needing the programming tool. To access special data registers and
special internal relays, use the PLC-independent system variables.
Analog potentiometers
1
V0 (potentiometer 0): Changes the value of DT90040 within a range of 0 to 1000.
V1 (potentiometer 1): Changes the value of DT90041 within a range of 0 to 1000.
System variables and special data registers
Potentiometer
V0
V1
EXAMPLE
In this example, an analog clock is created that allows you to set the time via a
potentiometer. The value of special data register DT90040 set using V0 is used as a
set value for a timer. This value is written into the set value area (SV) of Timer0 to set
the clock. The value of DT90040 is read using the system variable sys_iPotiInputV0,
which can be inserted directly into the body via the "Variables" dialog without a
declaration in the POU header. Please refer to the FPWIN Pro online help for detailed
information on using system variables.
POU Header
System variable
sys_iPotiInputV0
sys_iPotiInputV1
Special data register
DT90040
DT90041
3.4 Analog Potentiometer
Range
0–1000
29

Advertisement

Table of Contents
loading

Table of Contents