Short Form Function - Panasonic GM1 User Manual

Motion controller controller rtex
Hide thumbs Also See for GM1:
Table of Contents

Advertisement

6.5 Variables
● 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 bVar0 and bVar1 with the short form
function
1.
Enter variables bVar0 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
bVar0
iVar0 iVar1 I 6
6-30
Result after the <Ctrl> key + <Enter> key are pressed
simultaneously
bVar0:BOOL;
iVar0, iVar1: INT := 6;
WUME-GM1RTXOP-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm1 series

Table of Contents