Professional Documents
Culture Documents
NAR-PD-0139-103-en V200 N4 AMCS BaseSoftwarePackage Instructions
NAR-PD-0139-103-en V200 N4 AMCS BaseSoftwarePackage Instructions
NAR-PD-0139-103-en V200 N4 AMCS BaseSoftwarePackage Instructions
N4 AMCS
Base Software Package
Instructions (Base Version 2)
Version 2.00
NORIMOS 4 AMCS NAR-PD-0139-103-en
V2.00 - 22/01/18
Base Software Package page 2 / 16
Instructions
Document
[NAR-PD-0139-103-en_V200_N4_AMCS_BaseSoftwarePackage_Instructions.docx]
Revision Overview
Version Date Author Changes
1.00 20.05.2016 ASc initial document
1.01 31.05.2016 ASc Corrected naming of the configuration file
Modified chapter 1.3
1.02 17.06.2016 MRe Rev. 2.2
1.03 01.07.2016 MRe Rev. 2, new Fig. 5, Fig. 6, Fig. 7
1.04 18.11.2016 MRe Rev. 4.3
1.05 02.12.2016 MRe Rev. pictures of PH tool
1.06 28.03.2017 MRe Rev. pictures of PH tool, Fig. 7, corr. 4.4
1.07 04.04.2017 MRe Rev. 2 Note for ph.exe requirements, New 6.1
1.08 20.06.2017 MRe Corr. Document name
2.00 22.01.2018 MRe Corr. pictures of ph.exe; New chapter 5
printed in Germany
© 2018 NORIS Automation GmbH
This publication including any and all of its parts is copyrighted. Any exploitation or utilization of the text shall require prior written
approval by NORIS Automation GmbH. This provision applies in particular to the reproduction, distribution, editing, translation,
storage and / or processing of the material in electronic systems, including data bases and online services. Changes reserved.
Contents
Associated Documents and Links ..................................................................................................... 2
Revision Overview ............................................................................................................................... 2
Contents ................................................................................................................................................. 3
1 Definition: Base Software Package ........................................................................................... 4
1.1 Components............................................................................................................................ 4
1.2 Release process and versioning ......................................................................................... 5
1.3 Folder structure and working process within a project ................................................. 7
1.3.1 Placement of the provided base software .................................................................. 7
1.3.2 Working process within a project at the company ................................................... 7
1.3.3 Workflow with a service engineer on board ............................................................... 7
2 Integration of a base software package into a project ........................................................ 9
2.1 Setting up a new project ................................................................................................... 10
2.2 Updating of an existing project ........................................................................................ 11
2.3 Creating backups of the work folder ............................................................................... 11
3 Creating a release ...................................................................................................................... 12
4 Updating the system .................................................................................................................. 13
4.1 PLC Update ........................................................................................................................... 13
4.2 VMP Update .......................................................................................................................... 13
4.3 Visu Update .......................................................................................................................... 13
4.4 Config Update....................................................................................................................... 13
5 Get a backup of all network devices ...................................................................................... 14
6 Trouble shooting project helper (ph.exe) ............................................................................. 15
6.1 Startup failure of ph.exe .................................................................................................... 15
6.2 Check local network settings ............................................................................................ 15
6.3 Executing of ph.exe in other domains ............................................................................ 15
List of figures ...................................................................................................................................... 16
1.1 Components
The challenge of designing Integrated Alarm, Monitoring and Control Systems (IAMCS) is
the great variability between the different projects and the number of the required files
and software parts. To ease the use of our system and to minimize the required effort to
adapt those projects the base software package was created.
As you can see in Fig. 1 a distinction is made between files that are components of the N4
Base Software Package itself (here displayed in green), files that are required for this
package below it and the data which is added on top of it to finalize the software for a
specific project.
The files in Device Software and Development Environment are already compiled ready to
use software by Noris or external suppliers. The Base Software Package together with the
project specific parts will be compiled in the end of the process which is described in chapter
2.
For your project it is recommended that you do such documentation in the same way. So
the system requirement for your project will be a certain Base Package Version and
together with the components you have adapted or added there will be a global project
version you can share with your service engineers, customers and surveyors.
As you can see in the picture the base software package is imported into the work folder
and the project-specific files are added on top of it. As the name of the work folder already
says: This is the folder where the project team is working in.
The work is organized by the project leader or his representative. He can delegate the
different tasks to the project team members. So the configuration, the user code and the
visualization can be adapted by different persons. But don’t forget: Every file can be edited
by only one person at the same time.
Once the project leader decides that the project is ready for the next step, e.g. testing, he
will create a release. A release consists of two parts. Firstly it contains the “frozen”
project files you have worked in the work folder. Secondly there are the compiled versions
of your software known as images which can be directly copied to your system.
This “frozen” state of your project will be created in your release folder with the project
number, the date and a consecutive number. So you have an explicit number which
indicates this certain state of your project. You can use this identification to document your
test results as well as the version which is currently installed on the vessel.
In case of urgent adoptions it is also possible for him to change for example the
configuration file and bring it to the system. As soon as possible he hands over the adopted
file to the project leader who replaces the file in the work folder and creates a release with
the current date and the remark that this was installed on the vessel.
In the rare case a project member has changed another file in the meanwhile it becomes
a bit more complex. The project leader has to create a backup first. After that he brings
the work folder to the state the service engineer has received and includes the modified
files. Now he can build the release which matches the system on the vessel. Finally he
reintegrates the changes of the project member to the work folder which are still not
implemented on the vessel yet.
N. Entry Description
0 Quit Close the tool
1 Copy config to PLC & PC sending configuration to all online PLCs and PCs
2 Copy image to PLC & VMP sending the compiled project to the online PLCs and VMPs
3 Create release create a release package from the current work folder content
4 Create archive archive the current work folder content
5 Get/Update ALA-Base Software create a new project / update a project with new base software
Fig. 6 ph.exe interface description
The tool uses an initialization file (ph.ini) for some base settings, e.g. the original path of
the base software location, see Fig. 7 below.
If the base software does not use the original path, e.g. if it is used outside of the Noris
company network the path entry “BaseSwDir” has to be adapted to the local requirements.
1) Create a new folder Work in the folder Software in the directory of the project.
2) Copy the ph.exe from the Base Software Package manually into the folder Work
3) Run ph.exe
4) Execute option number 5 to import the latest Base Software Package into your
project.
Result 1: Execution is not completed because of missing configuration data
Result 2: The Work folder contains new folders and files now
5) Adaption of the configuration file:
a. Open the configuration template Config\ALA-config.xlsm
b. Add configuration data into the file
1. Run the Import-button to get the data from an old config file and do
the adaptations required by the pop-up window
2. Fill in the data required for your project (especially the NwMaster
and the PLC worksheet)
c. Export the CSV Files by clicking on the button Save/Export
d. Close the config file and rename it: XXXX_ALA-config_YYYYMMDD-nn.xlsm
(whereby XXXX is the Noris project number and YYYYMMDD_nn the date
with a consecutive number)
6) Execute ph.exe, option number 5 again to reload the Base Software Package
Result 1: Execution was successfull
Result 2: Every configured PLC has an own folder in Work/PLC where the
user code can be adapted
7) Adaption of the PLCs and of the Visualization-Project
a. Uncomment the desired templates and modify it to the requirements of the
project: XXXX_PLC01.pro, … (remember assigning a software version)
b. For the PLC with AES function: Setting a tick in the check box
Target Settings -> „Support network variables“
c. Integrate the project-specific mimics and pages of your visualization into
the new created visualization base project file
3 Creating a release
To create a release the tool ph.exe with option 3. Create release, has to be executed. Next
the variant of the VMP has to be selected – VMP70-I (XV-112) or VMP70-III (XV-3x3).
This option creates a new folder Release besides the folder Work if it does not already
exist. As already explained in chapter 1.2 a release consists of two parts: The “frozen”
copy of the work folder in the project folder and the compiled versions of your software
in the images folder. Images for PLC and VMP are provided automatically. The visualization
has still to be handled manually at the moment.
As to the archive folders the same rules apply to the release folders: it is common to extend
the created folder name with a personally remark, e.g. 4753_2016-05-19_01_SeaTrail or
4753_2016-05-30_01_ToBeTested.
To create content backups of all network master devices start the tool ph.exe and execute
option 6 Get Network Backup.
This option creates a new folder NetworkBackup besides the folders Work and Release, if
it does not already exist. For the current backup process a subfolder with a leading “BU”,
the actual date and an additional counter number for folders with the same date will be
created, e.g. “BU9900039_2017-11-30_01”.
The project helper tool tries to establish a FTP communication to each network master,
listed in the configuration. If a connection can be established it creates a device subfolder
and copies all content from the project directory of the device. For PLC devices the flash
drive will be copied completely.
Not successful connections will be listed in the command line printout. Next the backup
folder contains subfolders only for devices which were able to establish a connection.
List of figures
Fig. 1 Components and relations of the base software package ............................................... 4
Fig. 2 Provided R&D Folder ................................................................................................................ 5
Fig. 3 Versioning of the files and packages.................................................................................... 6
Fig. 4 Folder structure and processes within a project................................................................ 8
Fig. 5 Project helper tool .................................................................................................................... 9
Fig. 6 ph.exe interface description ................................................................................................... 9
Fig. 7 ph.exe initialization file content ............................................................................................ 9
Fig. 8 Project folder ........................................................................................................................... 12
Fig. 9 LAN settings for PH tool ........................................................................................................ 15
Fig. 10 Internet options for running PH tool in other domains ................................................ 15