Panasonic FP Series Programming Manual page 309

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Bistable instructions
RS
The function block RS (reset/set) allows you to both reset and set an output.
Description
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.
For RS declare the following:
SET (S1)
RESET (R)
Q (Q1)
 The names in brackets are the valid parameter names of the ST-editor.
 Q is reset if a rising edge is detected at both inputs.
Time chart
PLC types
Availability of RS (see page 1330)
Data types
Data type
BOOL
In this example, the same POU header is used for all programming languages. For an example
Example
using IL (instruction list), please refer to the online help.
308
Reset/set
Set
The output Q is set for each rising edge at SET if RESET is not set.
reset
The output Q is reset for each rising edge at RESET.
signal output
is set if a rising edge is detected at SET and if RESET is not set; is reset if
a rising edge is detected at RESET.
I/O
Function
1st input
Set
2nd input
reset
output
set or reset depending on inputs

Advertisement

Table of Contents
loading

Table of Contents