N30B Programming user’s manual 1 INTRODUCTION The N30B software allows the configuration of all N30B recorder functions, readout and analysis of archival data from many recorders. In the software, we have foreseen the service of stored files by the recorder in the memory card and the readout possibility of the archive through the recorder interface.
N30B Programming user’s manual Global switching of periodical tasks on/off. Monitoring of current measured values, alarm states, transmission states, etc. on one software panel together with the visualization of their changes in time. Graphical archive analysis with the possibility to choice the data source: files or data base.
N30B Programming user’s manual Fig. 1 Main software window For a correct work, the user must configure connection parameters with the recorder through: Selection of the serial port which the N30B recorder has been connected to. Giving the N30B recorder address. One must give the value which has been programmed in the recorder on (the manufacturer’s address has the value 1).
N30B Programming user’s manual Fig. 2 Display/ Working mode Additionally, there are push-buttons on the dialog window enabling the readout and the configuration record. The change of display colours is carried out through clicking on the selected interval, what causes the change of colours. One must in this way, set required colours, colour change thresholds and overflow of the displayed value.
N30B Programming user’s manual After finishing the configuration, one must record the characteristic in the recorder. One must remember, that the change of the displayed value can cause the change of alarm operation and the analog output if they have been configured for the operation on the displayed value. 3.1.3 Analog Output ...
Page 8
N30B Programming user’s manual Fig. 5 Alarms During the alarm configuration, one must determine: ▪ the quantity steering the alarm. As the steering quantity, one can choose one of the read out/recorded register by means of the recorder interface, the displayed value or the clock.
N30B Programming user’s manual Output Output Output enabled enabled enabled Output Output Output disabled disabled disabled Steering value Steering value Lower threshold of the alarm PrL state change. Upper threshold of the alarm PrH state change. Delay of the alarm operation expressed in seconds. This value defines the laps of the alarm state time after which the alarm will be switched over.
N30B Programming user’s manual Fig. 6 Systemic parameters. The Synchronize time/date option available on the panel causes the synchronization of the N30B recorder time with the computer time. During the synchronization of the time, the software waits for the change of minutes on the computer and in the moment, when the value of seconds in the systemic computer clock has the value 0, makes the record of time in the recorder.
N30B Programming user’s manual 3.1.7 Configuration of Readout and Archiving The configuration of readout and archiving parameters is available after choosing the option Readout configuration from devices/archiving. The user can configure the data readout from added devices (operation in the slave mode) and perform archiving parameters in the dialogue window .
N30B Programming user’s manual Pooling period – time expressed in seconds defining the frequency of transmitted queries to the device. In case of co-operation with devices with a long waiting time for the response, the time between successive queries can be longer than the time programmed by the user.
Page 13
N30B Programming user’s manual Fig. 8 Monitor Presented runs can be expanded. The expansion is realized through the marking of the fragment to be expanded from the left top corner of the given diagram fragment towards the right top corner, which has to be viewed on the diagram. The withdraw of the marking is carried out by the marking in reversal direction (from the right top corner towards the left top corner), although the marked area is of no importance here.
N30B Programming user’s manual Descriptions situated in the table have following meanings: DEV0…DEV9 – devices which data are read out from. R0…R9 – data read out (registers). R0 means the first read out register from the device, R1 means the second read out register, etc. 3.1.9 Readout and Record of the Whole Configuration from/to the Recorder ...
N30B Programming user’s manual 3.2.1 Archive Readout through the Interface The archive readout through the interface is available from the dialogue window level started from the main panel – Archive-Readout/Conversion option. The view of the archive dialogue window is presented on the fig. 10. Fig. 10. Archive One can divide into two parts the presented window on the fig.
N30B Programming user’s manual maintain data in order – during the successive readout, only new records will be downloaded. Duplicating data will not occur. Erase the archive after downloading and locate data in the MySQL data base – the selection of this option causes, that after downloading data from the N30B archive, archive data will be erased from the N30B recorder memory, and readout data will be located In the data base.
N30B Programming user’s manual 3.2.3 Archive Export to the Data base The archive export to the data base can be carried out directly after the data readout from the N30B recorder or can be carried out on the base of data coming from earlier archive data readouts located in binary files. Data export functions to the data base are available in the dialogue window which appears after pressing the Archive-Readout/Conversion push-button.
N30B Programming user’s manual Before beginning to the text file conversion and locating data In the data base, one must configure the connection with the data base. For this aim, one must give: Server – IP address or the server name on which there is the MySQL data base. In case, when it is the base located in the same computer on which the software has been started, it is enough to give local host as the name or give the address: IP 127.0.0.1...
Page 19
N30B Programming user’s manual Fig. 12 Automatic archive downloading The addition of new tasks consists of pressing the Add task push-button. Next, in the new added task, one must give following parameters: Task name – any text. N30B address – recorder address from which data will be read out. Time of the task beginning - defines the time since which the task should begin.
N30B Programming user’s manual 3.2.6 Analysis of Archive Data Graph Accumulated archive data can be reviewed on the graph dialogue window. The user can review any data in the shape of graphs. Created graphs can be printed. Moreover, there is the possibility to review data in the shape of a table. The view of the dialogue window Graph is presented on the fig.
Page 21
N30B Programming user’s manual If the given series has been displayed on the graph, it will be cleared till the time of a renewed data download from the data base of file. Series name – any name allowing an easy identification of the given series. N30B Address –...
Page 22
N30B Programming user’s manual Fig 14. Data in the table form. Besides data in the table form, one can also take advantage from information about the graph, where besides the series name following parameters are available: N30B recorder address which data are coming from. Device number which data have been read out from (DEV0…DEV9).
Page 23
N30B Programming user’s manual Fig.15 Information about the graph According to information presented above, the series configuration can be carried out on the base of the dictionary. The view of the main dictionary window is presented on the fig. 16. The user can configure up to 32 registrations, which will be used during the configuration of graph series.
N30B Programming user’s manual The addition of registrations to the dictionary consists of the Add position selection option, and next of giving the N30B recorder address concerned by the given dictionary field and the recorder name. As the recorder name, one can give any name. Next, one must give device and register names of the given device.
Page 25
N30B Programming user’s manual Fig. 17 Start of the data base installation After turning up the window presented on the figure, we press the NEXT push-button, then the dialogue window presented on the fig. 18 will be displayed. Fig. 18 Installation Select a typical installation and click NEXT. Next, the window informing where will be installed components and where will be stored data, will be displayed.
Page 26
N30B Programming user’s manual Fig. 19 End of file copying After starting the installation mode, select the server configuration and transit through successive Windows showed on figures below: Press the finish push-button to transit to the Select the server type MySQL. server configuration. Select the place, where will be stored data Select the base type used by the server Page 26 from 33 ...
Page 27
N30B Programming user’s manual Select the number of users serviced by the Set the TCP/IP port and turn the network service on. In case of firewall use, we have server. the possibility to create rules unlocking this port. Select if the server has to automatically start Set marks (table of marks), which will be itself after the system start and the service used.
Page 28
N30B Programming user’s manual The configuration process has been finished. After transiting through successive dialogue and configuration windows the MySQL data base server has been installed and started. In order to change the server configuration and configuration of advanced options, one can use the mysql-gui-tools software available on the http://www.mysql.com page.
N30B Programming user’s manual The view of the software window enabling to ask queries to the data base is presented in the fig. 21. – MySQL Query Browser. Fig. 21. Window of the MySQL software 4.2 Foundation of a Base The N30B software needs one data base for a correct co-operation and established in it, a table with a definite structure (see the section: Structure of Used Table).
N30B Programming user’s manual In case, when we want create a user which can only review data In the data base of measurements located in the N30BTAB table, then one must give the command (notice: the N30BTAB table must exist): GRANT SELECT ON measurements.N30BTAB to ‘n30b_user’@’%’ identified by the ‘password_user’...
N30B Programming user’s manual DATA date not null default ‘2010-01-05’, CZAS time not null default ’00:00:00’, DEV TINYINT not null default ‘0’, R0 float not null default ‘1E+20’, R1 float not null default ‘1E+20’, R2 float not null default ‘1E+20’, R3 float not null default ‘1E+20’, R4 float not null default ‘1E+20’, R5 float not null default ‘1E+20’, R6 float not null default ‘1E+20’,...
Page 32
N30B Programming user’s manual Field name Type By default Description Address – defines the N30B recorder address which data ADDR tinyint come from. 2009-11- DATE date Date – defines the date which data come from.. TIME time 00:00:00 Time – defines the hour which data come from. DEV –...
Page 33
All our instruments have CE mark. For more information, please write to or phone our Export Department Doc.: N30B-09/3 15.03.2011 Lubuskie Zakłady Aparatów Elektrycznych - LUMEL S.A. ul. Sulechowska 1 65-022 Zielona Góra – Poland Export Department: Tel.: (48-68) 32 95 1 00 (exchange) Tel.: (48-68) 329 53 02...
Need help?
Do you have a question about the N30B TYPE and is the answer not in the manual?
Questions and answers