Материал: m912201e

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам

DDE Interface 269

DDE interface of the WAGO-I/O-PRO 32 programming system

9.2.3 Which variables can be read?

All addresses and variables are readable. Variables or addresses should be entered in the format used in the Watch and Receipt Manager

Examples:

 

%IX1.4

(* Reads the input 1.4*)

PLC_PRG.TEST

(* Reads the variable TEST from the POU PLC_PRG*)

.GlobVar1

(* Reads the global variable GlobVar1 *)

9.2.4 Linking variables using WORD

In order to get the current value of the variable TEST from the POU PLC_PRG through the DDE interface in Microsoft WORD, a field (e.g., the date) must be inserted in WORD ('Insert' "Field"). Now when you click on the field with the right mouse button and select the command "Toggle Field Codes" you can change the field function for the chosen text. In our example, this would look as follows:

{ DDEAUTO WAGO-I/O-PRO 32 "C:\WAGO-I/O-PRO 32\PROJECT\IFMBSP.PRO" "PLC_PRG.TEST" }

Click on the field with the right mouse button again, then click on "Update Field" and the desired variable content appears in the text.

9.2.5 Linking variables using EXCEL

The following must be entered in Microsoft EXCEL before you can assign a variable to a cell.

=WAGO-I/O-PRO 32|'C:\WAGO-I/O-PRO 32\PROJECT\IFMBSP.PRO'!PLC_PRG.TEST'

When you click on 'Edit' then "Links", the result for this link will be:

Type:

WAGO-I/O-PRO 32

Source file:

C:\WAGO-I/O-PRO 32\PROJECT\IFMBSP.PRO

Element: PLC_PRG.TEST

9.2.6 Accessing variables with Intouch

Link with your project a DDE Access Name <AccessName> with the application name WAGO-I/O-PRO 32 and the DDE topic name C:\WAGO- I/O-PRO 32\PROJECT\IFMBSP.PRO.

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

270 DDE Interface

DDE interface of the WAGO-I/O-PRO 32 programming system

Now you can associate DDE type variables with the access name <AccessName>. Enter the name of the variable as the Item Name (e.g., PLC_PRG.TEST).

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

Keyboard Commands 271

Use of Keyboard

10Keyboard Commands

10.1 Use of Keyboard

If you would like to run WAGO-I/O-PRO 32 using only the keyboard, you will find it necessary to use a few commands that are not found in the menu.

The function key <F6> allows you to toggle back and forth within the open POU between the Declaration and the Instruction parts.

<Alt> + <F6> allows you to move from an open object to the Object Organizer and from there to the Message window if it is open. If a Search box is open, <Alt> + <F6> allows you to switch from Object Organizer to the Search box and from the there back to the object.

Press <Tab> to move through the input fields and buttons in the dialog boxes.

The arrow keys allow you to move through the register cards and objects within the Object Organizer and Library Manager.

All other actions can be performed using the menu commands or with the shortcuts listed after the menu commands. <Shift> + <F10> opens the context menu which contains the commands most frequently used for the selected object or for the active editor.

10.2 Key Combinations

The following is an overview of all key combinations and function keys:

General Functions

 

Move between the declaration part and the instruction part of

<F6>

a POU

 

 

 

Move between the Object Organizer, the object and the

<Alt>+<F6>

message window

 

 

 

Context Menu

<Shift>+<F10>

 

 

Shortcut mode for declarations

<Ctrl>+<Enter>

 

 

Move from a message in the Message window back to the

<Enter>

original position in the editor

 

Open and close multi-layered variables

<Enter>

 

 

Open and close folders

<Enter>

 

 

Switch register cards in the Object Organizer and the Library

<Arrow keys>

Manager

 

 

 

Move to the next field within a dialog box

<Tab>

 

 

Context sensitive Help

<F1>

 

 

 

 

General Commands

 

'File' 'Save'

<Ctrl>+<S>

 

 

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

272 Keyboard Commands

Key Combinations

'File' 'Print'

<Ctrl>+<P>

 

 

'File' 'Exit'

<Alt>+<F4>

 

 

'Project' 'Check'

<Strg>+<F11>

 

 

'Project' 'Build'

<Shift>+<F11>

 

 

'Project' 'Rebuild all'

<F11>

 

 

'Project' 'Delete Object'

<Del>

 

 

'Project' 'Add Object'

<Ins>

 

 

'Project' 'Rename Object'

<Spacebar>

 

 

'Project' 'Open Object'

<Enter>

 

 

'Edit' 'Undo'

<Ctrl>+<Z>

 

 

'Edit' 'Redo'

<Ctrl>+<Y>

 

 

'Edit' 'Cut'

<Ctrl>+<X> or

 

<Shift>+<Del>

'Edit' 'Copy'

<Ctrl>+<C>

 

 

