vi • Table of Contents
4.4.10 |
'Project' 'Object Open'................................................................... |
117 |
4.4.11 |
'Project' 'Object Access rights' ...................................................... |
118 |
4.4.12 |
'Project' 'Object properties' ........................................................... |
119 |
4.4.13 |
'Project' 'Add Action' .................................................................... |
119 |
4.4.14 |
'Project' 'Open Instance' ................................................................ |
119 |
4.4.15 |
'Project' 'Show Call Tree' .............................................................. |
120 |
4.4.16 |
'Projekt' 'Show cross reference'..................................................... |
120 |
4.5 General Editing Functions ....................................................................... |
121 |
|
4.5.1 |
'Edit' 'Undo'................................................................................... |
121 |
4.5.2 |
'Edit' 'Redo' ................................................................................... |
122 |
4.5.3 |
'Edit' 'Cut' ...................................................................................... |
122 |
4.5.4 |
'Edit' 'Copy' ................................................................................... |
123 |
4.5.5 |
'Edit' 'Paste' ................................................................................... |
123 |
4.5.6 |
'Edit' 'Delete" ................................................................................ |
124 |
4.5.7 |
'Edit' 'Find' .................................................................................... |
125 |
4.5.8 |
'Edit' 'Find next'............................................................................. |
125 |
4.5.9 |
'Edit' 'Replace'............................................................................... |
126 |
4.5.10 |
'Edit' 'Input Assistant'.................................................................... |
126 |
4.5.11 |
'Edit''Declare Variable'.................................................................. |
129 |
4.5.12 |
'Edit' 'Next error'".......................................................................... |
129 |
4.5.13 |
'Edit' 'Previous error'" ................................................................... |
130 |
4.5.14 |
'Edit' 'Macros'................................................................................ |
130 |
4.6 General Online Functions ........................................................................ |
130 |
|
4.6.1 |
'Online-Change' Functionality ...................................................... |
130 |
4.6.2 |
'Online' 'Login' .............................................................................. |
131 |
4.6.3 |
If the system reports...................................................................... |
131 |
4.6.4 |
'Online' 'Logout' ............................................................................ |
132 |
4.6.5 |
'Online' 'Download'....................................................................... |
132 |
4.6.6 |
'Online' 'Run'................................................................................. |
133 |
4.6.7 |
'Online' 'Stop' ................................................................................ |
133 |
4.6.8 |
'Online' 'Reset'............................................................................... |
133 |
4.6.9 |
'Online' 'Reset (cold)' .................................................................... |
133 |
4.6.10 |
'Online' 'Reset (original)'............................................................... |
134 |
4.6.11 |
'Online' 'Toggle Breakpoint' ......................................................... |
134 |
4.6.12 |
'Online' 'Breakpoint Dialog Box' .................................................. |
134 |
4.6.13 |
'Online' 'Step over' ........................................................................ |
135 |
4.6.14 |
'Online' 'Step in' ............................................................................ |
135 |
4.6.15 |
'Online' 'Single Cycle' ................................................................... |
136 |
4.6.16 |
'Online' 'Write values' ................................................................... |
136 |
4.6.17 |
'Online' 'Force values' ................................................................... |
137 |
4.6.18 |
'Online' 'Release force'.................................................................. |
138 |
4.6.19 |
'Online' 'Write/Force' Dialog'........................................................ |
139 |
4.6.20 |
'Online' 'Show Call Stack'............................................................. |
141 |
4.6.21 |
'Online' 'Flow Control'"................................................................. |
141 |
4.6.22 |
'Online' 'Simulation' ...................................................................... |
142 |
4.6.23 |
'Online' 'Communication Parameters' ........................................... |
142 |
4.6.24 |
Principle of a gateway system ...................................................... |
142 |
4.6.25What the communications parameters dialog on the local PC shows143
4.6.26 |
Setting up the desired gateway server and channel ...................... |
144 |
4.6.27 |
Setting up a new channel for the local gateway server................. |
146 |
WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32
Table of Contents • vii
4.6.28Tips for editing the parameters in the communications parameters
dialogue......................................................................................... |
147 |
4.6.29Quick check in the event of unsuccessful connection attempt to the
|
gateway ......................................................................................... |
147 |
4.6.30 |
'Online' 'Sourcecode download' .................................................... |
148 |
4.6.31 |
'Online' 'Create bootproject' .......................................................... |
148 |
4.6.32 |
'Online' 'Write file to controller' ................................................... |
148 |
4.6.33 |
'Online' 'Load file from controller' ................................................ |
148 |
4.7 Log |
........................................................................................................... |
149 |
4.7.1 .............................................................................. |
'Window' 'Log' |
149 |
4.7.2 ...................................................................................... |
Menu Log |
150 |
4.7.3 .................................................................. |
Storing the project log |
151 |
4.8 Window .........................................................................................set up |
151 |
|
4.8.1 ............................................................ |
'Window' 'Tile Horizontal' |
151 |
4.8.2 ................................................................ |
'Window' 'Tile Vertical' |
152 |
4.8.3 ....................................................................... |
'Window' 'Cascade' |
152 |
4.8.4 ......................................................... |
'Window' 'Arrange Symbols' |
152 |
4.8.5 ..................................................................... |
'Window' 'Close All' |
152 |
4.8.6 ..................................................................... |
'Window' 'Messages' |
152 |
4.9 Help .............................................................................when you need it |
152 |
|
4.9.1 ............................................................ |
'Help' 'Contents and Index' |
152 |
4.9.2 ...................................................................... |
Main Help Window |
153 |
4.9.3 .............................................................................. |
Index Window |
154 |
4.9.4 ................................................................. |
Context Sensitive Help |
155 |
5 The .............................................................................................Editors |
156 |
|
5.2 Declaration ....................................................................................Editor |
157 |
|
5.2.1 ............................................................................ |
Declaration Part |
157 |
5.2.2 ............................................................................... |
Input Variable |
158 |
5.2.3 ............................................................................ |
Output Variable |
158 |
5.2.4 ........................................................... |
Input and Output Variables |
158 |
5.2.5 ............................................................................. |
Local Variables |
159 |
5.2.6 ....................................................................... |
Remanent variables |
159 |
5.2.7 ............................................................. |
Constants, Typed Literals |
160 |
5.2.8 ......................................................................... |
External variables |
160 |
5.2.9 ...................................................................................... |
Keywords |
161 |
5.2.10 .................................................................... |
Variables declaration |
161 |
5.2.11 ............................................................................. |
AT Declaration |
162 |
5.2.12 ..................................................... |
'Insert' 'Declarations keywords' |
162 |
5.2.13 ................................................................................. |
'Insert' 'Type' |
162 |
5.2.14 ............................................................................ |
Syntax Coloring |
163 |
5.2.15 .............................................................................. |
Shortcut Mode |
163 |
5.2.16 ............................................................................. |
Autodeclaration |
164 |
5.2.17 ....................................... |
Line Numbers in the Declaration Editor |
166 |
5.2.18 ................................................................... |
Declarations as tables |
166 |
5.2.19 .............................................................. |
'Insert' 'New Declaration' |
167 |
5.2.20 ....................................................................... |
Pragma instructiion |
167 |
5.2.21 ............................................. |
Declaration Editors in Online Mode |
170 |
5.3 The ......................................................................................Text Editors |
171 |
|
5.3.2 ............................................................ |
The Instruction List Editor |
176 |
WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32
viii • Table of Contents |
|
|
5.3.3 |
The Editor for Structured Text ..................................................... |
178 |
5.4 The Graphic Editors................................................................................. |
178 |
|
5.4.2 |
The Function Block Diagram Editor ............................................ |
181 |
5.4.3 |
The Ladder Editor......................................................................... |
188 |
5.4.4 |
The Sequential Function Chart Editor .......................................... |
194 |
5.4.5 |
The Continuous Function Chart Editor (CFC) ............................. |
204 |
6 Overview of the Resources .................................................................... |
221 |
|
6.1 Global Variables ...................................................................................... |
221 |
|
6.1.1 |
Editing Global Variables .............................................................. |
221 |
6.1.2 |
Several Variables Lists ................................................................. |
221 |
6.1.3 |
Global Variables ........................................................................... |
222 |
6.1.4 |
Global Constants........................................................................... |
224 |
6.2 Variable Configuration ............................................................................ |
225 |
|
6.2.1 |
‚Insert' 'All Instance Paths'............................................................ |
226 |
6.2.2 |
Document Frame .......................................................................... |
226 |
6.3 PLC Browser............................................................................................ |
227 |
|
6.4 PLC Configuration................................................................................... |
228 |
|
6.4.1 |
PLC Selection ............................................................................... |
228 |
6.5 Task Configuration .................................................................................. |
228 |
|
6.5.1 |
Which task is being processed? .................................................... |
229 |
6.5.2 |
Working in the Task Configuration.............................................. |
229 |
6.5.3 |
'Insert' 'Insert Task' or 'Insert' 'Append Task'................................ |
230 |
6.5.4 |
'Insert' 'Insert Program Call' or 'Insert' 'Append Program Call' .... |
230 |
6.5.5 |
'Extras' 'Edit Entry'........................................................................ |
231 |
6.5.6 |
'Extras' 'Set Debug Task'............................................................... |
231 |
6.6 Sampling Trace ........................................................................................ |
231 |
|
6.6.1 |
'Extras' 'Trace Configuration'........................................................ |
232 |
6.6.2 |
'Extra' 'Start Trace' ........................................................................ |
234 |
6.6.3 |
'Extra' 'Read Trace' ....................................................................... |
234 |
6.6.4 |
'Extra' 'Auto Read'......................................................................... |
235 |
6.6.5 |
'Extra' 'Stop Trace' ........................................................................ |
235 |
6.6.6 |
Selection of the Variables to be Displayed................................... |
235 |
6.6.7 |
Display of the Sampling Trace ..................................................... |
235 |
6.6.8 |
'Extras' 'Cursor Mode' ................................................................... |
236 |
6.6.9 |
'Extras' 'Multi Channel' ................................................................. |
236 |
6.6.10 |
'Extras' 'Show grid'........................................................................ |
237 |
6.6.11 |
'Extras' 'Y Scaling' ........................................................................ |
237 |
6.6.12 |
'Extras' 'Stretch'............................................................................. |
237 |
6.6.13 |
'Extras' 'Compress' ........................................................................ |
237 |
6.6.14 |
'Extras' 'Save Trace' ...................................................................... |
238 |
6.6.15 |
'Extras' 'Load Trace'...................................................................... |
238 |
6.6.16 |
'Extras' 'Trace in ASCII-file'......................................................... |
238 |
6.7 Watch and Receipt Manager.................................................................... |
239 |
|
6.7.1 |
Watch and Receipt Manager......................................................... |
239 |
6.7.2 |
Watch and Receipt Manager in the Offline Mode........................ |
239 |
6.7.3 |
'Insert' 'New Watch List' ............................................................... |
240 |
6.7.4 |
'Extras' 'Rename Watch List' ........................................................ |
240 |
6.7.5 |
'Extras' 'Save Watch List'.............................................................. |
240 |
6.7.6 |
'Extras' 'Load Watch List' ............................................................. |
240 |
WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32
|
|
Table of Contents |
• ix |
|
|
|
|
6.7.7 |
Watch and Receipt Manager in the Online Mode ........................ |
241 |
|
6.7.8 |
'Extra' 'Monitoring Active'............................................................ |
241 |
|
6.7.9 |
'Extras' 'Write Receipt'.................................................................. |
242 |
|
6.7.10 |
'Extras' 'Read Receipt'................................................................... |
242 |
|
6.7.11 |
Force values .................................................................................. |
242 |
|
7 |
Library Manager ................................................................................... |
243 |
|
7.1 Using the Library Manager...................................................................... |
243 |
||
7.2 Standard Library ...................................................................................... |
244 |
||
7.3 User-defined Libraries ............................................................................. |
244 |
||
7.4 'Insert' 'Additional Library'....................................................................... |
244 |
||
7.5 Remove Library ....................................................................................... |
244 |
||
8 |
Visualization ........................................................................................... |
245 |
|
8.1 Visualization ............................................................................................ |
245 |
||
8.2 Create Visualization................................................................................. |
246 |
||
8.2.1 |
Visualization Elements, Insert ...................................................... |
246 |
|
8.2.2 |
Working with Visualization Elements.......................................... |
248 |
|
8.2.3 |
Visualization Elements, Configure............................................... |
250 |
|
8.2.4 |
Additional Visualization Element Functions................................ |
261 |
|
9 |
DDE Interface......................................................................................... |
268 |
|
9.1 DDE Communication with WAGO-I/O-PRO 32 .................................... |
268 |
||
9.2 DDE interface of the WAGO-I/O-PRO 32 programming system........... |
268 |
||
9.2.1 |
Activating the DDE Interface ....................................................... |
268 |
|
9.2.2 |
General Approach to Data ............................................................ |
268 |
|
9.2.3 |
Which variables can be read? ....................................................... |
269 |
|
9.2.4 |
Linking variables using WORD ................................................... |
269 |
|
9.2.5 |
Linking variables using EXCEL................................................... |
269 |
|
9.2.6 |
Accessing variables with Intouch ................................................. |
269 |
|
10 Keyboard Commands............................................................................ |
271 |
||
10.1 |
Use of Keyboard ................................................................................ |
271 |
|
10.2 |
Key Combinations ............................................................................. |
271 |
|
11 Data Types .............................................................................................. |
275 |
||
11.1 |
Standard Data types ........................................................................... |
275 |
|
11.2 |
Defined Data Types ........................................................................... |
278 |
|
12 The IEC Operators ................................................................................ |
287 |
||
12.1 |
The IEC Operators ............................................................................. |
287 |
|
12.2 |
Arithmetic Operators ......................................................................... |
287 |
|
12.2.1 |
ADD.............................................................................................. |
287 |
|
12.2.2 |
MUL ............................................................................................. |
287 |
|
12.2.3 |
SUB............................................................................................... |
288 |
|
12.2.4 |
DIV ............................................................................................... |
288 |
|
12.2.5 |
MOD............................................................................................. |
289 |
|
12.2.6 |
INDEXOF..................................................................................... |
290 |
|
12.2.7 |
SIZEOF......................................................................................... |
290 |
|
12.3 |
Bitstring Operators............................................................................. |
290 |
|
WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32
x • Table of Contents
12.3.1 |
|
AND.............................................................................................. |
290 |
12.3.2 |
|
OR................................................................................................. |
291 |
12.3.3 |
|
XOR.............................................................................................. |
292 |
12.3.4 |
|
NOT .............................................................................................. |
292 |
12.4 |
Bit-Shift Operators............................................................................. |
293 |
|
12.4.1 |
|
SHL............................................................................................... |
293 |
12.4.2 |
|
SHR............................................................................................... |
294 |
12.4.3 |
|
ROL .............................................................................................. |
295 |
12.4.4 |
|
ROR .............................................................................................. |
296 |
12.5 |
Selection Operators............................................................................ |
297 |
|
12.5.1 |
|
SEL ............................................................................................... |
297 |
12.5.2 |
|
MAX ............................................................................................. |
298 |
12.5.3 |
|
MIN............................................................................................... |
299 |
12.5.4 |
|
LIMIT ........................................................................................... |
299 |
12.5.5 |
|
MUX ............................................................................................. |
300 |
12.6 |
Comparison Operators ....................................................................... |
300 |
|
12.6.1 |
|
GT ................................................................................................. |
300 |
12.6.2 |
|
LT ................................................................................................. |
301 |
12.6.3 |
|
LE ................................................................................................. |
301 |
12.6.4 |
|
GE ................................................................................................. |
302 |
12.6.5 |
|
EQ ................................................................................................. |
302 |
12.6.6 |
|
NE ................................................................................................. |
303 |
12.7 |
Address Operators.............................................................................. |
303 |
|
12.7.1 |
|
ADR.............................................................................................. |
303 |
12.7.2 |
|
Content Operator .......................................................................... |
304 |
12.8 |
Calling Operator................................................................................. |
304 |
|
12.8.1 |
|
CAL .............................................................................................. |
304 |
12.9 |
Type Conversion Functions ............................................................... |
304 |
|
12.9.1 |
|
BOOL_TO Conversions ............................................................... |
304 |
12.9.2 |
|
TO_BOOL Conversions ............................................................... |
306 |
12.9.3 |
|
Conversion between Integral Number Types ............................... |
307 |
12.9.4 |
|
REAL_TO Conversions................................................................ |
308 |
12.9.5 |
|
TIME_TO/TIME_OF_DAY Conversions.................................... |
309 |
12.9.6 |
|
DATE_TO/DT_TO Conversions.................................................. |
310 |
12.9.7 |
|
STRING_TO Conversions............................................................ |
310 |
12.9.8 |
|
TRUNC......................................................................................... |
310 |
12.10 |
Numeric Functions............................................................................. |
311 |
|
12.10.1 |
|
ABS............................................................................................... |
311 |
12.10.2 |
|
SQRT ............................................................................................ |
312 |
12.10.3 |
|
LN ................................................................................................. |
312 |
12.10.4 |
|
LOG .............................................................................................. |
313 |
12.10.5 |
|
EXP............................................................................................... |
313 |
12.10.6 |
|
SIN................................................................................................ |
314 |
12.10.7 |
|
COS............................................................................................... |
314 |
12.10.8 |
|
TAN .............................................................................................. |
314 |
12.10.9 |
|
ASIN ............................................................................................. |
315 |
12.10.10 |
ACOS............................................................................................ |
315 |
|
12.10.11 |
ATAN ........................................................................................... |
316 |
|
12.10.12 |
EXPT ............................................................................................ |
316 |
|
WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32