Panasonic FP Series Programming Manual page 1137

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

GT panel instructions
GT_ChangeBacklight
Brightness
This instruction changes the backlight brightness of the GT Panel using the variables described in
Description
the table for data types.
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.
see page 1327
PLC types
Data types
Input variable
iBrightness
Input/output variable
dutGTBitArea
Output variable
bError
In this example the function has been programmed in ladder diagram (LD) and structured text
Example
(ST).The same POU header is used for all programming languages.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
LD
ST
fb_GT_ChangeBacklightBrightness((* EN := TRUE, *)
1136
Changes the backlight brightness of a GT panel
Data type
INT
GT_BasicComBitArea
BOOL
iBrightness
dutGTBitArea
bError
(* , ENO => ?BOOL?
Function
Brightness value 0–15
GT basic communication bit area
Turns on if the brightness value is out of range
:= iBrightness,
:= g_GT_BitArea,
=>
bErrorBacklightBrightness
*));

Advertisement

Table of Contents
loading

Table of Contents