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 #922 background imageLoading...
Page #922 background image
Timer instructions
921
Part III FP Instructions
Variable Data type Function
start BOOL start contact
SV INT, WORD set value
T BOOL timer contact
EV INT, WORD elapsed value
For Relay T/C Register Constant
start X Y R L T C - - - -
T - Y R L - - - - - -
SV, EV - WY WR WL SV EV DT LD FL -
This example uses variables. You may also use constants for the input variables.
Data types
Operands
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 used for programming the function block TM_100ms_FB
are declared in the POU header. This also includes the function block (FB) itself. By declaring the
FB you create a copy of the original FB. This copy is saved under Alarm_Control, and a separate
data area is reserved.
Body
As soon the variable Start_contact becomes TRUE, the timer Alarm_control will be started. The
variable EV of the timer is set to the value of SV. As long as Start_contact is TRUE, the value 1 is
subtracted from EV every 100ms. When EV reaches the value 0 (after 10 seconds as SV = 100
with the timer type TM_100ms_FB), the variable Alarm_Relay_2 becomes TRUE.
As soon as the value of the variable EV of the timer is smaller than or equal to 50 (after 5s) and EV
is unequal 0, Alarm_Relay_1 is set to TRUE.

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