PTD Mega-Guard Engineering Guide Rev6.13
PTD Mega-Guard Engineering Guide Rev6.13
Engineering Guide
MEGA-GUARD
PRODUCT
TECHNICAL
DESCRIPTION
OWS/ PCU / SPC/ PMS
BMS / PCM
ENGINEERING GUIDE
1 TABLE OF CONTENT
This manual describes the information to be used for the engineer to set-up a MEGA-
GUARD Ship Automation System. This system can be configured according
requirements for a specific vessel. These requirements can be configured
beforehand during the engineering phase and on board of the vessel using an OWS
(Operating Work Station).
The manual is split up in chapters for the configuring different aspects of the system.
The chapter “General Channel Setup” describes how I/O points can be configured.
Chapter “PAL1131” describes how value processing calculations can be
programmed. Chapter “Mimic Setup” describes how user interface via graphical
screens (graphical pages or mimics) can be drawn and configured. Chapter
“Documentation with DocGen” explains how documentation can be created from the
data in the configuration. Finally the chapter “Network Configuration” explains how
the different Work Stations can be configured.
3.1 Configuration
An engineer can configure a Mega-Guard Ship Automation System with a pointing
device and a normal PC compatible keyboard connected to any Workstation of the
system. The system can also be configured "Off-line" on any standard PC running
Windows 7 operating system. The Mega-Guard SET-UP information is stored in an
MS-ACCESS compatible database and configuration files.
Up to 24
WS 1 WS 2 WS n
Up to 99
XP 01 XP 02 XP n
Up to 25
LOP 01 LOP 02 LOP n
Local Operator Panels (LOP) of the EAS are also connected to the Work Stations via
Ethernet. Rapid Spanning Tree Protocol (RSTP) switches are used to make Ethernet
redundant. Each XP is connected to the other via a chain of Ethernet cables that
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 8 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
form a loop. RSTP is used to find the best route for the information to be transferred
to the server which is running on an OWS.
In the following figure is displayed how a ship LAN switch can be connected to the
Mega-Guard system.
VNC: Virtual Network Computing protocol for remote view of MPC display
Configuration
Install a VNC viewing (server) application on the VNC MPC with default
settings. Installation of software package TightVNC is recommended.
Install a VNC viewing application on the pc that is used for remote viewing. Also
here, TightVNC is recommended.
Configure the IP address of the MPC on the viewing PC, preferably with easy to
understand text label (such as “MEGA-GUARD”)
The VNC software is installed with default settings. VNC uses port 5800. Passwords
for administration and using the viewer should be entered special per project / per
vessel.
VNC: Virtual Network Computing protocol for remote view of MPC display
WiFi: Wireless network routing device
The number of WIFI routers depends on the locations where you require access to
the system. Generally one WIFI access point per room is advised.
Configuration
Install a VNC viewing (server) application on the VNC MPC with default
settings. TightVNC is preferred and delivered.
Install a VNC viewing application on the tablet.
Configure the IP address of the MPC on the tablet, preferably with easy to
understand text label (such as “MEGA-GUARD”)
VNC: Virtual Network Computing protocol for remote view of MPC display
Shipview: Central contact for PC with viewer and MPC with VNC display
Configuration
On MPC used for remote access, switch on the Windows firewall. Then test
internet connection by giving ping command to shipview.praxis-autmation.nl:
ping shipview.praxis-automation.nl
Install a VNC viewing (server) application on the VNC MPC with default
settings. TightVNC is preferred and delivered.
Enable Local Loopback on VNC MPC.
Include batch file with this command in startup:
This command must be on 1 line. The xxxx must be replaced with a unique number
for this ship within the range 5901..5999
Install a VNC viewing application on the pc used via internet (outside of the
vessel)
Also on this PC, configure the address “shipview.praxis-automation.nl” with the
unique number xxxx, preferably with easy to understand text label (such as
“MEGA-GUARD”)
The connection from the ship network to internet is made via Satellite modem. It
does not require Mega-Guard software. Enable the Windows firewall and do
not use a web browser on the MPC with VNC to prevent virus or control
takeover from internet.
Several set-up levels are available (refer to paragraph 7.3 Passwords, page 106)
each with their own password. The engineer set-up level is level 0. By entering the
appropriate username and password, the set-up is entered with the corresponding
level.
When F12 (SET-UP) is pressed the following appears on the screen:
If the User Name and Password is correct the system will show the User Name and
privilege level on the Status Bar on the bottom of the screen.
Example below indicates the reaction of the system when a wrong password is
supplied.
After 3 seconds the system will display the default page (usually ALARM PAGE).
The SET-UP key must be pressed anew:
The default username is an empty string and the default password is '0' for the
engineer level (level'0'). In this document the engineer level (level '0') is described.
You can enter set-up when the correct password is entered (default '0'). The system
will clear the screen and the following is displayed (operator levels allow restricted
set-up):
When the SET-UP program is closed the system will return to the default page
(usually ALARM PAGE).
In case of bad input the system will show an error message.
The following general rules apply to such a configuration page. The easiest way to
maneuver between the different items and fields on the screen is by using a pointing
device like a Trackball or a mouse, however setup can be performed by using the
following keys on a QWERTY keyboard.
The items:
Switching between the Tree Area and the Set-up area can be done by
sing the key F6 on the QWERTY keyboard or by a left click on the area
with the pointing device.
Selecting pull down menus from the Menubar can be done by pressing the
Alt key together with the letter key which is underline in the menu bar. Or
by a single left click on the menu item. To move the focus back to either
the Tree Area or the Set-up area press the TAB key on the keyboard or
left click on the area.
Selecting the items from the Button Toolbar can only be performed with
the pointing device, by a left click on the button. Of course all items of the
Button Toolbar can also be selected via the pull down menus from the
Menubar.
In the Tree Area you can select the different maps by using the arrow keys
or by a single click from the pointing device. If a map is closed it is shown
as follows and if a map has a symbol on the left, it indicates that there
are setup items within this map, which are not shown at this moment. If a
map is open it is shown in the following way if such a map has a
symbol on the left it, the setup items are shown in the tree.
To open the map you can double left click on it with the pointing device or
with a single left click on the symbol. If the map has no symbol you
can not open this map. Opening a map from the keyboard can be done by
pressing the + sign when the map is selected.
To close map you can double left click on the open map symbol or by a
single left click on the symbol. Closing a map from the keyboard can be
done by pressing the - sign when the map is selected.
Adding setup items to a map (when applicable) can be done by a right
click with the pointing device or by pressing the context menu key on
the keyboard when the map is selected. With this action a context menu
will appear and you can select insert to add a setup item.
Selecting the item and pressing the Delete key on the keyboard will delete
setup items in a map.
Field
Checkbox
Group of fields
The set-up area is a form with several fields to define the set-up of the
system. To go to the next field or group of fields use the 'TAB' key. To go
to the previous field with use the 'Shift'+TAB' key. Within a group of fields
you can use the arrow keys to go from one field to another field in that
group. With 'Enter' you go to the next field and validate (modified) data.
The checkbox can be changed by a single left click with the pointing
device or by pressing the SPACE-Bar on the keyboard.
Enter a new value by just typing from the keyboard.
(Use 'Esc' at any time to restore a field to its former value, i.e. the value
before selecting the field.)
For each form context sensitive help will be available.
Fields, which can be modified, are shown in white. Fields, which cannot be
modified, are grayed out and will be bypassed.
The 1131 Variables can have names according iec61131-3{ed2.0}. These names
must start with a character, may contain numbers and underscores ‘_’, but no spaces
or other characters. A lowercase name is different then an uppercase name: C001 is
not the same as c001. To prevent making mistakes it is advised to always use
uppercase.
5 PAL1131 SET-UP
The startup displays PAL1131 interface window whose left part will present project
tree, middle one program code, and bottom part compiler messages.
Some of the items remain inactive until a project is open. Print prints project report
and source codes (print preview has not been implemented yet.) Copy and Paste,
besides standard text operations, handle items from project tree (POU units, global
variables, etc.). Find looks for text written in the toolbar cell.
5.1.3 View
Press Alt+0 to get quickly to project tree, Alt+1 to program window, and Alt+2 to
message list.
5.1.4 Project
The option handles final stages of the project. Build compiles open project or its
element. Clear removes intermediate files created automatically during compilation,
leaving only two necessary (.xml, .xmc; see Supplements). Simulator and hardware
configurer can be run after compilation. Item adds, removes, etc. project elements.
Export, Import deal with libraries (.lcp) or external files with ST programs (.cst). Tools
edit list of global variables, present compilation report, and open project folder in
Windows explorer.
Tools configure environment, determine global settings, and run compiler, simulator
and configurer standalone for working with external files (.cst, .dcp, .dcp or .xmc).
Window arranges interface. Help accesses programming instruction, information
materials with function, function blocks, and notes For advanced users. It also
indicates whether PAL1131 has been updated.
5.1.5.1 Projects
Path to a file with Virtual Machine specification (runtime) is provided. Use… option
must remain selected (default) for single task VM. Optimization level 1 is normal (ev.
see For advanced users).
The tab also indicates which libraries should be automatically imported into new
projects. Button [+] adds library from Libraries folder. Button [-] removes selected
library.
5.1.5.2 Editing
Single and Double colorable modes show keywords in different colors. Single
(default) provides additional autocomplete help to finish names of variables,
functions, etc. (Supplements). Auto synchronization… unifies names of the same
elements in different parts of the project.
5.1.5.3 Colors
Scheme of editor colors, text attributes, etc., together with example of colored code,
is shown below.
5.1.5.4 Miscellaneous
Size of Recent files list is determined. Bold characters distinguish active project for
selected POU. Ask, or not, before opening the stored report in default browser.
Replace Virtual Machine specification file by default (from Projects tab). For a global
variable the project tree may show type, addresses and comment.
5.1.5.5 Compiler
Align addresses avoids overlapping of variables. C++ type comments and nested
comments may be accepted.
5.1.6.1 Communications
PC port for communication with the controller is configured according to
Communication settings. If the controller is connected via USB, Windows Device
manager determines port number. SMC controller settings define controller number
for PC and parameters for communication with distributed I/O modules or other field
devices. The 8N1 mode denotes 8 data bits, odd parity (N) and 1 stop bit.
5.1.6.3 Update
The tab determines configuration to check whether new version of PAL1131 has
appeared on the update server.
Passwords of the update and proxy users are not encoded so should be
erased after checking the update.
The objective is to turn a motor on and off. Sample control diagrams are shown
below.
Ladder diagram:
START, STOP and ALARM inputs are acquired by the controller from binary input
module. MOTOR output is sent from the controller to binary output module. The
following addresses are assigned to variables.
STOP 0001
ALARM 0002
The adjacent three addresses indicate that START, STOP and ALARM will be read
in one command or message. All signals correspond directly to hardware, so they will
be declared as global variables.
Enter the name and eventually fill other information cells of Project properties
(created and compiled are filled automatically). The name must be correct identifier in
ST, so without spaces inside or digits at the beginning (see ST language overview).
The contents of Version, Manager and Company cells will be downloaded to the
controller together with the program. By reading it back you can always find out what
program is executed.
STRING, USINT, UINT, UDINT and ULINT types are not implemented yet.
Address
Selection of Address option automatically fills the cell with first unoccupied address,
so 0000 here. For types other than BOOL, the address begins with the sign % and
size prefix (ST language overview). If Address is not selected, the variables are
located automatically.
Setting the address is optional and demonstrated here for example usage. If
your project does not require specific address usage, leave this option empty.
Constant, retain
Attribute CONSTANT declares a variable which does not change during program
execution, and RETAIN a variable whose last value is kept in memory despite power
failure.
Initial value
If the option is not selected, the variable is set initially to default value (usually zero).
For RETAIN variable the initial value applies for cold start only (i.e. after downloading
the program). In case of warm restart (power resumed), the last value kept in
memory is used. Non RETAIN variables are set to initial values both during cold start
and warm restarts.
Comment
Text from the cell is displayed in the project tree and in auto-complete hints
(Ctrl+space).
Add
Pressing the button fills the list with declared variables. If the Address option is not
selected, text auto appears in the last column.
OK closes the window. START, STOP and ALARM appear in Global variables
section of the project tree.
The variables involve type, physical and logical addresses (or auto) and comment.
MOTOR variable
It could not be declared in the previous group since its address is not adjacent
(0008). Select Address and enter 0008 instead of initial 0003.
The PAL1131 package provides first free address for the group being
declared, but does not check whether the whole group fits into the area
before variables placed further down (if any). In case of collision the
overlapping variables are shown in red.
5.2.4 Program
Name of the program is entered in Program properties window.
Program name and preview
Select the project > Context menu > Add item > Program
While entering the code, functionally different elements are shown in different colors
and ev. bold. The editor is equipped with a number of useful shortcuts
Supplements).
5.2.5 Task
Single task is available in the current version of PAL1131. Name of the task and
programs are declared in Task properties window.
Select the project > Context menu > Add item > Task
Select PRG_START_STOP from Available programs and with upper buttons transfer
it to Executed programs.
5.2.7 Compilation
The program is compiled to universal executable code in binary format for virtual
machine (runtime).
Select the project (or any element of it) > Project > Build (F6)
Global variables declared without addresses obtain physical addresses seen in the
project tree, in parentheses. Logical addresses are still denoted by auto.
Yellow ”road” sign indicates warnings. For instance; if ALARM were assigned the
address 0001 (as STOP) then following warning would appear.
Double click the warning to open Global variable properties individual window for
ALARM.
The question is asked even if no changes have been made (see For advanced users
to remove it).
Let the instances of TON and TOF be declared as ON_DELAY and OFF_DELAY.
The former program will be extended by statements implementing cascade
connection of the following blocks.
The PUMP signal will be sent to the same binary output module as MOTOR, so its
logic address is 0009.
The timers TON, TOF are stored in PAL1131 IEC_61131 library (linked to the project
by Environment options > Projects).
Buttons
− selects a library (transfers to Libraries folder)
− reverses selections of all objects
− shows declaration of selected object
− reverses selections of function blocks
− as above, for programs, functions and global variables
respectively.
The button is active only while exporting or importing the library (Project >
Export/Import > Library).
The two lines 18, 19 in the program code can be replaced by single
one by using internal assignment Q=>PUMP.
Name of type, function, variable, etc. may be automatically completed after writing at
least one character, but only if the project at current stage has been compiled to
acquire the names (Build). Pressing Ctrl + space generates list of names with the
same beginning.
Compilation
Select START_STOP project
Project > Build
Upper part of Global variable properties window should be filled in as before, lower
part is updated automatically.
Full name column involves variable names preceded by project name (also in case of
tasks).
5.4.3.1 Sorting
Initial order of variables in the report corresponds to declarations. This may be
changed by clicking header of a column what shows the sign of increasing or
decreasing sorting. Depending on the column, the sorting may be either alphabetic or
numeric. The first one is shown below.
Project save
File > Save (Ctrl+S)
The window indicating the path is not called up now since location of the file
has been determined already (previous Save).
The first way is used directly after compilation (Project > Build), what creates .dcp file
read automatically by Pal1131Sim. The next two ways require opening the .dcp file
from PAL1131Sim window.
File > Open DCP file or (PAL1131Sim menu or toolbar, see below)
If the project has been simulated already and session data saved, the
question “Do you want to open saved session as well?” is displayed.
The variable tree differs a little from the project tree before. The view area presents
initially the list of global variables or collection of individual windows for such
variables (also called variable views). Panels for groups of variables or additional lists
can also be placed in the view area. Scroll bars provide access to components
outside (if any).
File Trace
Simulation session data can be saved in a file to repeat it later. Trace controls
PAL1131Simulation operation, so starts or stops it reads (Supplements) or logs
variables, and selects data source, i.e. either Simulator (off–line) or Modbus–SMC
(on–line). Window > Arrange places individual windows side–by–side.
the program into the controller). View area shows the results.
Values after 5 seconds since 1 has been entered for START are shown below.
MOTOR and PUMP are turned on.
Add variable
Select variable in the tree, drag it to the list and drop (keeping pressed left key of the
mouse).
Remove variable
Select line > Context menu > Remove
Fill in the panel with appropriate variables by drag–and–drop from the tree. Panel
grows automatically. Boolean variables are represented by rectangles, variables of
other types by text cells.
Session
The option Open global variable view automatically opens either the list (default) or
collection of individual windows. The number of such windows may be limited for
large projects. The question “Do you want to open saved session as well?” asked at
the beginning is dropped if the option Always open SCP session file … is selected.
Open variable views in advanced mode opens lower parts of individual windows.
Input file
The tab defines .inp file for simulation controlled automatically (Supplements). Path
to the file can be chosen by pressing or entered directly.
Output file
Simulation results may be recorded in .out file (default name as project file name). If
the file exists already, its content may be overwritten or appended.
Data source
The tab is equivalent to Tracking > Data source in the menu, so it selects either off–
line simulation or on–line commissioning (for SMC controller). Communication
parameters can be checked by pressing Configure.
Sample diagrams
Control system
The controller CNT measures the temperature PV and controls the furnace and
pump by the outputs CVF, CVP. It also communicates with PC computer, which:
– sets the set point SP,
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 55 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
Communications
Assume that PC and the controller can exchange data of the types BOOL and INT
only. So the temperatures SP_, PV_ at PC side are INT variables. Accuracy 0.1 °C is
required, so the range of SP_, PV_ corresponding to 0...100°C, is 0...1000
(SP=SP_/100, PV_=PV · 100). For instance, the set point 20 °C is represented by
SP_=200 in PC and by SP=2.0 in the controller.
Program
PRG_RTC program of RTC project is shown below. Comments seen in the project
tree are entered during declaration of variables. The task TSK_RTC is executed
every 200 ms.
17: determination of the pump control CVP, switched on all time during the day, at
night between 23.00 and 1.00 and when the furnace is on.
21: conversion of REAL to INT after adjustment of the range, to be read by PC.
5.6.4 Simulation
The window shown below corresponds to 9 a.m. The measured temperature 16 C is
lower than the set point 20C, so the furnace is turned on. Pump is also on (daytime).
Individual window for the set point SP (controller side) is shown under the list.
FB_PULSE – single pulse after time T since rising edge appeared at the input
5.7.3 FB_AVERAGE
Name
Enter FB_AVERAGE. OK inserts the block into project tree.
Code
Double click FB_AVERAGE to open editor window. Directive (*$COMMENT*) is
particularly useful for user libraries.
Compilation
Project > Build
Correct errors, if any.
Function instead of a block
Since FB_AVERAGE does not store internal state, it may be replaced by a function
5.7.4 FB_PULSE
Blocks from IEC_61131 library will be used to implement the diagram shown at the
beginning.
Code – part I
Local declarations define block instances.
Input/output names
Sometimes you may need to recall declarations of library blocks for input/output
names. This can be done in two ways:
1) Select block in the library folder in project tree. Tip with input/output declarations is
briefly presented.
2) Select the block and press Ctrl+I to get permanent window with the declarations.
Code – part II
While entering the code, auto complete option of PAL1131 editor is available. Ctrl +
space opens auto complete list.
Compilation of the project after declarations is needed to build up the list (see
Supplements). Enter inserts selected word and closes the list; you may also click the
word or click outside. Esc closes the list as well.
Compilation
You could now write a test program as additional POU unit and run it using
simulator. However, it will be more natural from user viewpoint if we first
export the project as a library, and test it later in another project.
Library name
Enter proper name, here My_blocks, version number and eventually fill in other
cells (menu path is reserved for future use in FBD diagrams).
Filename may be the same as library name (but does not have to)
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 64 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
Semi–compilation
OK compiles selected objects into semi–compiled from (.lcp extension; Project >
Build produces binary code). Warnings on non–imported dependencies are not
relevant.
5.8 Testing
Separate project, here Test_My_blocks, is created. The block FB_AVERAGE will be
tested by sample input data and FB_PULSE by counting number of pulses with CTU
standard counter.
Global variable list
The project Test_My_blocks uses two libraries, IEC_61131 and My_blocks. The first
one is required by the second as dependent library. FB_PULSE and CTU are
connected by local variable P2C.
5.8.1 Simulation
Compile Test_My_blocks, run PAL1131Sim, enter 1, 2, 3 for A, B, C, and set E five
times alternately to 0, 1. The variable list of the simulator looks then as follows:
STRING, USINT, UINT, UDINT and ULINT types are not implemented in
PAL1131 yet..
Universal types
Groups of elementary types collected according to applications are called universal.
Constants (literals)
Examples of constants of the types used most often are given below:
Constant type Value
BOOL TRUE, BOOL#1
INT 13, INT#-1
REAL 4.1415, REAL#18, 1.2E-6
TIME T#1m3s250ms
TIME_OF_DAY TOD#06:00:00
Single numerical constant without the dot is of type INT, whereas constant
with the dot is of type REAL.
Other types than INT, REAL are chosen by putting type name and sign # before the
number, e.g. DINT#-13, REAL#1.
Initial values
Default initial values are in the table:
Other initial values are declared by means of assignment sign :=, for instance
lamp: BOOL := TRUE;
Attributes
PAL1131 package supports two attributes of variables:
RETAIN CONSTANT
RETAIN declares a retentive variable whose value is kept in memory during power
brake (for warm restart). CONSTANT variable cannot be changed. Initial value of
retentive variable applies for cold start only, whereas initial value of non–retentive
one is also used for warm restart.
Declarations of variables
IEC standard defines a few kinds of variable declarations:
VAR VAR_IN_OUT VAR_ACCESS
VAR_INPUT VAR_EXTERNAL
VAR_OUTPUT VAR_GLOBAL
VAR declares local variables and function block instances. VAR_INPUT,
VAR_OUTPUT and VAR_IN_OUT are used in function blocks and functions.
VAR_EXTERNAL declares usage of variables defined in Global variable list (or,
equivalently, by VAR_GLOBAL; see For advanced users). END_VAR terminates
each kind of declaration.
Declarations VAR_EXTERNAL are allowed in programs only (not in function blocks
or functions). RETAIN attribute may appear in Global variable list (or VAR_GLOBAL),
in VAR and VAR_OUTPUT. VAR_ACCESS is not supported by PAL1131.
Allocation of global variables
Allocation of single variable is determined by AT keyword followed by concatenation
of the sign %, size prefix and logical address, e.g.:
pump AT %B0009 : BOOL;
Global variable list involves Address option instead of AT. Size prefixes are shown in
the table.
Prefixes B, X and leading zeroes of the address may be dropped (as %9 for the
pump
above). Group declaration
A, B, C AT %W0000:INT;
is equivalent to three individual declarations
A AT %W0000:INT; B AT %W0001:INT; C AT %W0002:INT;
The keyword AT cannot be used for local variables which are located automatically.
Memory addresses
Compiler determines number of bytes from size prefix and assigns memory for the
variable beginning from the byte with address
byte address := logical address * size,
(logical address from Global variable list or AT declaration). For instance, declaration
counter AT %W0007: INT;
means that counter occupies 2 ·7=14th byte (and 15th). So the addresses of first
bytes where variables are located have the following properties
If global variable is declared without selecting Address option in Global variable list
(or without AT) the compiler locates it automatically filling empty spaces. Text auto
appears in the list.
If variables are declared in groups, some of the addresses may overlap since the
compiler checks whether address for first variable is free, and not the area for the
whole group. Warning appears in case of overlapping.
5.9.2 Programming in ST
A program may call (invoke) function blocks and functions; function block may call
other blocks or functions. Recursive calls are not allowed.
IF
IF A>B THEN Semicolons are not necessary after
B := A; END_IF, END_VAR and other ENDs.
ELSIF A<B THEN
A := B;
ELSE A := 0; B:= 0;
END_IF
CASE
CASE A OF Selection variable must by of integer type
1: B:=1; A:=2; (ANY_INT, BYTE, WORD...). Entries are
2..10: A:=A+1; constant values (or CONSTANT
B:=A*1000; variables) of selector type, otherwise
11,13,15..21: A:=A+2; Cannot match primitive function... error
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 72 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
If control variable of FOR loop must be increased by other number than 1, then
BY… component is included into the statement, as in
FOR i:=1 TO 10 BY 2 DO ... END_FOR
FOR i:=10 TO 1 BY –1 DO ... END_FOR
(BY must be followed by a constant or CONSTANT variable).
EXIT RETURN
WHILE i>0 DO FUNCTION LINE: REAL
l := l+1; VAR_INPUT
IF l>MAX_l THEN a,x,b: REAL;
EXIT; END_VAR
END_IF LINE:=a*x+b;
i := i-1; RETURN;
END_WHILE END_FUNCTION
Function
Standard and system functions (next chapter) are called directly. To call user–
defined functions corresponding libraries must be imported. Function call statement
may look as follows:
Y := LINE(A1,X1,B1);
Function block
Suppose DELAY denotes instance of the standard timer TON. The following
statements invoke DELAY and transfer its outputs:
DELAY(IN:=_input, PT:=t#5s);
motor := DELAY.Q;
bargraph := DELAY.ET;
The outputs can also be transferred directly in the call statement by means of the
sign =>, i.e.:
DELAY(IN:=_input, PT:=t#5s, Q=>motor, ET=>bargraph);
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 73 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
The operators separated above by the dashed lines have the same priority, so they
are executed in the order defined by expression (from left to right). Operators can be
replaced by functions given in the table, as in:
x1 AND x2 AND(x1,x2)
Program part
VAR Compiler accepts single–dimensional arrays declared
T:ARRAY[0..5] OF as local variables. The arrays cannot be used as
INT; inputs or outputs.
END_VAR Program on the left implements moving average filter
FOR I:=1 TO 5 DO for variable A.
T[I-1]:=T[I];
END_FOR
T[5]:=A; S:=0;
FOR I:=0 TO 5 DO
S:=S+T[I];
END_FOR
S:=S/I;
5.9.2.5 Functions
IEC standard defines large set of functions divided into groups. Most of IEC functions
are available in PAL1131 (several data types are not supported, e.g. STRING).
Explanations
– Star * after function name indicates varying number of arguments (up to 15).
– Bit shift functions have two arguments, ANY_BIT (without BOOL) and INT.
– Other operations on TIME data can be executed by conversion to REAL or DINT.
– Additional function RANDOML (not listed above) returns REAL number in 0.0...1.0
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 75 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
Selection functions
All elementary types are allowed (ANY).
Real time
PAL1131 package provides:
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 76 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
Explanations
– READ_RTC, WRITE_RTC and GET_TST functions operate on DATE_AND_TIME
data. WRITE_RTC returns status flag of RTC update operation (RTC functions
depend on hardware platform).
– Task start time returned by GET_TST is used more often than the time returned by
READ_RTC.
– TASK_CYCLE returns value set in the project (Task properties window).
Status word
Bits of status word returned by GET_STATUS_WORD1 denote
ASWI, BSWI and LIMT blocks can be replaced by SEL and LIMIT functions
(see earlier). SEL automatically recognizes type of inputs.
Cold start is also initiated when memory test detects data error. Global variables
are then set to initial values.
Example
Declarations
VAR
STATE:APON; RESET:BOOL; ALARM:BOOL;
END_VAR;
Usage
RESET:=FALSE; STATE(R:=RESET); ALARM:=STATE.Q;
5.10 SUPPLEMENTS
Incorrect address
New group of two variables, MOTOR and PUMP, is declared, the first one with wrong
address 0002. Clicking Add supplements the list with the two variables, however the
line MOTOR is shown in red indicating address collision.
Group selection
Select the lines to be corrected, the second one with Shift or Ctrl. Names of
variables, types and addresses appear in the upper cells (cell Type would be empty
for different types).
Corrections
Selection of Address option automatically displays first free address for the
colliding MOTOR, so 0004 here.
If you pressed Replace now, PUMP would remain at 0003 and MOTOR placed at
0004. However, we want 0008 instead of 0004.
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 83 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
Since ANALOG occupies four bytes (REAL), so the address of its first byte is
0001*4=0004. Pressing Add displays the following list
5.10.3 Marks
Small rectangles with digits indicating portions of large programs, to improve clarity
and navigation, are called marks (or bookmarks). Portion of a code with two marks is
shown below.
Icons from left table are used by the compiler. An error interrupts compilation,
warning indicates possibility of erroneous code (or another reason, e.g. outdated
library). A hint may point out that global variable is hidden by local one with the same
name.
Message format:
[icon] filename.cst@code_line message text
Context menu clears message list or removes some of its components.
Right table is reserved for future use in languages supported by .NET (e.g. C#).
Code line
A .cst file indicated in a message involves program code in ST language created by
Project > Build. Double clicking the message opens POU editor with cursor at
erroneous line. Sometimes however, the error may be somewhere else. If the
compiler is unable to find erroneous line, it indicates the line with number 0 or -1 (for
instance, when task is not declared).
Autocomplete
Compilation of the project is a condition to display autocomplete list. It is convenient
to compile the project after declaration of POUs to include datatype names, standard
functions, etc. into the list. Second compilation should follow declaration of variables
(clear message list before).
Library update
While opening an old project a warning may appear with information that library
version of the project is different than the one being now used by PAL1131. The
library
reference will be automatically updated if, while closing the project, you answer Yes
to the question Save changes in the project ...
Directive Meaning
(*$AUTO*) Declaration VAR_EXTERNAL (*$AUTO*) END_VAR
automatically inserts declarations from Global variable list into
the program.
(*$READ*) Variable declared in a program, as e.g. START: BOOL
(*$READ*), is considered read only in this program. Other
programs may write into it, however.
Other directives govern internal operations of the compiler. Directives are highlighted
by the editor.
Session may be also resumed while opening .dcp file (provided that .scp is in the
same folder). Answer Yes to the question Do you want to open saved session as
well? One of PAL1131Sim Program options enables automatic resuming.
Time is given in milliseconds (200 ms task cycle). Columns are separated by Tab.
The file can be processed by MS Excel.
Extension Content
.xml Basic file of the project
.cst Program code in ST language (text file)
.hcp Project header created during compilation
.dcp Intermediate file for simulator and configurer created during
compilation
.xcp Binary code of compiled program for virtual machine VM
(runtime)
.lcp Semi–compiled library
.scp Simulation session
.inp Input data for session executed automatically (text file)
.out Session results (text file), e.g. for MS Excel
.xmc Communication parameters (for SMC controller)
.html Project report
.htm Communication report (for SMC: parameters, task table)
The .cst and .xcp files are created automatically during compilation. Recall that at the
beginning it is convenient to create project folder for all files.
FUNCTION_BLOCK SR
VAR_INPUT
S1: BOOL; (* set input *)
R: BOOL; (* reset input *)
END_VAR
VAR_OUTPUT
Q1: BOOL; (* output *)
END_VAR
Q1 :=S1 OR (NOT R AND Q1);
END_FUNCTION_BLOCK
FUNCTION_BLOCK R_TRIG
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 88 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
VAR_INPUT
CLK : BOOL; (* input *)
END_VAR
VAR_OUTPUT
Q : BOOL; (* output *)
END_VAR
VAR
CLKp : BOOL := FALSE; (* previous value of CLK input *)
END_VAR
Q := CLK AND NOT CLKp;
CLKp := CLK;
END_FUNCTION_BLOCK
CTU up–counter
FUNCTION_BLOCK CTU
VAR_INPUT
CU : BOOL; (* up–count input *)
R : BOOL; (* counter reset *)
PV : INT; (* preset value – upper limit *)
END_VAR
VAR_OUTPUT
Q : BOOL; (* output set when limit reached *)
CV : INT; (* current value *)
END_VAR
VAR
CUp : BOOL := FALSE; (* previous value of CU input *)
END_VAR
IF R THEN (* if R = TRUE *)
CV := 0;
ELSE
IF (CU AND NOT CUp) THEN (* if rising edge at CU input *)
IF (CV < PV) THEN
CV := CV + 1; (* increment *)
END_IF
END_IF
END_IF
Q := CV >= PV; (* if CV >= PV, then Q := TRUE *)
CUp := CU; (* save CU as previous *)
END_FUNCTION_BLOCK
TP pulse timer (pulse of preset duration)
FUNCTION_BLOCK TP
VAR
stime: TIME; (* start time *)
END_VAR
VAR_INPUT
IN: BOOL; (* input *)
PT: TIME; (* preset time *)
END_VAR
VAR_OUTPUT
Q: BOOL; (* output *)
ET: TIME; (* elapsed time *)
END_VAR
IF NOT Q THEN (* state 0 or 2: *)
IF IN THEN (* if rising edge at IN or waiting for IN=0 *)
IF ET = t#0s THEN (*if rising edge at IN *)
IF PT > t#0s THEN (* state 1: pulse time count *)
To create Graphic Page (also referred to as Mimic) you can activate the graphic
builder by selecting '*Mimic' from the tree menu, or by double click on one of the
already created graphic pages:
The graphic builder will be started with the selected mimic. If the '*Mimic' is selected it
will start with a new mimic:
1. Background information
2. Dynamic information
The Graphic Editor can create a background picture. This editor is based on vector
graphics (bitmapped graphic images of the type *.jpg or *.gif can be used within the
background picture).
Dynamics - This menu item is used for (refer to paragraph 6.1.1.4 Graphic Editor
Dynamic Information, page 95:
- Creation of a bar graph.
- Creation of a process point.
- Creation of Time/Date value.
- Creation of digital selector.
- Creation of button.
- Creation of pick action (popup).
Play - This menu item is used for (refer to paragraph 6.1.1.4 Graphic Editor
Dynamic Information, page 95:
- Switching ON/OFF of dynamic test-mode.
Help - This menu item gives you information about the graphic configuration
program.
The toolbars are dockable toolbars, which means that you can drag and drop the
toolbar wherever you would like to have it on the screen. The following toolbars (and
action buttons) are available in the system:
File Toolbar:
Edit Toolbar:
Print Button:
Help Button:
Transform Toolbar:
Drawing Toolbar:
1. Bar Graph:
Location on the mimic: Pixel oriented. Object can be placed and moved by selecting
it by the left mouse and dragging it to its location. Pressing
the arrow keys will move the selected object by one pixel.
Connection types: Channel value (type channel number)
Parameter value (type parameter number)
Function Block Connection Scheme Output value (select via
a drop down list the Function Block Connection Scheme
Name and Output Name)
Direction selectable: Vertical-up (default)
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 95 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
Horizontal-right
Horizontal-left
Range: High and low engineering range is automatic retrieved from
channel (default), but can be overwritten by entering manual
other range(s)
Background color: Selectable from color pallet (default black)
Normal color: Selectable from color pallet (default green)
Limit type: NONE (default)
Low/None
None/High
Low/High
Low/Very Low
High/Very High
Limit types selectable: Limit type(s) automatic from channel (default if connection
type is channel value)
Limit type(s) manual entered during configuration
Limit 1 color: Selectable from color pallet (default blue)
Limit 2 color: Selectable from color pallet (default red)
Color implementation: Stacked:
Bargraph vertical-up Type: L Type: H Type L/H Type L/VL Type H/VH
Process point:
Creating a process point: Click the process point button or select from the
dynamics pull down menu. The system will respond with the
following menu:
Location on the mimic: Pixel oriented. Object can be placed and moved by selecting
it by the left mouse and dragging it to its location. Pressing
the arrow keys will move the selected object by one pixel.
Font: Any true type font (default Arial)
Font color: Selectable from color pallet (default white)
Background color: Selectable from color pallet (default black)
Font size: Sizeable as standard within Windows (default 10)
Create a Time/Date value: Click the Time/Date button or select from the dynamics
pull down menu. The system will respond with the following
menu:
Location on the mimic: Pixel oriented. Object can be placed and moved by selecting
it by the left mouse and dragging it to its location. Pressing
the arrow keys will move the selected object by one pixel.
Font: Any true type font (default Arial)
Font color: Selectable from color pallet (default white)
Background color: Selectable from color pallet (default black)
Font size: Sizeable as standard within Windows (default 10)
Connection types: Time:
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 97 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
- hh:mm
- hh:mm:ss
Date:
- yy-mm-dd
- dd/mm/yy
- dd/mm/yyyy
- mm/dd/yy
Time Date:
- hh:mm:ss yy-mm-dd
Digital Selector:
Create a digital selector: Create multiple (drawing) objects. Deselect all objects and
click digital selector button or select from the dynamics
pull down menu. The system will respond with the following
menu:
Pick action: To give commands using the mouse (for opening valves,
etc.) a Pick action can be used. Objects in a graphic can be
assigned as a pick action object by drawing a pick action
rectangle (or square) around the object. The Pick action
configuration dialog appears to input the channel numbers
that change value on mouse command.
See next paragraph to build Pick Action dialogs special for
your project.
On selection of a pick action the next dialog appears in the right side PAL window area. See Example
of Pick Action in next image:
The top part of this dialog contains general settings. The list below that contains settings for the
controls in the pick action dialog.
General Settings:
Type: 0 - Pick Action (normal),
1 - Message Box (for warning or confirm selections), Set
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 99 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
Example of MessageBox:
7 PAL SETUP
Maximum number of Indicates the size on disk what could be use for logging
KB for all logging
files
7.1.2 Logging
* For a list with more then 10 channels the sample rate is 5 or more, if a channel list
contains 10 or less channels a sample rate of 1 sec is the minimum.
Warning: while configuring channel list with more than 1,000 channels for logging will
slow down the complete system, and possibly it will stop. Please check the windows
task manager for sufficient processor time for writing the files.
Maximum usage of disk/memory per day (KB) gives an indication about the
maximum ever to be used KB if logging for group is on.
Memory requirements for logging
General header 152 Bytes
Header per channel 90 Bytes
Per channel 8 Bytes
Sample time stamp 21 Bytes
Number of bytes in file header 692 Bytes
Example:
One day (60 seconds * 60 minutes * 24 hours) has 86400 seconds.
86400 / 5 = 17280 (=times taking a sample for all these channels in this group)
90 bytes (header info per channel) * 12 channels + 152 bytes (header general) =
1232
With a 1 GB Flash card approximately 200MB Flash remains available for logging.
The Flash can perform 300.000 write actions before failure may occur. This allows
3.4 write actions per hour for a 10 year lifetime (300.000 / (10 * 365 * 24)). To ensure
a MTBF of 10 year (mean time between failure) the logging must be setup to write
only once per hour.
7.1.3 Trending
The message “Data Log file size too big for trend replay” is displayed when the
“maximum usage of disk per day” bigger is than 1.44 MB.
Buttons
Browse: Add channels from list with available channels
Add: After a given channel/tagname/range of channels, add the
channel(s) to this group
Insert: After a given channel/tagname/range of channels, insert the
channel(s) to this group
Delete: After a given channel/tagname/ range of channels, delete the
channel(s) from this group
Sort: Sorting all the channels in this group, on channel number or tag
name
Selecting ‘Job and Language’ and ‘Client Texts’ and one of its items:
A table is shown with language text "English" and "User Defined". "User Defined" text
can be adapted. These texts are shown inside a Client, when the Client is setup to
used Alternative Language.
7.3 Passwords
Supply the correct username (up to 12 characters, mind you that the input is case
sensitive) and password (up to 12 characters, mind you that the input is case
sensitive) to enter the set-up. The Mega-Guard System has 3 Levels of Security.
Each level giving access to a certain number or all parameters of the system. For
each level you can setup a list of (max 32) user with their passwords.
After entering a username and password of level ‘0’ (highest degree of accessibility)
the system will clear the screen and the main set-up menu of the selected unit is
displayed. (See the Product Technical Description of the Mega-Guard station for
details on this procedure). All items in the list below can be selected and configured:
Entering a wrong password, will indicate the following popup window on the screen
and the system will return to the normal operating mode:
In the items mentioned in the Main Setup Screen(s), only the Channel Setup has
different accessibility to the parameters (in this item) with the different Privilege
levels. Below you will find the Channels / Conversion Tables / Stored Pulse Counters
for level ‘0’. All items are accessible.
If you have enter the Setup with the Level ‘0’ password and you select the
CHANNELS the system will respond for example with the following Setup Screen:
If you enter the Setup with the Level ‘1’ password and you select the system will
respond with the following Setup Screen:
If you enter the Setup with the Level ‘2’ password and you select the CHANNELS the
system will respond with the following Setup Screen:
If you enter the Setup with the Level ‘3’ password and you select the CHANNELS the
system will respond with the following Setup Screen:
7.4 Printers
The system offers several ways to generate printouts of life data on the system
printer. One is called periodic log, which will start at a certain time and will be
repeated, at predefined time intervals. The other way to create a printout is by
activation of the 'Demand log'. The printout will include date and time in the header of
the printout and for each channel will be printed the tag name, description, high and
low alarm limit(s), actual value and the status. If you select the following item on the
tree it will give you the parameters for the setting of the periodic log. Remark:
Demand Log is setup inside Client.
7.4.1 General
Printer Driver Select lineprint.dll for OKI matrix printer, and winprint.dll for
Windows printers.
Share Name Network printer share name. Required if printer is placed on a
(network) client station. This client must be on during startup of server.
Printer Name For example OKI or HP. Take care while inputting this because
default init strings will created different depending on printer
name
Use Alt. Select this option to print in alternative language. If this language
Language On does not use the Roman alphabet (for example Russian), a
Printer special IC must be placed inside the printer.
CodePage Only for alternate language, choose code page matching your
language.
Init Strings:
Initializing strings can be adapted, but is not recommended, use default values which
will be filled in automatically after setting the printer name.
Remark: An alarm line will be printed when a channel comes in alarm. After the
channel alarm is solved a normal or status line will be printed.
Alarm Log Check box to turn on/off alarm log for this printer
Add/Sort/Delete Buttons to insert/delete groups which needed to be logged
Groups Group of which channels need to be Logged
Periodic Log Check box to turn on/off periodic log for this printer
Add/Sort/Delete Buttons to insert/delete groups which needed to be logged
First Log Time After start of system, logging will be start at certain time (in
hours:minutes)
Log Interval Time After a certain interval (in hours:minutes)
Channel for disable / Channel to Enable the Periodic Log Printout (0 if None)
enable periodic log
Periodic Log Start / Channel to Start / Stop the Periodic Log Printout (0 if None)
Stop Channel Note This channel is Available per Group and defined in It’s
Group.
Example of a set-up of periodic log parameters
Periodic printout Deselect checkbox if no periodic printout is required
required?: Select checkbox if periodic printouts are required. If
this field is selected to 'Yes' automatically two other
parameters can be entered.
First log time (hr:min): Enter the time in hours and minutes when the first
periodic log should be printed.
Log interval time (hr:min): Enter the interval time in hours and minutes when the
periodic log printout will be repeated after the first log
time.
Groups to include in the Insert the groups that should be included in the log
periodic and alarm log: printout(s). The maximum number of groups to
include is limited to 255
Channel for disable / If Channel is Active or channel number = 0, the
enable Periodic log Periodic Log will be Logged, if the channel is not
active the log will be skipped.
Periodic Log Start / Stop If the group Channel is Active or channel number = 0,
Channel the Group of the Periodic Log will be printed.
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 115 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
Order Log Check box to turn on/off Order log for this printer
Add/Sort/Delete Buttons to insert/delete groups which needed to be logged
Groups Group of which channels need to be Logged
Plugins are software modules (DLL's), that are used to establish communication with
the connected hardware in- and outputs. Here we use the following link Type:
- Remote Data (Indicated in the tree with RDx where x can be 1 to 32)
For the configuration of the plugin(s) select the following item on the tree:
Plugins:
Adding a plugin:
Select the Remote Data folder in the tree and click with the right
pointing device key or press the context menu key on the keyboard.
Select 'Insert' from the context menu and a new plugin will be
created. you will be asked for the definition of the name (max 50
characters) and the link(type) for this plugin.
Deleting a plugin:
Select the specific plugin which should be deleted and press the
delete key on the keyboard.
Once the plugin is created the following SET-up Fields Area will be displayed:
Name:
This field contains the user name of the plugin. This name is also
shown in the tree area.
Switch Link ON/OFF
This field indicates whether the communication to/from the hardware
is enabled or not. Changing the value can done by clicking on this
field or by selecting the item and pressing the Space-bar of the
keyboard.
Use On Backup
This field indicates whether the communication to/from the hardware
is enabled or not when the IOServer is running as Standby (Not the
Active IOServer). Changing the value can done by clicking on this
field or by selecting the item and pressing the Space-bar of the
keyboard.
Filename:
Select filename of the DLL.
Remote Data:
Select this type whenever this plugin has to establish the
communication with third party interface (E.g. ModBus, NMEA etc.)
Comment:
This field contains complementary information for describing the
plugin. This field is only used for documentary reason.
7.5.1 XP setup
General settings are located in the tree area just above the processor position table;
see the following image of the tree area
It is strongly advised to leave all settings in this page on their default values.
Server Settings:
Control Processor (XP) life check time out (active link timer):
Wait time in seconds between the point that XP’s missing and the system
reports diagnostic error and actually switches to standby link.
Control Processor (XP) life check time out (inactive link timer):
Wait time in seconds between the point that XP’s missing and the system
reports diagnostic error and actually switches to standby link.
Send download if XP is empty:
When XP has no set-up information it will automatically ask to IO-Server give
me my setup information. XP will always do this, with this flag IO-Server can
be set not to answer to this call.
Value to zero if XP is not present:
When XP becomes not present the channel values will be set to zero if this
flag is set to Yes, if set to No the values will Freeze.
Adding an XP:
Group:
Select the Product Group to be used for the XP.
Nr / P:
Enter the XP number in the field ‘Nr’ in the table. This number
represents the unique number for each XP. Valid entries are
from 1 until 99.
Panel:
Enter module type by selecting the area the system will offer a
dropdown list to select the desired module type.
SwID:
Enter module type by selecting the area the system will offer a
dropdown list to select the desired module type.
Module type:
Select this area in the module table. The system will offer a
dropdown list to select the desired module.
Each DIN type I/O processor has a table for the connection of local system functions
to local I/O channels, the location of these tables is in the tree area just below the
module table, see the following image of the tree area:
By selecting one of the XP the setup area will show the settings at the right side of
the tree.
Name: The name of the XP which can be used in other fields (such as
Automatic Tag Creation)
Automatic Tag Creation: The format for the tags that the channels on
this XP will be created by the system. Several special keywords can be
used which will change per channel.
The <XP> keyword will be replaced for a 2 digit XP number.
The <B> keyword will be replaced for a 1 digit Module number.
The <CH> keyword will be replaced for a 2 digit Channel number.
Automatic Display Deviation:
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 121 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
Expanding the tree area on the specific module will give you for example the
following image:
If you select the module in the tree area the system will show you the right setup
area.
For each module you can setup channels (hardware or virtual), conversion tables,
function block implementations, parameter layout and eventual stored pulse
counters.
Selecting the 'Channels' folder in the tree area will expand the tree with all channels
for that specific module. Selecting a channel will give you the specific setup fields of
the selected channel. The setup fields are related to the channel type of that specific.
The following channel types are supported:
Analog input
Digital input
Analog output
Digital output
Pulse input
Average
If you select a channel with the channel-type set to Digital input the system will
provide you with the following setup fields:
For analog hardware inputs: select ‘Digital Input'. If you use this
option, in some cases you will need a digital input Sensor Adapter on
the module for this channel (Refer to project related I/O list for
Sensor Adapter Type).
If you select a Type which does not correspond with the physical
hardware related to that channel (for example 'ANALOG' for a real
hardware digital input channel) the channel will behave as a virtual
channel of that selected type (See paragraph Virtual Channels , page
158).
Skip:
Select ‘NO’ (channel is processed).
Select ‘YES’ (channel is NOT processed).
Source:
Select ‘Not Installed’ to set this channel as 'Not Installed, the value of
this channel is undefined.
Select 'Hardware Input', to use the value of the physical hardware
input.
Select 'Other Channel', to use the status information from another
channel.
Select ‘Mimic’, to use the value of a Mimic.
Select ‘Mimic Pulse’, to use the value of a Mimic Once (Requires IEC
– 1131).
Select 'Remote Data', to use this digital value to be driven by an
external device.
Select ‘IEC – 1131’, to use this digital value to be driven by IEC –
1131.
Norm.Cond.:
Select ‘OPEN’ for a, default Normally Open, contact on the input or
normal value from source = 1.
Select ‘CLOSED’ for a, default Normally Closed, contact on the input
or normal value from source = 0.
Fail Detect:
This is an option to enable 'Wire Failure' detection on the sensor. If a
Failure is detected it will be reported as an alarm message line on the
printer and on the 'ALARM PAGE' on the monitor and if the value of this
channel is used in a Graphic Page the value will change its color to red.
For digital hardware inputs:
Select ‘NONE’ if no wire failure detection is required (hardware
wire failure detection circuitry is not available for this type of
input).
For analog hardware inputs, set-up to be used as digital input, set
one of the following options:
Select 'NONE' if no wire failure detection is required.
Select 'SENSOR' if wire failure detection is required. (For
connection of sensors, refer to 'Typical Signal and Sensor
Connection Diagram' in the project related drawings).
ALARM NO HORN
The Report Option 'ALARM NO HORN' signifies that the signal is
activating an alarm message on the 'ALARM PAGE' and is not activating
the HORN output on the DIN Module.
Area Groups:
Each channel can be included in up to 8 Area Groups. Area Groups can
be used as 'GROUP PAGE' for display (Max 128 'GROUP PAGES') and/or
it can be configured to activate (an) LED indicator(s) on a Bridge Group
Panel, Mess room Panel or Cabin Panel and it will activate the Horn
Output of the corresponding Panel. In the system we have a maximum of
256 Area Groups:
Print Status:
Note: Alarm message lines are always sent to the printer.
The following selections are possible for status information:
With Report Option 'OFF', you can select:
No posting of status message lines on the printer for this
channel.
With Report Option 'ACTIVE ONLY', you can select:
Posting a status message line on the printer each time a status
change from 'OFF' to 'ON' is detected for this channel.
With Report Option 'BOTH', you can select:
Posting a status message line on the printer each time a status
change is detected for this channel.
Alarm Delay: Enter 0 to 99 sec (seconds) or min (minutes) before an
alarm condition is to be reported.
Inhibitor.: Type '0' to select ‘NONE’ if no alarm inhibit is desired, or enter
the channel number(refer to paragraph 4.2 Channel, Table, Numbering,
page 17) which must inhibit the alarming of this channel.
Inhib Delay: Enter 0 to 99 sec (seconds) or min (minutes) before the
inhibition is released after the inhibiting channel reverts to default.
Status Texts: Depending on the Report setting the system will show you
either Alarm Text Messages or Status Text Messages. Select from 16
groups of texts and associated (text) colors shown in the window, to
represent the channel’s status. (Texts themselves can be modified from
another menu (page 163).
Type:
Select ‘Digital Input’, to use this channel as a digital channel.
Source: Select ‘Other channel’ to use the status information from another
channel.
Norm.Cond.: Select ‘OPEN’ or ‘CLOSED’ for the default signal from the
other channel.
From Chan: Enter the channel (see paragraph 4.2.1 Channel Numbering,
page 17) whose status to use as input.
For all other entries of this screen refer to paragraph 7.5.2.5.1 Standard Set-up
Digital Input Channel, page 125.
When no alarming is desired, a channel can be used for monitoring only. In this case
you can still log the channel to a printer:
Report:
Select 'Status'
Print Status:
Select 'Both' to log the status changes to the printer, 'Off' Otherwise. If you
select 'Active Only' this channel will only be reported on the printer if the
value changes from zero to one.
Note: If the Fail Detect is set to 'Sensor' or 'Channel' or ‘Channel Status’
and there is an active failure signal, this will be reported on the Alarm
Page (and printer).
For all other entries of this screen refer to paragraph 7.5.2.5.1 Standard Set-up
Digital Input Channel, page 125.
If you select a channel with the channel-type set to Analog input the system will
provide you with the following setup fields:
Source:
Select from the drop down list to set-up this channel (see below),
Select Not used to set this channel as 'Not Used', the value of this
channel is undefined.
Scan Rate: Select a time at which interval the channel must be
processed.
Fail Detect:
This is an option to enable 'Failure' detection on the sensor. If a Failure is
detected it will be reported as an alarm message line on the printer and on
the 'ALARM PAGE' on the monitor and if the value of this channel is used
in a Graphic Page the value will change its color to red.
Select 'None' if no failure detection is required.
Select 'Sensor' if failure detection is required. The detection is
activated if one of the measurable limits are exceeded. (For
connection of sensors, refer to 'Typical Signal and Sensor
Connection Diagram' in the project related drawings).
Select ‘Channel’, to use the Sensorfail status of this Channel.
Select ‘Channel Status’, to use the limit status of this Channel.
Filter Samples: Enter the number of samples (Scans) which has to be
used to calculate the running average. Valid entries are from 1 until 8. The
running average will be used for displaying and alarming.
Displ. Deviat: Enter the minimal deviation of the value from the last
update, to exceed before the value is updated (on the screen) again.
Limit Type: Select from 6 options on which condition(s) an alarm must be
generated.
Nr Of Dec: Enter the number of decimals and this will be used for display.
When this item is changed the display deviation will change automatically
also.
Lowest Limit: Enter value for the lower alarm limit.
Highest Limit: Enter value for the higher alarm limit.
Rate Alarm:
Enter a value change (in ‘Eng Unit’ per scan) which must generate
an alarm if exceeded.
Select ‘NONE’ if no rate alarm is desired.
Report:
The Report option is to select what alarm report feature(s) will be activated
if the alarm, or status change is detected. The following selections are
possible:
EMERGENCY
General emergency alarm. An alarm given in the case of an
emergency to all persons on board summoning passengers and
crew to assembly stations.
Fire alarm. An alarm to summon the crew in the case of fire.
Water ingress detection main alarm. An alarm given when the
water level reaches the main alarm level in cargo holds or other
spaces on bulk carriers or single hold cargo ships.
Those alerts giving warning of immediate personnel hazard,
including:
o Fire-extinguishing pre-discharge alarm. An alarm
warning of the imminent release of fire- extinguishing
medium into a space.
o Power-operated sliding watertight door closing alarm.
An alarm required by SOLAS regulation II-1/15.7.1.6,
warning of the closing of a power-operated sliding
watertight door.
For special ships (e.g., high-speed craft), additional alarms may
be classified as emergency alarms in addition to the ones
defined above.
ALARM
If the Report Option ''ALARM' is selected the system will post an
alarm message line on the printer and the 'ALARM PAGE' and it will
activate the HORN output.
The return to normal condition will change the alarm status text on
the alarm message line on the 'ALARM PAGE' and it will post an
alarm message line to the printer with the actual channel information.
Machinery alarm. An alarm which indicates a malfunction or other
abnormal condition of the machinery and electrical installations.
Steering gear alarm. An alarm which indicates a malfunction or
other abnormal condition of the steering gear system, e.g.,
overload alarm, phase failure alarm, no-voltage alarm and
hydraulic oil tank low-level alarm.
Control system fault alarm. An alarm which indicates a failure of an
automatic or remote control system, e.g., the navigation bridge
propulsion control failure alarm.
Bilge alarm. An alarm which indicates an abnormally high level of
bilge water.
Water ingress detection pre-alarm. An alarm given when the water
level reaches a lower level in cargo holds or other spaces on bulk
carriers or single hold cargo ships.
Engineers’ alarm. An alarm to be operated from the engine control
room or at the manoeuvring platform, as appropriate, to alert
personnel in the engineers’ accommodation that assistance is
needed in the engine-room.
Personnel alarm. An alarm to confirm the safety of the engineer on
duty when alone in the machinery spaces.
Convert Table: Select 'None’: a linear range can now be set-up (see
next).
Eng Unit Low: Enter the low end of the linear range.
Eng Unit High: Enter the high end of the linear range.
Eng Unit Type: Enter up to 4 characters to represent the unit type of the
range.
For all other entries of this screen refer to paragraph 7.5.2.6.1 Standard Set-Up
Analog Input Channel, page 132.
It is also possible to choose from one of 16 user defined linearization tables, e.g. a
tank table. The tables themselves can be modified from another menu, see
paragraph 7.5.3 Conversion Tables, page 161).
For all other entries of this screen refer to paragraph 7.5.2.6.1 Standard Set-Up
Analog Input Channel, page 132.
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 138 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
An analog and a virtual input can be configured to take as its input from another
analog input channel’s process value (e.g. to convert height into contents with a tank
table):
For all other entries of this screen refer to paragraph 7.5.2.6.1 Standard Set-Up
Analog Input Channel, page 132.
An analog and a virtual input can be configured to follow the analog output of IEC -
1131:
For all other entries of this screen refer to paragraph 7.5.2.6.1 Standard Set-Up
Analog Input Channel, page 132.
Any type of analog input can be forced into a failure status according to the digital
output of another channel:
For all other entries of this screen refer to paragraph 7.5.2.6.1 Standard Set-Up
Analog Input Channel, page 132.
When no alarming is desired, a channel can be used for monitoring only. In this case
you can still log the channel to a printer:
For all other entries of this screen refer to paragraph 7.5.2.6.1 Standard Set-Up
Analog Input Channel, page 132.
When a pulse-input channel is selected the following appears on the screen, for
example:
Tag Name:
Enter any tag up to 10 characters. Tags must be unique.
Description:
Enter any descriptive text up to 40 characters.
Type:
Shows ‘Pulse Input’ as information only.
Skip:
Select ‘No’ (channel is processed).
Select ‘Yes’ (channel is NOT processed).
Source:
Select 'Not Installed' to remove this channel from set-up.
Select 'Frequency Counter' to use this input as a frequency counter.
Select 'Pulse Counter' to use this channel as a pulse counter.
Select 'Cascaded Frequency' to use this channel as a cascaded frequency
counter.
Select 'Speed Counter' to use this channel as a speed counter (interrupt
driven)
Note: The maximum input frequency for pulse inputs is approximately 4kHz.
Pulse / Scan: Enter a value between 1 and 3000 to indicate the number of pulses
per Scan Rate (interval)
Scan Rate: Processing interval on which the counter value will be evaluated
(processed)
Range: Range limit when during the Scan Rate the number of Pulses / Scan are
counted.
For all other entries of this screen refer to paragraph 7.5.2.7.1 Standard Set-Up
Pulse Input Channel, page 143.
Example:
A flow meter that gives a frequency of 0-40 Hz for a flow of 0-500 Liter.
In the above sample the value will be processed each 5 seconds (Scan Rate). If we
count 150 pulses (equal to 30Hz) within this interval the value of this channel will
indicate
150(input)
500(range) 375Liter .
200( Pulses / Scan)
Pulse / Range: Enter a value between 1 and 3000 to indicate the number of
pulses to be counted to set the output to 100% of the range. During counting the
output will be equal to:
Countervalue
xRange Output
Pulse / Scan
Range: Range limit for the output value.
Start Count: Transition from ‘False’ to ‘True’ on this channel will start the
counting process. This channel must be a local channel on this I/O module.
Stop Count: Transition from ‘False’ to ‘True’ on this channel will stop the counting
process. This channel must be a local channel on this I/O module.
Reset: Transition from ‘False’ to ‘True’ on this channel will reset the counter. This
channel must be a local channel on this I/O module. If the reset is defined as the
pulse input channel itself, it will execute the reset command as soon as the output
has passed the highest limit.
For all other entries of this screen refer to paragraph 7.5.2.7.1 Standard Set-Up
Pulse Input Channel, page 143.
Teeth/Rev.: Enter the number of teeth on the flywheel for one revolution.
Nr. Cylinder: Enter the number of cylinders for this engine
Range: Range limit.
Oversp. Teeth: Enter the detection level on the number of teeth per cylinder
when we have to detect the over speed.
Overspeed RPM: Enter the limit for detection of over speed on RPM of the
engine.
For all other entries of this screen refer to paragraph 7.5.2.7.1 Standard Set-Up
Pulse Input Channel, page 143.
Pulse / Range: Enter a value between 1 and 3000 to indicate the number of
pulses to be counted to set the output to 100% of the range. During counting the
Countervalue
output will be equal to: xRange Output
Pulse / Range
Range: Range limit for the output value.
Start Count: This field can be set to ‘UP’ to start the counter by the detection of
up counting (internal bit, see above). If this field is set to ‘DOWN’ the counter will
start counting by the detection of the status down counting (internal bit, see
above).
Stop Count: This field can be set to ‘UP’ to stop the counter by the detection of
up counting (internal bit, see above). If this field is set to ‘DOWN’ the counter will
stop counting by the detection of the status by down counting (internal bit, see
above).
Reset: This field can be set to ‘UP’ to reset the counter by the detection of up
counting (internal bit, see above). If this field is set to ‘DOWN’ the counter will
reset counting by the detection of the status by down counting (internal bit, see
above).
For all other entries of this screen refer to paragraph 7.5.2.7.1 Standard Set-Up
Pulse Input Channel, page 143.
Note: The Limit Type is not configurable and the reset channel is automatically set to
the current channel (not configurable), if the counter reaches the 'Highest Limit' the
counter will be reset and the counting continues.
Each alarm can activate up to 8 Group Alarms. Which will activate an LED indicator
on a Group Panel and it will activate the Horn Output of the corresponding Group
Panel. In the system we have a maximum of 256 Groups:
Table Enter the channel list:
CHANNEL:
Enter the channels. Enter a blank field to remove a channel; enter ‘0’ to create
a new field. When getting beyond the last displayed channel, all channels are
scrolled one upwards (the ‘<<<’ sign shows more channels are present).
When getting beyond the first displayed channel, all channels are scrolled one
downwards (the ‘>>>’ sign shows more channels are present). An out of
memory message is displayed when all channels are used.
BIAS:
Enter for each channel in the second field the bias, in engineering units, with
which the channel’s value is compensated before evaluating any average
alarm.
An Average Channel can be setup from channel number 37 and higher.
The low limit will inhibit alarming if the average temperature is lower then the low
limit.
The deviation at low limit will care that an alarm is set when the difference of between
the different channels is higher then the deviation at low limit.
With "High range" a different deviation can be used when the average is at this high
range. The deviation between the "low limit" and "high range" is calculated.
Example:
Eng Unit = DegC
Low Limit = 0
Deviation at Low Limit = 30
High Range = 500
Deviation at High Range = 20
Now if the average temperature is 250 degrees, the deviation may be
250 / (500-0) = 0.5 (temperature is 50% of High range-Low limit)
20 - 30 = 10 (deviation difference is 10)
10 * 0.5 = 5 (50% of 10 is 5)
20 + 5 = 25 (deviation at 250 DegC is 25 DegC)
The BIAS factor is added to the channel value before it is used in average
calculation. A negative BIAS factor can be used to subtract values.
A digital output channel (relay) can be driven by one of several selectable conditions.
When a digital output channel is selected the following appears on the screen, for
For all other entries of this screen refer to paragraph 7.5.2.9.1 Standard Set-up
Digital Output Channel, page 154.
Analog input channels can be redirected to analog output channels. When an analog
output channel is selected the following appears on the screen, for example:
For all other entries of this screen refer to paragraph 7.5.2.10.1 Analog Output
Standard Setup, page 157.
Virtual channels have the same functionality as real (hardware based) channels, but
lack any physical I/O. They can be used for calculated input values, intermediate
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 158 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
output results, alarming and logging purposes. The Sensor field determines where
the data is coming from.
When a virtual channel is selected the following appears on the screen, for example:
For the setup of a virtual channel refer to setup of the relevant channel type of
physical I/O channels.
Expanding the tree area on the specific board will give you for example the following
image:
For each board you can setup channels (hardware or virtual), conversion tables,
function block implementations, parameter layout and eventual parameters for stored
pulse counters.
Name:
Enter the user definable field to describe the username for this
table. This field is used for documentary reason only. This user
name will be used in the tree area.
Deleting a table:
Select the specific table in the tree area that should be deleted and
press the delete key on the keyboard.
User defined linearization tables (e.g. tank table) can be set-up for analog input
channel conversion. Up to 16 tables can be setup for each I/O board. Select the
desired Conversion Table from the Tree area or create a new table on an I/O board.
The following screen will appear:
Name: Enter the name of the table. This name will be used as indication in
references to this table and in the Tree Area.
Using Engineering Unit for X-Values:
If checkbox is checked, two additional fields will appear to setup the X-
Value low and the X-Value high in engineering units. These values are
used to 'clip' the input if desired.
X & Y Table:
In the 'X' column enter values between 0 and 1000.0 per mille; they span
the range of the input sensor. You must start from 0.0 (fixed!) and
conclude with 1000.0 (for the 16th -last possible- entry fixed!).
In the 'Y' column enter the corresponding value in engineering units. All
values within one table must be either pro- or regressive.
In this example half sensor scale evaluates to 250 and e.g. 98% sensor
scale to 540 (m3).
Note: The graphic area gives a preview of the defined curve. And is just for
indication.
Up to 16 groups of status texts can be defined for four types of channels each. A
status appears as the last field on e.g. Alarm Page and Demand Print. These
descriptions can be changed depending on the channel type. E.g.: ‘NORMAL-
ALARM!’, ‘OFF-ON’, ‘AUS-EIN’, ‘ARRET-MARCHE’, ‘FERMA-IN MAR’. For each
supported channel a selection can be made from the appropriate 16 user definable
possibilities.
To setup the status text, open the corresponding folder in the Tree Area:
Be aware that Status Texts are part of XP separated parts. Status Texts under tree-
item System Parameters (5.10) are only used for diagnostic channels.
The colors and text strings of row Nr 1 is fixed. For row 2 - 16 text of normal (Default)
and alarm (Active) status and of wire failure status can be changed. Colors can be
modified, but advisable is that the default colors will be used. Any not acknowledged
status appears in flashing red.
Text strings and color(s) of off (Default) and on (Active) status can be changed. Text
of wire failure can be changed. For row 1 the text strings and colors are fixed as
shown. Any not acknowledged wire failure status appears in flashing red. For the
wire failure status the color can be modified, but advisable is that the default color will
be used. (N.B.: wire failure applies to digital input channels only.)
Row Nr 1 is fixed. For row 2 - 16 text of normal (Default), lower (Low) and higher
(High) status and for sensor failure status can be changed. . Colors can be modified,
but advisable is that the default colors will be used. Any not acknowledged status
appears in flashing red.
Text and color of normal (Default), lower (Low) and higher (High) status can be
changed. Text for sensor failure can be changed. For the sensor failure status the
color can be modified, but advisable is that the default color will be used. Any not
acknowledged sensor failure appears in flashing red.
7.6 Diagnostics
For signaling system statuses diagnostics are there. Diagnostics can be placed at its
XP or at the system parameters.
With ‘Copy or Move Channel Range’ is possible to setup a lot diagnostics very
fast. Open ‘Copy Channel Range’ dialog, fill in From 00001, To 00002 / 00030.
Press Ok. Now copy is made from channel 00001 to a range of 00002 to
00030 where last parameter (like board number) is increased every time
For extensive description of other items on this form refer to paragraph 7.5.2.5.1
Standard Set-up Digital Input Channel, page 125.
Location of the “I/O Module diagnostics” is in the tree area under “Processor Position
table”, # “Advanced Features”. See the following image of the tree area:
By selecting one of the XP the setup area will show diagnostics of equipment that
can be connected to local processor:
Earth fault detection can be switched on by selecting it from the diagnostic list with a
configured virtual channel. The channel that is used to store the diagnostic must be
setup as a virtual remote data channel on one of the boards in the control processor.
7.7 Permissions
On the right of this figure is show how the signal protocol specified.
The system supports updating of the Marine PC Local Time zones (LTZ), system
clock will not be changed. The Master clock interface must be connected to the pulse
inputs of a control processor (6049, via 91.6.040.500). These pulse inputs should be
configured on channels 65 and 66 on the first board (LBB65 and LBB66) of the
control processor in question. Both channels should be setup as follows:
In this example the first processor on Link 3 is configured to load the first board. The
following switch should be checked to turn on master clock updating to windows
system clock:
To switch off the master clock interface the box must be unchecked, and the
processor (XP) must be reset (switched off and on).
To get a diagnostic if the master clock interface is not functional any diagnostic
channel can be setup as follows:
After download of this setup the Windows time zone will be updated according
master clock.
The first input is the pulse counting input. For changing time zone the interval time
between 2 pulses is 0.5 second. The second input commands to move time zone
forward or backward. See below table for examples:
Note: The system waits for 3 seconds after last pulse before updating time zone.
Inside text file is stored what all channel changes are. So it will always be possible to
track down what has changed and when that was done.
Example:
Check Boxes:
- Processor Number (output 2), use processor number instead first board number
- Skip not installed channels (output 1 + output 3), empty not installed channels
- Tag name (output 1+output 3) use tag name, will be placed before description
Text fields will be placed on the output. These texts could be changed, but changes
will not be stored and only be used on direct output.
A text file is generated where all items who are responsible for an extra bus load
(=data traffic between processors (among themselves)). It is recommended keeping
this bus load as low possible.
By pressing on ‘Split Main File into 4 New Files’, database is split into four new files.
These are name config01.mdb, config02.mdb, config03.mdb and config04.mdb.
This functionality is be used at configuration level where more one person are
configuring at the same setup.
Do not use this function when complete system (running IOServer) is on-
line.
Insert a board range of what an output is wanted. By pressing on ‘Print’ button a list
is generated where ‘Other Channel’ is used in that given board range. This feature is
normally used for configuring IEC-1131.
Insert several items for document database. Only available if the file ‘doc.mdb’ is
same path as config.mdb. This form shows project related information such as,
project number, vessel, owner, yard and built number.
Create Default Layout creates default sensor information, if you go to the fast
channel setup, see last columns.
To enable the Stores Pulse Counter you have to select the System Parameter Setup\
General Settings in the Tree Area:
General:
Select ‘Yes’ for automatic acknowledge of channels (for testing purpose only)
Check for Redundant I/O Server (for single server should be "off") and (for
main and backup server should be "on")
It’s possible to change diagnostic default texts, only for Alt. Language.
7.11.3 Clustering
To make groups (=clusters) with LOPs/LEDs panel and/or boards which to define
when horn output should be stopped in case of accept pressed.
*by going to a channel Analog Input/Analog Output or Pulse Input a new field is
shown ‘Unit Conversion’. Herewith is it possible to setup for that channel another
engineering unit for display.
By clicking on ‘Update From Channel Database’ all different engineering unit types
are displayed.
Example:
If you go analog input channel, dropdown list with all already used engineering unit
types is shown.
After this action is everywhere in channel setup where ‘degC’ is used, will be
changed into ‘DegC’.
7.11.6 Horns
Use EAS (cabin/mess) Groups which are setup at cabin or mess panel and also
setup at here, If on one place (cabin setup or horn setup) a group like that is
removed, it’s automatically removed from the other place too, (if checkbox is
checked)
Add/Sort/Delete Buttons to insert/delete groups which needed to be signaled
horn outputs
Channel
the channel number, can’t be changed
TagName
Enter any tag up to 10 characters. Tags must be unique.
Description
Enter any descriptive text up to 40 characters
Alt. Description
Enter any descriptive text up to 40 characters for support a secondary
language, if you like to use a another language you should fill in here your
description, especially when your language is not based on Roman
alphabet, so when using Chinese, Korean or Japanese Texts, please use
this field
Type
Type of the channel, Analog Input (fixed)
Source:
Choose a selection from the combo box to set-up this channel (see below),
Not Installed
Counter
Choose ‘Not Installed’ to set this channel as 'Not Used', the value of this
channel is undefined.
Report:
EMERGENCY
General emergency alarm. An alarm given in the case of an
emergency to all persons on board summoning passengers and
crew to assembly stations.
Fire alarm. An alarm to summon the crew in the case of fire.
Water ingress detection main alarm. An alarm given when the
water level reaches the main alarm level in cargo holds or other
spaces on bulk carriers or single hold cargo ships.
Those alerts giving warning of immediate personnel hazard,
including:
o Fire-extinguishing pre-discharge alarm. An alarm
warning of the imminent release of fire- extinguishing
medium into a space.
o Power-operated sliding watertight door closing alarm.
An alarm required by SOLAS regulation II-1/15.7.1.6,
Gas detection alarm. An alarm which indicates that gas has been
detected.
Power-operated watertight door fault alarms. Alarms which
indicate low level in hydraulic fluid reservoirs, low gas pressure or
loss of stored energy in hydraulic accumulators, and loss of
electrical power supply for power-operated sliding watertight
doors.
Navigation-related alarms as specified in the Revised Performance
Standards for Integrated Navigation Systems (INS) (resolution
MSC.252(83), appendix 5).
For special ships (e.g., high-speed craft), additional alerts may be
classified as alarms in addition to the ones defined above.
7.12.1 WARNING
Refer to chapter 10 Alert and Indicator Locations of IMO
Resolution A.1021(26); Adopted on 2 December 2009.
7.12.2 CAUTION
Refer to chapter 10 Alert and Indicator Locations of IMO
Resolution A.1021(26); Adopted on 2 December 2009.
STATUS
The Report Option 'STATUS ' signifies that the signal is not activating
an alarm message on the 'ALARM PAGE' and is not activating the
HORN output. But it will activate the posting of a status message line
on the printer if the input changes (The Print Status option is set to
'Both').
Note: If the Sensor Failure is used and the Sensor Failure is
activated, it will create an alarm message on the 'ALARM PAGE' and
it will post an alarm message line on the printer.
Groups:
Each alarm can activate up to 8 Group Alarms. Which will activate an LED
indicator on a Group Panel and it will activate the Horn Output of the
corresponding Group Panel. In the system we have a maximum of 256
Groups:
Print Status:
The Print Status option is only visible (and can be set-up) on certain
Report options. With Report Options: 'ALARM' and 'ALARM NO HORN'
the Print Status option is not visible.
Note: In that case alarm message lines are always sent to the printer.
The following selections are possible for status information:
With Report Option 'STATUS', you can select:
Select 'TO ACTIVE ONLY’ for posting a status message line on the printer
each time a status change from 'OFF' to 'ON' is detected for this channel.
Select 'BOTH’ for posting a status message line on the printer each time a
status change from 'OFF' to 'ON' or ‘ON’ to ‘OFF’ is detected for this
channel.
Select 'OFF' to disable printing of status changes for this channel.
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 185 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
Status Texts:
Select from 16 groups of texts shown in the window, to represent the
channel’s status. (Texts themselves can be modified from another menu).
Start Channel:
Enter a channel number, which start hour counter counting
Stop Channel:
Enter a channel number, which stop hour counter counting
On Status:
Dig/Both, information only
Display Format:
HH, HH:MM, HH:MM:SS, hours, minutes, seconds
Initial Value:
Button, a new dialog is shown, which enables to reset hour counter values:
Select the Plugin folder in the tree and click with the right pointing
device key or press the context menu key on the keyboard. Select
'Insert' from the context menu. The system will ask to select the type
of panel and the number (Panel type including number should be
unique), a new LOP or LED Panel will be created.
Deleting a LOP (Local Operator Panel) or LED (Light Emitting
Diode)Panel:
Select the specific LOP or LED Panel which should be deleted and
press the delete key on the keyboard.
Alarm Display [LOP panel (allow system accept / stop horn function)]
Via the I/O Server the following input signals are applied to the system:
The Reset/Watch OFF input will in active mode reset the patrol timer. The Reset-
Timer switches are momentary switches. The Watch-OFF switch is a key protected
switch on the entrance unit.
The Attended / Unattended input is activated via the watch entrance unit.
On the top of the screen the system displays if the engine room is attended or not. It
also gives an indication what engineer is 'On Duty' in case the engine room will be
unattended and the time when the 27-minute timer will be elapsed.
The system will provide the following outputs on the I/O Server Board:
The General Engineer Alarm output will be activated on the following conditions:
- If the 'On-Duty' engineer did not accept the alarm(s) in the ECR within a specified
time.
- If no reset timer button is pressed within time-out time.
- If the GEA input on the I/O Server was activated
The following picture gives an overview of the general settings of the Extension
Alarm System:
The EAS text setup is used to define the text strings on the top rows of the system
and for the strings send to the EAS page of the Local Operator Panel indicator(s)
If alternate language (See Jobs) is enabled, a second column is shown for the input
of the alternate language EAS Cabin descriptions.
Text used for the Status Indication Buttons (button color is yellow) and LOP
indicator(s):
ATTENDED
UNATTENDED
The positions for these two status indication buttons are the two most right
locations. If one of these buttons is pressed the system will show the `On duty`
(mimic) page.
The following screen gives you an overview of the alarm handling for General
Engineers Alarm, Deadman Alarm and how to configure the Attended State of the
ECR. The GEA is an alarm which will be activated if the (On Duty) engineer did not
acknowledge the engine room alarm within a predefined time. A Deadman Alarm is
initiated from a manned ECR. It occurs if the timer of the Patrol Alarm Unit (Timer
Unit) has expired, or if the engineer in the ECR presses the ‘GEA’ button on the
Patrol Alarm Unit.
The following parameter setup area determines the general EAS setup:
- Unattended: The GEA will only be activated in case the Engine Room is
unattended.
- Both: The GEA will be activated regardless if the Engine Room is
attended or unattended (Default).
Tag Name:
This is the text you can enter to indicate in the ‘TAG’ field on the Local Operator
Panel(s) and OWS Operator Work Station(s) if a GEA is activated. Maximum
number of characters is 10. Remind you if you change the text and you ask for
this entry in setup, it will indicate you the new string.
Current Accept:
This field can be set to the following values:
- NONE: No functionality assigned to the Acknowledgement of alarms on
the I/O server(s) in the ECR.
- ACK: The Acknowledgement of alarms in the ECR will acknowledge
the GEA.
- STOP HORN: The Stop Horn action in the ECR will acknowledge the GEA.
- BOTH: The Acknowledgement of alarms and/or Stop Horn action in the
ECR will acknowledge the GEA (Default).
Time –Out for accept of ER ALARM before General Engineers Alarm (GEA):
This is the time between the activation of an engine room alarm and the pressing
of the Accept button in the ECR. Default value is 180 seconds. Valid entries are
between 0 and 9999 seconds.
Description:
This is the text you can enter to indicate in the ‘Description’ field on the Local
Operator Panel(s) and OWS Operator Work Station(s) if a GEA is activated.
Maximum number of characters 40. Remind you if you change the text and you
ask for this entry in setup, it will indicate you the new string.
Alt. Description:
This is the text you can enter to indicate in the ‘Description’ field on the Local
Operator Panel(s) and OWS Operator Work Station(s) if a GEA is activated.
Maximum number of characters 40. Remind you if you change the text and you
ask for this entry in setup, it will indicate you the new string if the Alt Language is
Active.
- NONE – The ‘ECR Attended’ state will not be activated by pressing either the
Acknowledge button or the STOP HORN button in the ECR.
- ACK – By pressing the Acknowledge button in the ECR, the ‘ECR Attended’
state will be activated.
- STOP HORN – By pressing the STOP HORN button in the ECR, the ‘ECR
Attended’ state will be activated.
- BOTH – By pressing either the STOP HORN or the Acknowledge button in the
ECR, the ‘ECR Attended’ state will be activated (Default).
Prewarning (min):
This is the time between the activation of a Deadman alarm and the pressing of
the Accept button in the ECR. Default value is 27 min. Valid entries are between 1
and 60 minutes.
Time-Out (min):
This is the time between the activation of a Deadman alarm and the pressing of
the Accept button in the ECR. Default value is 30 min. Valid entries are between 1
and 60 minutes.
Description:
This is the text you can enter to indicate in the ‘Description’ field on the Local
Operator Panel(s) and OWS Operator Work Station(s) if a DEADM is activated.
Maximum number of characters 40. Remind you if you change the text and you
ask for this entry in setup, it will indicate you the new string.
Alt. Description:
This is the text you can enter to indicate in the ‘Description’ field on the Local
Operator Panel(s) and OWS Operator Work Station(s) if a DEADM is activated.
Maximum number of characters 40. Remind you if you change the text and you
ask for this entry in setup, it will indicate you the new string if the Alternate
Language is Active.
Within the general setting you can define the Cabin Page Layout. This layout will be
used for all cabin (type) panels on board of the ship. Selecting the Cabin setup folder
from the tree will give you the following setup area:
Indicator Settings
Description:
Descriptive text for the selected function. This text is transmitted to the
EAS page of the Local Operator Panel in case this panel is setup as
cabin unit.
Alt. Description:
Alt. Descriptive text for the selected function. This text is transmitted to
the EAS page of the Local Operator Panel in case this panel is setup as
cabin unit.
Function:
The indicator can be activated with the following alarm functions:
NONE No activation of this indicator.
Group xx The indicator will be activated as soon as one or
more channels in this group is(are) going into
the alarm state. The group number is specified
in the second column of the function.
GEA The indicator will be activated in case of a
General Engineer Alarm.
DEADMAN The indicator will be activated in case of a
Deadman Alarm.
GEA or DEADMAN The indicator will be activated in case of a
General Engineer Alarm or/and Deadman
alarm.
Mode:
The mode is a setting to indicate when the function will activate the
indicator. The following modes can be selected:
- ON DUTY The indicator will only be activated by the
selected function if the cabin unit is selected On
Duty.
- ATT The indicator will only be activated by the
selected function if the engine room is attended.
- UNATT The indicator will only be activated by the
selected function if the engine room is
unattended.
- BOTH The indicator will only be activated by the
selected function if the engine room is attended
or unattended.
Horn Settings:
Mode:
The mode is a setting to indicate when the function will activate the
horn. The following modes can be selected:
- OFF The horn will never be activated by the selected
function.
- ATT The horn will only be activated by the selected
function if the engine room is attended.
- UNATT The horn will only be activated by the selected
function if the engine room is unattended.
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 194 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
Within the general setting you can define the Mess room Page Layout. This layout
will be used for all mess room (type) panels on board of the ship. For setup of this
page, refer to the paragraph 7.13.2.3 Cabin Page Setup page 192.
Note: For setup of the mode of the indicator for the mess room page, the selection
'On Duty' is not available.
Once the LOP is inserted the setup area will give you the following settings:
This node number is the IP address number used for communication, and it must be
unique. No other LOP in the EAS link can have the same node number.
Once the LED Panel is inserted the setup area will give you the following settings:
Note: If the LED Panel is of the type with two LEDs, the first two indicator lines will be
used of the table. If the LED Panel is of the type with eight LEDs, the first eight
indicator lines will be used of the table.
Location Action
ECR / ER Select to go unattended (via EAS mimic)
ECR / ER Flashing lights on Watch entrance unit.
Bridge Audible warning and unattended text is flashing.
Bridge Accept or acknowledge button confirms to switch to unattended.
ECR / ER System unattended indication is shown on display.
Bridge System unattended indication is shown on display.
System is unattended.
This will set the system to go to unattended only when it is allowed from the Bridge.
On the Bridge a LOP or Workstation must be present to support this functionality.
The Workstation setting is explained in paragraph 7.1.2 "Permissions". The LOP
setting is set using PAL:
On the LOP:
Press "General",
if dimming appears, again press "General"
"General page" appears (see image below)
Select "Along side" page, the page appears
"1" and Enter sets "Along side",
"2" and Enter selects "Sailing"
The setting is saved in registry. When the system is started for the first time (without
the setting) it will be in "Sailing" mode.
On the Workstation:
Select EAS selection mimic (selpanel.ggg) (Watch Responsibility system)
Press "Along side" or "Sailing" buttons to switch the system in appropriate mode.
Alarm will not switch on the buzzer the bridge when the system is in along side
mode. The display will show alarm text flashing.
If this setting is active, the timer will automatically be switched on with an alarm from
the AMS.
The setting ‘Function’ in the PAL (EAS Deadman Setup) should automatically switch
to both in this case and is not selectable anymore.
The default setting is: No Automatic start of the Patrol Timer with an alarm.
The default will be not active as this is compatible with systems without this option.
Multiple engineers can be called. Each call will occupy one line in the LOP. The
layout for the EAS PAGE is as follows:
1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2
E A S P A G E E C R : A T T E N D E D 2 2 : 2 3
O N - D U T Y E N G I N E E R : C h i e f E n g i n e e r
B R I D G E C A L L S E N G I N E E R 1
B R I D G E C A L L S E N G I N E E R 2
B R I D G E G R O U P 1 A L A R M !
B R I D G E G R O U P 7 A L A R M !
E C R C A L L S C H I E F E N G I N E E R
In the PAL you will be able to add the following header line setting for each LOP
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 202 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
If you setup new LOP’s (or upgrade the existing software) the default will be for
CABIN, MESS and Group LOP’s this setting will be activated; for ALARM LOP’s this
setting will be de-activated).
Page Indication Space Engine Room State Space On-Duty Space Time with
(3 characters) (2 (8 characters) (1 Engineer (1 flashing semi
characters) character) (20 character) column for
characters) running indication
(5 characters)
ALM (for ALARM ER:ATT DUTY:First HH:MM
PAGE) (for ATTENDED) Engineer
EAS ER:UNATT
(for EAS PAGE) (for UN-ATTENDED)
CHN (for
CHANNEL
PAGE)
GRP (for
GROUP PAGE)
EAS Header Line examples for EAS, Menu, Alarm and Group pages:
1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2
E A S P A G E E C R : A T T E N D E D 2 2 : 2 3
O N - D U T Y E N G I N E E R : C h i e f E n g i n e e r
M E N U P A G E E C R : U N A T T E N D E D 2 2 : 2 3
O N - D U T Y E N G I N E E R : C h i e f E n g i n e e r
A L A R M P A G E E C R : A T T E N D E D 2 2 : 2 3
O N - D U T Y E N G I N E E R : C h i e f E n g i n e e r
G R O U P P A G E E C R : A T T E N D E D 2 2 : 2 3
O N - D U T Y E N G I N E E R : C h i e f E n g i n e e r
7.13.5 Language Packs for the EAS Panel and Alt Font Support
The EAS panel utilises language packs to properly display fonts. Currently there are
3 different language packs available.
For English and other languages that use the latin script, please use “lp-lcd-
english.bin”
The user has the choice of three types of reports. These are:
1. -IO List
After selecting the correct file paths of templates files and where to put generated
files, a report could be created. Press the "Start" button to do this.
If a system has a large configuration it can take a few minutes to create the
report. For your convenience a progress bar is added to the document
generator.
During time of generating the .xls file DO NOT OPEN EXCEL via explorer by
clicking another .xls file.
After creating the report exit Document Generator and go via a program like explorer
to generated file.
For English and other languages that write in Latin script use:
“lp-english.bin” for TFT panels.
“lp-lcd-english.bin” for EAS LCD panels.
In general, the support application should be used when the system is configured for
the first time and after every modification that occurs where descriptions are altered.
9.2.3 PAL1131G
PAL1131G checks against a chosen language pack in order to generate mimics. If
certain characters cannot be found, it will not be displayed on the generated mimic.
The configuration can still however be properly saved and generating a fresh
language pack afterwards will allow PAL1131G to properly display the desired texts.
9.3.1 Introduction
The “CJK EAS TFT Support Application” is used to generate language pack files that
will enable the following products to display Chinese, Japanese and Korean
characters:
The application will support all Chinese, Japanese or Korean glyphs up until UTF-8
range 0xFFFF with a maximum character list of 1000 unique characters due to
memory restrictions.
The application should also be run whenever descriptions in the configuration have
been altered or there seem to be absent characters within a TFT or EAS panel.
Absent characters can be determined within the TFT panel when “�” character is
displayed, or when a non-coherent character is displayed on the EAS panel. The
application should also be run after configuring 1131G in order to generate proper
mimics.
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 209 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
9.3.3
When the application is launched, ensure that the program is correctly pointed to the
System folder. The application should have already detected where the folder is
located. If a different folder needs to be used, clicking the “Browse…” button will
allow the application to be directed to the proper path.
There will be a section with two tabs, one labelled “EAS” and another “TFT”. Each
tab contains 4 buttons similarly labelled between tabs and containing a brief
description below it.
When generating a language pack, the application will create a folder in the
System\Setup directory. Depending on whether generating a language pack for the
EAS or TFT, the folders will be accordingly named “CJKEAS” and “CJKTFT”.
Successful generation of a language pack will also create in their respective folders
the following:
2.Binary file named “ExistingList.bin” storing Unicode values of the last generated
language pack.
3.If applicable another folder called “Excluded” containing a bitmap file will be
created should the character limit be exceeded.
If running this application for the first time, this is a good option to begin with. Both
options will generate a language pack regardless if the new language pack will
contain the same information as the previous one (if applicable).
The only exception is if there are no detectable characters to be created. If the
application can identify the I.P addresses of each panel, “Full Generation” will also
attempt to upload the according language pack files.
“Smart Generation” will check against the “ExistingList.bin” file to determine if a new
language pack needs to be created. It will then attempt to upload the language pack
to the according panels if panel I.P addresses can be determined.
“Upload only” will not attempt to generate a language pack. The application will only
search for and upload language packs to an appropriate panel.
Note: Language packs can also be uploaded to a panel by the “Updater” program.
9.3.4 Troubleshooting
If the application does not successfully generate a proper language pack, please
ensure the following:
1.If running this application for EAS support; language pack “lp-lcd-cjk.bin” should
be present within the Firmware folder.
2.If running this application for TFT Support; language pack “lp-cjk.bin” should be
present within the Firmware folder.
3.Microsoft TrueTypeFonts “SimSun” has to be installed on the working computer.
10 NETWORK CONFIGURATION
The MPC’s are equipped with two Ethernet connections ports and the software uses
TCP/IP for communication with static IP addresses. The first Ethernet port is
connected to the main network; the second board is connected to the backup
network. Rednetwork is the Windows application that manages the redundant
network. This application creates a third “communication” network by adding an extra
IP address to the main or backup network.
This communication network is used by the applications. For this reason we call the
IP addresses of the communication network communication IP’s. Under normal
conditions the communication IP is added to the main (primary) network. If there are
problems with the primary network, the redundant network application will switch the
communication IP to the backup (secondary) network.
The status of the networks is send to the IOServer to generate failure diagnostics. To
check the status of the main and backup network the application uses the static IPs
(configured in Windows).
Start the rednetwork.exe application in the “BIN” directory. If the application can not
find the registry settings the initialize dialog will be launched:
In the grid in the middle the ip addresses of each adapter is configured. Rednetwork
will check all IP addresses of the network interfaces until it finds these IP’s, and it will
add the communication IP to one of the networks. The other options are described
here:
If the application should startup automatically at log on check the checkbox “Auto
start” at the left bottom of dialog (4th from bottom).
Click on OK to save the settings and close initialization.
Starting this shortcut will show the dialog in the previous paragraph.
The IP of the main network adapter matches with the IP in the Primary IP column of
the rednetwork dialogs. The IP of the backup network adapter matches with the IP for
this computer in the Secondary IP column. RedNetwork.exe uses the IPs of the
adapters to determine which server or client this computer is.
Use a static (fixed) IP address with the “Use the following IP address” option.
If the computer has only 1 network interface it is possible to add both (main
and backup) IP addresses to this device via the “Advanced” option. In
Rednetwork this will appear as a redundant system.
The redundant network application can show a status information dialog. You can
call up this dialog in several ways. The first one is choosing “Redundant Network
Status” in the popup menu. The second possibility is double click with the left mouse
button on the Icon on the taskbar. The last possibility is typing “NWD” in the debug
window of the CamClient. These options show the status information dialog:
Redundant network supports a system management dialog, which you can use to
see at which computer a CAMClient or IOServer is running. The dialog also has a
general system shutdown feature to shut down the complete system. The system
management dialog is shown in the following picture:
The application logs several events in the Windows event log. These events you can
see in the “event viewer” application. The events are logged in the Application log.
Error Solution
ERR: The primary adapter in the registry is not found in the Initialize the network adapters again
computer
ERR: The secondary adapter in the registry is not found in the Initialize the network adapters again
computer
ERR: Number of adapters in registry not equal to number of A network adapter is added or removed. Initialize the network
adapters in computer adapters again
ERR: Adapters in registry are not equal to adapters in A network adapter is replaced by an other. Initialize the
computer network adapters again
ERR: The IP of the secondary adapter is different from IP in Change the IP in the windows TCP/IP settings or change the
the registry IP in the registry
ERR: The IP of the primary adapter is different from IP in the Change the IP in the windows TCP/IP settings or change the
registry IP in the registry
ERR: Adapter IPs not found in client server configuration in Change the IPs in the windows TCP/IP settings or change the
the registry. COULD NOT START ALGORITM IP in the registry
Problem Solution
The communication IP is disabled Start the System from the system management dialog or restart
rednetwork.exe. The disabling of the communication IP is done
at shutting down the system from the system management
dialog. If you don’t want this, initialize rednetwork and change
settings (see previous chapter)
The communication IP is not add to There are some reasons to do not add the
an adapter (Icon is gray) communication IP.
1. There are configuration errors. Check Configuration status
in the status dialog
2. There was an error during adding the communication IP,
because the IP already exist. Disable the network adapters
in the “Network and Dial-up connection” dialog of Windows
and enable them again. (Windows NT, restart the
computer). This problem occurs when you End the
rednetwork.exe process by the Windows task manager.
3. The communication IP is disabled by the general system
shutdown. You can check this on the status information
dialog. There will be a line “Com IP disabled”.
11 WORKSTATION CONFIGURATION
The settings from the Ctrl-A dialog are stored in the clientconfig.mdb database, and
in the registry. When Ctrl A (Client configuration) is pressed the following appears on
the screen:
After entering a correct name and password a dialog with tab pages appears which
are discussed here.
Double click the box in front of the group number if alarms from that group should be
visible.
11.1.2 Permissions
The permissions tab enables or disables different functionality such as the possibility
to reset the General engineer’s alarm, or the possibility to acknowledge an alarm.
With the option "Reset Unattended State with Acknowledge" it is possible to switch to
attended state when an alarm is acknowledged.
With the option "Accept unattended selection" it is possible to enable this workstation
to allow the ECR / ER to go unattended. This option is explained in paragraph 5.14.3.
xxx
Pressing Acknowledge will not put the system in attended state if no alarm is
present.
Stopping the Global Horn 1 will also stop the buzzers on the LOP.
11.1.3 Show
The tab page "Show" enables or disables visible options on the client workstation.
With channel tooltip checked a small window will appear when the mouse cursor
points at an alarm. In this window the channel number is visible.
The Download status window pops up at the left bottom of the screen whenever a
download is done.
The number of seconds to remember a page sets the time that is between two clicks
on the group or mimic buttons, and decides whether the first page or the next page is
shown. The first time the button is pressed, the first page is shown. If the button is
pressed again within the time limit, the second page is shown.
11.1.4 Printing
With the printing tab it is possible to enable printing from a client workstation.
The demand log groups can be enabled or disabled with the following tab page:
If the checkbox is marked, alarms in that group will be written to the demand log, and
to the demand log printer.
11.1.6 Clustering
A cluster is a group of client workstations, LED panels and LOP's that will stop their
horns when one of them is stopped.
11.1.7 Dimming
In the dimming tab page several settings can be changed to alter the dimming state
to your own preferences.
To switch back to daylight dimming (no dimming) double click on the logo at
the right top. To do this the tracker ball can be rolled up and to the right. This
can be done even when the display had been dimmed to a level where it
became unreadable.
11.1.8 Miscellaneous
In the miscellaneous tab the time synchronization with the server can be set-up. If the
option is checked the client workstation will have the same time as the server has. In
this way time differences between the systems can be ruled out.
The local horn sound can be adjusted by selecting a file with the preferred melody.
The "Use Operator Keyboard" option is switched on when using an operator
keyboard.
Update time zone on start-up is required for the CF (Compact Flash) MPC. This MPC
does not store the time zone changes in registry, and by enabling this option Error!
Reference source not found. will store this instead.
When time zone update is enabled it is important to know if the system starts up with
Daylight time saving or Standard. Set “Start TimeZ. ID” to Daylight Time when the
system has Summer time, and set it to Standard when the System starts in Winter
time. If this option is set wrong, it will cause the system to change the time by 1 hour
each time it starts up.
Conclusive:
Winter: Setup “Start TimeZ ID” to “Standard time”
In the miscellaneous tab the time synchronization with the server can be set-up. If the
option is checked the client workstation will have the same time as the server has. In
this way time differences between the systems can be ruled out.
The top buttons can be configured with the Ctrl-B key on the QWERTY keyboard.
The text on the button can be altered to show the meaning of the assigned
functionality. After pressing the Config button the following dialog will appear:
In this dialog several options can be assigned to the button. Pressing the top button
more then once, or using Page down will start the next function in the list.
Title: Engineering Guide Date: 8 May 2014
Rev.: 6.12
File: PTD_Mega-Guard_Engineering_Guide_Rev6.13 Page: 230 of 233
MEGA-GUARD Ship Automation Systems
Engineering Guide
To get this dialog Ctrl-M is pressed. The mimics on the left side are all the graphics
available on the system. The mimics at the right side are the mimics that can be
shown on the client workstation. Per mimic it is possible to "Allow Control" or not. If
control is allowed objects on the mimic can be selected so the status of that object
can be changed. For instance a valve can be opened or closed.
Key assignment (key macros) can be added or changes with the key assignment
dialog.
From the moment a key assignment is made the client workstation will carry out the
task assigned to that key. To assign a key the following must be done:
1. Select the correct 'Class' at left top of the dialog.
2. Select the desired function in the list box at the left.
3. Press the desired key edit box in middle, at the top of the dialog.
4. Press the assign button. Depending on the function extra parameter input will be
asked here.
5. Press OK.
From this moment on "S" will make the System Information dialog appear (Ctrl-S) will
also still work.
If keys that are used in the client workstation are used in the key assignment
dialog, then the assigned functionality will be executed, and the default
functionality will not be executed. For example: if Ctrl-B is assigned to switch to
another application, the Button assignment dialog will not appear anymore.
12 DOCUMENT INFORMATION
Naming Conventions:
Name of the Product Line: MEGA-GUARD SERIES
Product Name MEGA-GUARD
Operator Workstation: OWS
Operator Workstation: OWS
I/O Server: I/O-Server
Power Management System: PMS
Remote Control System: BMS
Electronic Governor: SPC
Extension Alarm System: EAS
Process Control Unit: PCU
DIN I/O Processor Board: XP
Pump Control Management: PCM
Company Information:
Company Name: Praxis Automation Technology B.V.
Company Department: Department
Company Address: Zijldijk 24A
Company Zipcode: 2352AB
Company City: Leiderdorp
Company Country: The Netherlands
Company Phone: [31] 71 5255353
Company Fax: [31] 71 5224947
Company E-Mail: E-Mail: info@praxis-automation.nl