Documente Academic
Documente Profesional
Documente Cultură
Monitor Multi
6 februari 2012
| Quirex BV
Contents
Logo!Monitor Multi for 0BA7 ..................................................1 Contents ...................................................................................2 1 General .............................................................................4 1.1 1.2 2 Cheap tool for scientists and engineers ...................4 New options for industry .........................................4
Getting started .................................................................5 2.1 2.2 2.3 Step 1: Setting up the Logo!'s ..................................5 Step 2: Setting up the IO to be monitored...............9 Step 3: Connecting .................................................13
Settings...........................................................................14 3.1 3.2 3.3 3.4 3.5 3.6 Logo setup ..............................................................14 Data Logging...........................................................14 Email settings .........................................................16 Graph settings ........................................................18 Preferences ............................................................19 Alarms ....................................................................20
View ...............................................................................23 4.1 4.2 4.3 4.4 4.5 Monitor ..................................................................23 Visual ......................................................................23 Graph .....................................................................31 Raw data ................................................................31 Message log ...........................................................31
Controlling the Logo! .....................................................32 5.1 5.2 5.3 5.4 Introduction ...........................................................32 Logo! Variable memory (VM).................................32 Configuring the Logo!.............................................33 Writing to the Logo! using buttons ........................35
6 7
HTTP server ....................................................................37 Special features ..............................................................41 7.1 7.2 7.3 2 Command line start................................................41 Port forwarding ......................................................41 Function keys .........................................................42 | Quirex BV
| Quirex BV
1 General
The SIEMENS LOGO! is one of the most affordable and robust logical modules around. The logo control system is perfectly suited for small-scale automation projects and makes life much easier by replacing many time switches and relays, counters and protective relays. Engineers, scientists and technicians can now rapidly and cost-effectively interface with the logo module, log data, analyze data and monitor process progress using our LOGO!MONITOR.
System requirements:
Windows 7, Vista, XP
| Quirex BV
2 Getting started
Download a version of Logo!Monitor Multi from http://logomonitor.quirex.nl and install the program on your PC. Next connect the Logo! to your computer through the Ethernet interface. Start Logo!Monitor Multi.
The Logo! setup form shows all Logo!'s that are being monitored. A new Logo! can be added by clicking on the Add button. This will open the Add Logo! form.
| Quirex BV
Name: Give a descriptive name of the Logo!. E.g. Logo! 1st floor or Logo! Heating system. Make it short but descriptive. Required field. Ip-address: Ip-address of the Logo!. Required field. Port: This is the port at which the Logo! communicates (reads). It is for all Logo! 0BA7 equal to 10001. Note: The port can be changed when connecting to multiple Logo!'s from outside a Lan. Port forwarding allows remote computers, for example, computers on the Internet, to connect to a specific computer or service within a private local area network (LAN). See Port Forwarding section for more details. Required field. Update interval: Every time interval the values of the IO of the Logo! is requested bij Logo!Monitor. The smallest update interval larger than 100. Default value is 500 milliseconds. Note: A too small update interval may slow down the program. Required field. Description: Here a more elaborate description of the Logo! can be given. Not required field. | Quirex BV
| Quirex BV
After filling in all required fields the Logo! is added bij clicking the Ok button.
| Quirex BV
On the right side of the screen there is an Add IO button. Clicking on this buttons shows the Setup new IO form.
| Quirex BV
On the Setup new IO form the following properties are required: Logo: Select the Logo! that has the IO you want to monitor. This selection box contains all the Logo!'s that were added in the first step (See Step 1: Setting up the Logo!'s). If a Logo! you need is not listed here you'll need to go back to step 1: Setting up the Logo!'s. Required field. Block type: Select here the type of IO you want to monitor. The options are: Digital input, digital output, analog input, analog output, digital flag or analog flag. Required field. Block number: Select the block number. There are 24 digital inputs, 16 digital outputs, 27 digital flags, 8
10
| Quirex BV
11
| Quirex BV
When clicking on the Ok button and IO panel is added to the monitor screen. Right-clicking this IO panel shows a popup menu with the options edit or delete this IO.
12
| Quirex BV
After clicking the connect button Logo!Monitor will connect to the Logo!'s that were set-up in step 1 (See Step 1: Setting up the Logo!'s) and the license is checked. (Note: The license is valid for a Logo! with an unique MAC-address. If a connection is made to a Logo! with this unique MAC-address the license is valid.) Once the connection is made the values of the IO are shown in the IO panels on the Monitor screen. The status of the connection is shown in the status bar at the bottom of the screen.
The number of LED's is equal to the number of Logo!'s in the Logo! list (See Step 1: Setting up the Logo!'s). If a LED is red there is no connection and if a LED is green the connection is ok. The first LED from the left corresponds with the first Logo! in the Logo! list.
13
| Quirex BV
3 Settings
In the next paragraphs the Logo!Monitor settings will be explained.
Filename: The filename is the name of the logfile. LOGO!MONITOR automatically adds the date and time of the file creation to the name with the following format Filename_yy_mm_dd_hh_nn_ss.csv (yy=year, mm=months, dd=days, hh=hours, nn=minutes and ss=seconds). | Quirex BV
14
Required field. Timer interval: The timer interval sets the period between two loggings in milliseconds. The default value is 5000 ms (5 seconds). Required field. Log date: With this checkbox checked the logfile contains the actual date at the moment of logging. Log time: With this checkbox checked the logfile contains the actual time at the moment of logging. Log elapsed time: With this checkbox checked the logfile contains the elapsed time at the moment of logging since logging has started Delimiter: This character delimits all data logged. Delimited text files can easily be imported in Excel1. Required field. Send log file(s) by email: With this checkbox checked the log file(s) will be sent by email whenever a logfile is ready. Remember to set up your email account on the email settings form.
Start and stop logging conditions The following holds for the start as well as the stop conditions. When logging is activated it depends on the start and stop conditions when the actual logging starts.
1. Click the cell where you want to put the data from the text file. To ensure that the external data does not replace existing data, make sure that the worksheet has no data below or to the right of the cell you click. 2. On the Data menu, point to Import External Data, and then click Import Data. 3. In the Files of type box, click Text Files. 4. In the Look in list, locate and double-click the text file you want to import as an external data range. 5. To specify how you want to divide the text into columns, follow the instructions in the Text Import Wizard, and then click Finish. 6. In the Import Data dialog box, click Properties to set formatting and layout options for the imported data. 7. In the Import Data dialog box, do one of the following: To return the data to the location you selected, click Existing worksheet, and then click OK. To return the data to a new worksheet, click New worksheet, and then click OK. Microsoft Excel adds a new worksheet to your workbook and automatically puts the external data range in the upper-left corner of the new worksheet
1
15
| Quirex BV
Manually: If this radiobutton is checked the logging starts and stops immediately if the activate logging button is clicked. On date ...: If this radiobutton is checked and logging is activated then the actual logging starts or stops at the entered date and time. If ...: If this radiobutton is checked and logging is activated then the actual logging starts or stops if a certain condition is met. An input, output or flag can be selected.
Fig. 15: Activate logging button on the top-left side of the screen.
16
| Quirex BV
17
| Quirex BV
On the Graph settings form the following properties can be set: y-axis minimum: Automatic of fixed. y-axis maximum: Automatic or fixed. time-axis: Automatic or moving axis. time-axis width: [In case of moving axis] Enter the width of the time axis in seconds. Archive the graphs: With this checkbox checked the graph is archived for later review. Enter the archive time interval in milliseconds. In order to reduce the archive file size the archive interval should be as large as possible. Eg. for very slow processes the archive interval could be as large as 60.000 ms (one minute).
18
| Quirex BV
3.5 Preferences
Select in the Main Menu Settings>Preferences... Now the Preferences form opens.
On the Preferences form the following properties can be set: Lock visual editing mode: After finishing setting up the visual screen the visual screen can be locked by checking this checkbox. Now the visual object cannot be moved anymore. Furthermore, the visual toolbar is hidden. Lock monitor editing mode: After finishing setting up the monitor screen the visual screen can be locked by checking this checkbox. Now the IO panel cannot be edited anymore. Furthermore, the monitor toolbar is hidden. Hide status bar: When this checkbox is checked the status bar is hidden. Start with user interface hidden: : When this checkbox is checked the user interface is hidden upon loading a Logo!Monitor file. Start logo!Monitor with tab: Select in the box with which screen Logo!Monitor should start upon loading a Logo!Monitor file. Change tab based on IO. This is a nice feature to change the tab shown in the Logo!Monitor. Select an analog IO, preferably an analog flag (AM). When this analog IO is equal to 1 the monitor tab is shown, equal to 2 the visual tab is shown, equal to 3 the | Quirex BV
19
3.6 Alarms
Select in the Main Menu Settings>Alarms... Now the Alarm setup form opens.
The Alarm setup form shows all alarm's that are being monitored. A new alarm can be added by clicking on the Add button. This will open the Add Alarm form.
20
| Quirex BV
On the Add Alarm form the following properties can be set: IO: Here the IO to monitored should be selected. Alarm condition: If the IO is an analog IO then the alarm is activated when the value of the IO is smaller, equal or larger than the entered value. If the IO is a digital IO then the alarm is activated when the value of the IO is on/closed or off/open. Hysteresis: Only in case of an analog IO. The hysteresis value defines when an alarm is deactivated. Analog values tend to show some noise or variation. With the hysteresis value the offset from the activation value can be defined where deactivation occurs. See fig. 22 for an example. Send message: On activation, on deactivation or on activation and deactivation. | Quirex BV
21
designed, manufactured or intended for use or resale as online control equipment in hazardous environments requiring fail-safe performance, including (without limitation) to use in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines, or weapons systems, in which any failure could lead directly to death, personal injury, or severe physical or environmental damage ("high risk activities").
22
| Quirex BV
4 View
In the next paragraphs the Logo!Monitor view options will be explained.
4.1 Monitor
For a detailed explanation of this menu item see Step 2: Setting up the IO to be monitored.
4.2 Visual
Select in the Main Menu View>Visual Now the Visual screen shows. On the right side of the screen the Visual toolbar is shown.
Note: Right-clicking in the screen shows a pop-up menu with these menu items together with an additional delete background image and set background color option. 23 | Quirex BV
On the Add digital IO image form the following properties are required: Select IO: Select digital input, output or flag from the selection box. Image closed/on: Select a closed/on image using the load image dialog by clicking on the ... button. Image open/off: Select a open/off image using the load image dialog by clicking on the ... button.
When finished click on the Apply button. With the Delete button the visual object will be deleted from the visual screen. Insert digital IO label Clicking on the Insert digital IO label button activates a crosshair and when clicked on the Visual screen the Add digital IO label form shows. This visual object shows the
24
| Quirex BV
On the Add digital IO label form the following properties are required: IO: Select digial input, output or flag from the selection box. Text closed/on: The text that shows when an IO is closed/on/true. Text open/off: The text that shows when an IO is open/of/false. Font...: Opens the font formatting dialog.
When finished click on the Apply button. With the Delete button the visual object will be deleted from the visual screen. Insert analog IO label Clicking on the Insert analog IO label button activates a crosshair and when clicked on the Visual screen the Add analog IO label form shows. This visual object shows the analog value of an IO, with the options of adding a text label in front and/or behind the analog value.
25
| Quirex BV
On the Add analog IO label form the following properties are required: Text before: Optional text label before the analog value. IO: Select analog input, output or flag from the selection box. Text after: Optional text label behind the analog value. Font...: Opens the font formatting dialog.
When finished click on the Apply button. With the Delete button the visual object will be deleted from the visual screen. Insert label Clicking on the Insert label button activates a crosshair and when clicked on the Visual screen the Add text label form shows. This visual object enables you to insert several text labels into the visual screen.
On the Add text label form the following properties are required: 26 | Quirex BV
When finished click on the Apply button. With the Delete button the visual object will be deleted from the visual screen. Insert progress bar Clicking on the Insert progress bar button activates a crosshair and when clicked on the Visual screen the Add progress bar form shows. This visual object enables you to insert a progress bar into the visual screen.
On the Add progress bar form the following properties are required: Select IO: Select analog input, output or flag from the selection box. Orientation: Select the orientation of the progress bar (horizontal or vertical) Progress bar size: Use the sliders to change the length and width of the progress bar. | Quirex BV
27
When finished click on the Apply button. With the Delete button the visual object will be deleted from the visual screen. Insert graph Clicking on the Insert graph button activates a crosshair and when clicked on the Visual screen the Add graph form shows. This visual object enables you to insert a graph into the visual screen.
28
| Quirex BV
On the Add graph form the following properties are required: Select IO: Select analog input, output or flag from the selection box. Graph size: Use the sliders to change the height and width of the graph. Y-axis title: Enter here the y-axis title Update graph every: Here the update time of the graph can be adjusted. Not every graph needs to be updated every 500 ms. In some cases once a minute is good enough and may result in better looking graphs. Use moving axis: When this checkbox is check a moving time axis is used. [In case of moving axis] Enter the width of the time axis in seconds.
When finished click on the Apply button. With the Delete button the visual object will be deleted from the visual screen.
29
| Quirex BV
On the Add gauge form the following properties are required: Select IO: Select analog input, output or flag from the selection box. Orientation: Select the orientation of the progress bar (horizontal or vertical) Progress bar size: Use the sliders to change the length and width of the progress bar. Fore color: This is the normal (i.e. no alarm) color of the progress bar. By clicking the color button a color selection form appears. Background color: This is the background color of the progress bar. By clicking the color button a color selection form appears. IO value at 0%: Enter here the analog IO value at which the progress of progress bar should be 0%. | Quirex BV
30
When finished click on the Apply button. With the Delete button the visual object will be deleted from the visual screen.
4.3 Graph
The graph screen shows all IO that are included in the graph. Left clicking on the legend hides the graph. Right-clicking on the legend opens the line settings form where the line with and color can be changed. On the archive tab archived graphs can be shown. Make sure to select only bold dates in the date picker.
31
| Quirex BV
The current version of the Logo!Monitor can only use the Network input (Network analog input will be implemented in a later version). Figure 34 shows an example of a circuit in Logo!Soft implementing a Network input.
32
| Quirex BV
Fig. 34: Block properties form for the Network input in Logo!Soft.
33
| Quirex BV
Right-click on Ethernet Connections and click on add connection. Next, double click on the newly added connection. This opens the settings form of the connection. Copy the settings of the form shown in fig. 36.
34
| Quirex BV
Now the network settings are ready to connect to the Logo!Monitor Multi.
After adding the button to the visual tab the Add button settings form opens. See fig. 38.
35
| Quirex BV
On the Add button form the following properties are required: Logo!: Select a Logo! to control. Only Logo! that have been made writable can be selected here. VB Address: This is the address of the byte that will be written in the Logo!. The address corresponds to the VB Address in the Network input of the Logo!Soft circuit. Bit: The bit that is being written in the Logo!. The bit number corresponds to the bit number in the Network input of the Logo!Soft circuit. Turn open/off text: The caption of the button representing the action of the button. Turn closed/on text: The caption of the button representing the action of the button. Description: The description of the button that will be shown as a mouse over hint. Width: With this trackbar the width of the button can be changed.
When, after clicking the button, writing to the variable memory (VM) was successful the caption changes. If there was an error (when for example there is no connection) the button flashes for half a second.
36
| Quirex BV
6 HTTP server
Select in the Main Menu Settings>Http server... Now the Http settings form opens.
On the Http settings form the following properties are required: Start Http server checkbox. Check this checkbox if you want to use the Http server. Choose a port you want to use. Default port 20080 is used. Note: Normally Http servers use port 80. Use login screen: With this option checked the http server directs the user to a login page. User name: A single user name can be entered to be used on the login page. Password: A single password can be entered to be used on the login page.
The Open browser button opens the default browser at address http://computer_ip:port. So for example: http://192.168.0.195:20080, which results in the following welcome page:
37
| Quirex BV
On the welcome page 3 options are available: 1. IO table 2. XML output 3. SmartPhone
The IO table shows all IO that is being monitored. XML output basically does the same in XML format and finally SmartPhone shows the page that was designed by the Smart Phone Designer tool.
Fig. 41 Example of IO Table. The values in red were not obtained recently (eg. due to disconnected Logo!). Blue values are recent.
38
| Quirex BV
Fig. 42 Example of XML output. Realtime no means that values were not obtained recently (eg. due to disconnected Logo!). Realtime yes means that values are recent.
39
| Quirex BV
NOTE: The server uses a client pull technique. So in order to have the most recent data you'll need to refresh the page!!
40
| Quirex BV
7 Special features
7.1 Command line start
The Logo!Monitor can be started from the command line. An example is shown below.
"C:\ \LogoMonitor_Multi.exe" "C:\installation.lmf" /start /log /kiosk
The format of the command line is: "path\LogoMonitor_Multi.exe" "path\projectfile.lmf" params The parameters are: /start Logo!monitor starts automatically loading the project file. Logo!Monitor logs automatically after loading the project file. Logo!Monitor starts automatically in the kiosk mode after loading the project file. Logo!Monitor shows no warning dialogs. after
/log
/kiosk
/nowarnings
7.4 Export/Import
With the export function in the File section of the menu the loaded project can be exported in a single file. This export file (with extension .lme) can be imported by Logo!Monitor Multi on other computers. All necessary files and images are 42 | Quirex BV
43
| Quirex BV