'Edit' 'Paste'

<Ctrl>+<V>

 

 

'Edit' 'Delete'

<Del>

 

 

'Edit' 'Find next'

<F3>

 

 

'Edit' 'Input Assistant'

<F2>

 

 

'Edit' 'Next Error'

<F4>

 

 

'Edit' 'Previous Error'

<Shift>+<F4>

 

 

'Online' 'Log-in'

<Alt><F8>

 

 

'Online' 'Logout'

<Ctrl>+<F8>

 

 

'Online' 'Run'

<F5>

 

 

'Online' 'Toggle Breakpoint'

<F9>

 

 

'Online' 'Step over'

<F10>

 

 

'Online' 'Step in'

<F8>

 

 

'Online' 'Single Cycle'

<Ctrl>+<F5>

 

 

'Online' 'Write Values'

<Ctrl>+<F7>

 

 

'Online' 'Force Values'

<F7>

 

 

'Online' 'Release Force'

<Shift>+<F7>

 

 

'Online' ''Write/Force dialog'

<Shift>+<F7>

 

 

'Window' 'Messages'

<Shift>+<Esc>

 

 

 

 

FBD Editor Commands

 

'Insert' 'Network (after)'

<Shift>+<T>

 

 

'Insert' 'Assignment'

<Ctrl>+<A>

 

 

'Insert' 'Jump'

<Ctrl>+<L>

 

 

'Insert' 'Return'

<Ctrl>+<R>

 

 

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

 

 

Keyboard Commands 273

 

 

 

Key Combinations

 

 

 

 

 

 

 

 

 

'Insert' 'Operator'

 

<Ctrl>+<O>

 

 

 

 

 

'Insert' 'Function'

 

<Ctrl>+<F>

 

 

 

 

 

'Insert' 'Function Block'

 

<Ctrl>+<B>

 

 

 

 

 

'Insert' 'Input'

 

<Ctrl>+<U>

 

 

 

 

 

'Extras' 'Negate'

 

<Ctrl>+<N>

 

 

 

 

 

'Extras' 'Zoom'

 

<Alt>+<Enter>

 

 

 

 

 

 

 

 

 

CFC Editor Commands

 

 

 

'Insert' 'POU'

 

<Ctrl>+<B>

 

 

 

 

 

'Insert' 'Input'

 

<Ctrl>+<E>

 

 

 

 

 

'Insert' 'Output'

 

<Ctrl>+<A>

 

 

 

 

 

'Insert' 'Jump'

 

<Ctrl>+<G>

 

 

 

 

 

'Insert' 'Label'

 

<Ctrl>+<L>

 

 

 

 

 

'Insert' 'Return'

 

<Ctrl>+<R>

 

 

 

 

 

'Insert' 'Comment'

 

<Ctrl>+<K>

 

 

 

 

 

'Insert' 'POU input'

 

<Ctrl>+<U>

 

 

 

 

 

'Extras' 'Negate'

 

<Ctrl>+<N>

 

 

 

 

 

'Extras' 'Set/Reset'

 

<Ctrl>+<T>

 

 

 

 

 

'Extras' 'Connection'

 

<Ctrl>+<M>

 

 

 

 

 

'Extras' 'EN/ENO'

 

<Ctrl>+<O>

 

 

 

 

 

'Extras' 'Zoom'

 

<Alt>+<Enter>

 

 

 

 

 

 

 

 

 

LD Editor Commands

 

 

 

'Insert' 'Network (after)'

 

<Shift>+<T>

 

 

 

 

 

'Insert' 'Contact'

 

<Ctrl>+<O>

 

 

 

 

 

'Insert' 'Parallel Contact'

 

<Ctrl>+<R>

 

 

 

 

 

'Insert' 'Function Block'

 

<Ctrl>+<B>

 

 

 

 

 

'Insert' 'Coil'

 

<Ctrl>+<L>

 

 

 

 

 

'Extras' 'Paste below'

 

<Ctrl>+<U>

 

 

 

 

 

'Extras' 'Negate'

 

<Ctrl>+<N>

 

 

 

 

 

'Extras' 'Zoom'

 

<Alt>+<Enter>

 

 

 

 

 

 

 

 

 

SFC Editor Commands

 

 

 

'Insert' 'Step-Transition (before)'

 

<Ctrl>+<T>

 

 

 

 

 

'Insert' 'Step-Transition (after)'

 

<Ctrl>+<E>

 

 

 

 

 

'Insert' 'Alternative Branch (right)'

 

<Ctrl>+<A>

 

 

 

 

 

'Insert' 'Parallel Branch (right)'

 

<Ctrl>+<L>

 

 

 

 

 

'Insert' 'Jump'

 

<Ctrl>+<U>

 

 

 

 

 

 

 

 

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32