Siemens SIMATIC S7 System Manual page 125

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

4. Click the mouse pointer in the Data Type field and use the list box to select an
appropriate data type for the local variable.
Note
When you assign local variables as parameters for subroutines, you must ensure that the
data type that you assign to the local variable does not conflict with the operand being
used in the subroutine call.
5. Optionally provide a comment describing your local variable.
After you supply a value for the Symbol and Data Type fields, the Program Editor
automatically assigns an L memory address to the local variable.
Entering additional variables
The variable table displays a fixed number of rows for local variables. To add more rows to
the table, select a row in the table of the variable type that you want to add and click the
Insert button
the row you selected, and is for the same variable type that you selected.
You can also add rows by right-clicking an existing row and selecting Insert > Row or Insert
> Row Below from the context menu.
Deleting variables
To delete a local variable, select it in the variable table and click the Delete button
Alternatively you can delete a row by right-clicking it and selecting Delete > Row from the
context menu.
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
in the variable table window. A new row is automatically generated above
Programming concepts
5.6 Variable table
.
125

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents