EasyManua.ls Logo

Panasonic GM1 - Short Form Function

Panasonic GM1
650 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
Loading...
Persistent variables used as local variables can be declared (as VAR PERSISTENT RETAIN)
in the declaration section for each POU object.
Instance paths of persistent variables declared in each POU object can be added to the
persistent variable list.
With the persistent variable list declaration section selected, from the menu bar, select
Declare>Add All Instance Paths.
6.5.9 Short Form Function
Using the short form function in the declaration section in character string format enables
variables to be declared by entering fewer characters.
Example: Declaring Boolean variables bV
ar0 and bVar1 with the short form
function
1. Enter variables bV
ar0 and bVar1, and press the <Ctrl> key + <Enter> key simultaneously.
"bVar0, bVar1:BOOL;" will be entered automatically.
The table below shows examples of input using the short form function.
Strings entered following a semicolon (;) are treated as comments.
Input in short form Result after the <Ctrl> key + <Enter> key are pressed
simultaneously
bVar0 bVar0:BOOL;
iVar0 iVar1 I 6 iVar0, iVar1: INT := 6;
6.5 Variables
6-30 WUME-GM1RTXOP-01

Table of Contents

Related product manuals