24.01.2015 Views

PLC Programming

  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4 - The Individual Components<br />

Status bar<br />

Context Menu<br />

If you doubleclick with the mouse in the message window on a message or press , the editor<br />

opens with the object. The relevant line of the object is selected. With the commands 'Edit' 'Next error'<br />

and 'Edit' 'Previous error' you can can quickly jump between the error messages.<br />

The display of the message window is optional (see 'Window' 'Messages').<br />

The status bar at the bottom of the window frame of the main window in CoDeSys gives you<br />

information about the current project and about menu commands.<br />

If an item is relevant, then the concept appears on the right side of the status bar in black script,<br />

otherwise in gray script.<br />

When you are working in online mode, the concept Online appears in black script. If you are working<br />

in the offline mode it appears in gray script.<br />

In Online mode you can see from the status bar whether you are in the simulation (SIM), the program<br />

is being processed (RUNS ), a breakpoint is set (BP), or variables are being forced (FORCE).<br />

With text editor the line and column number of the current cursor position is indicated (e.g. Line:5,<br />

Col.:11). In online mode 'OV' is indicated black in the status bar. Pressing the key switches<br />

between Overwrite and Insert mode.<br />

If the mouse point is in a visualization, the current X and Y position of the cursor in pixels relative to<br />

the upper left corner of the screen is given. If the mouse pointer is on an Element, or if an element is<br />

being processed, then its number is indicated. If you have an element to insert, then it also appears<br />

(e.g. Rectangle).<br />

If you have chosen a menu command but haven't yet confirmed it, then a short description appears in<br />

the status bar.<br />

The display of the statusbar is optional (see 'Project' 'Options' category Desktop).<br />

Shortcut: +<br />

Instead of using the menu bar for executing a command, you can use the right mouse button. The<br />

menu which then appears contains the most frequently used commands for a selected object or for<br />

the active editor. The choice of the available commands adapts itself automatically to the active<br />

window. The choice of the available commands adapts itself automatically to the active window.<br />

4.2 Project Options...<br />

'Project' 'Options'<br />

With this command the dialog box for setting options is opened. The options are divided into different<br />

categories. Choose the desired category on the left side of the dialog box by means of a mouse click<br />

or using the arrow keys and change the options on the right side.<br />

The settings amongst other things serve to configure the view of the main window. They are, unless<br />

determined otherwise, saved in the file "CoDeSys.ini" and restored at the next CoDeSys startup.<br />

You have at your disposal the following categories:<br />

• Load & Save<br />

• User information<br />

• Editor<br />

• Desktop<br />

• Color<br />

• Directories<br />

CoDeSys V2.3 4-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!