HIMA Elop
HIMA Elop
HIMA Elop
ELOP II-NT
Resource type
Contents
II
Contents
4.1 Protocols..................................................................... 37
4.3 Redundancy................................................................ 38
III
Contents
6.4.1 OS Download......................................................................53
7 Online Test........................................................53
7.3.1 Meanings.............................................................................57
IV
Contents
V
Contents
11 H8-STA-3 ...........................................................77
11.3 GENERAL.................................................................... 78
VI
Contents
12 H8-UHR-3 ..........................................................81
12.3 GENERAL.................................................................... 82
12.4.1 Year......................................................................................83
12.4.3 Day.......................................................................................83
12.4.5 Hour.....................................................................................83
12.4.6 Minute..................................................................................83
VII
Contents
12.4.12 Year......................................................................................84
12.4.14 Day.......................................................................................84
12.4.15 Hour.....................................................................................84
12.4.16 Minute..................................................................................84
12.4.18 Millisecond..........................................................................85
13 HA-LIN-3 ...........................................................87
13.3 GENERAL.................................................................... 88
IX
Contents
14 HA-PID-3 ...........................................................95
14.3 GENERAL.................................................................... 97
X
Contents
XI
Contents
15 HA-PMU-3 .......................................................103
16 HA-RTE-3 ........................................................109
XII
Contents
XIII
Contents
17 HB-BLD-3........................................................119
XIV
Contents
18 HB-BLD-4........................................................125
19 HB-RTE-3 ........................................................131
XV
Contents
20 HK-AGM-3.......................................................137
XVI
Contents
21 HK-LGP-3........................................................141
XVII
Contents
21.4.8 No paper............................................................................144
XVIII
Contents
22 HK-MMT-3 .......................................................149
XIX
Contents
XX
Contents
23 HZ-DOS-3........................................................167
24 HZ-FAN-3 ........................................................171
XXI
Contents
26 Subracks.........................................................176
27 Modules ..........................................................178
XXII
Contents
XXIII
Contents
29.3.8 SYSTEM.Runversion........................................................190
29.3.9 SYSTEM.Codeversion......................................................191
XXIV
Contents
XXV
Creating a configuration Configuration
Configuration
1 Creating a configuration
Configurations are the highest-level structuring tools, and group together
the PESs (Programmable Electronic Systems) of a complete system or
subsystem. For each of these PESs they contain a resource that complies
with IEC 61131-3. A configuration can be visualized as a bus system to
which the PESs are connected. Configurations contain:
• Resources
• Global variables
• Libraries
• Structuring folders
• Connections
Previously defined buses are listed in this dialogue box. Columns in the
index display the main bus data in table form:
1
Configuration Creating a configuration
Command buttons
You can add new buses, edit and delete existing buses and open a dia-
logue box to compile and download the PES masters of all buses.
• ´Add´: Add a communication system
Give the bus a unique name and select the type of communication system
(only the ´HIPRO´ type is currently available). Confirm your choice with
´OK´ to open a dialogue box as described below under ´Edit´.
• Edit: Edit a bus configuration
Mark the bus you want to edit and click on ´Edit´. You will see a dia-
logue box in which you can enter comments about the bus, define
the bus stations and set up the bus communication parameters
(See “Editing HIBUS” on page 2.).
• Delete: Delete a bus configuration
Mark the bus you want to delete and click on ´Delete´. The bus will
be deleted without a confirm prompt.
• PES Masters: Compile and download PES masters
you will see a dialogue box listing all the defined PES masters for
compiling and downloading (See “PES Masters” on page 7.).
2
Creating a configuration Configuration
The ´Stations´ index lists previously defined bus stations. Columns in the
index display the main bus station data in table form:
• Name: Name of the bus station
• Type: Type of bus station
• BSN: Bus station number
• CU: Assigned central module of the PES master
1 left CU, 2 = right CU
• CM: Coprocessor module in which the PES master runs
1.3 = first to third CM according to the slot next to the CU
Command buttons
You can add new bus stations and edit or delete existing stations.
• Add: Add a bus station
You will see a dialogue box as described under ´Edit´.
• Edit: Edit a bus station
Mark the bus station you want to edit and click on ´Edit´. You will
see a dialogue box in which you can enter the name and type of the
bus station and any parameters. See “HIPRO Stations” on page 5.
3
Configuration Creating a configuration
You can set the baud rate, the number of stop bits and the parity of the
serial bus communication here. These parameters can then be accessed
when the serial interfaces of the bus stations are configured. Subsequent
changes to bus parameters will be automatically entered and can be made
centrally.
4
Creating a configuration Configuration
5
Configuration Creating a configuration
´ELOP Slave´ type bus stations. You can open a dialogue box to
select the project folder by clicking on the ´Search...´ command but-
ton:
Projects created with the ELOP firmware are usually stored in the
[Drive]:\HIMA\ELOP.DAT folder.
• PES master parameters: Parameters for ´PES master´ type bus
stations
• CU: Central module which the PES master is next to.
1 left CU, 2 = right CU
• CM: Coprocessor module containing the PES masters.
1.3 = first to third CM according to the slot next to the central mod-
ule
• Time master: Activate time master function
PES master can synchronize the time of all PESs connected to the
bus by periodically transmitting the time of the central module
assigned to it to all other bus stations. Here you can define whether
the created PES master will be a time master
• Redundant bus:
The PES master uses a reserve bus to handle data traffic if the nor-
mal bus fails
• Increase time delay (ms):
For communications over modem or satellite links this setting can
be increased to allow for the delay due to the carrier
• Increase time interval (ms):
For communications over modem or satellite links this setting can
be used to increase the interval between receiving the last trans-
mission and starting the next one
• Restricted holding time of settings on call failure:
Here you can define the response of the PES master if it cannot
export data from this controller because a call to a PES has failed.
This setting is only active when the HIPRO-N protocol is used (PES
master as data centre).
If this control box is highlighted, the values of the failed controller
are held by the PES master for all the other PESs in the data inter-
change for the preset time (in seconds). When the holding time
times out the values are written to FALSE or 0 if no new call to the
failed controller has been made in that time.
6
Creating a configuration Configuration
If the control box is not highlighted then values are frozen until a
new call is made.
Note:
If you want the target controllers to detect when values are frozen then this
must be included in the design, e.g. by transmitting a constantly changing
signal.
PES-Master
Command buttons
You can compile and download PES masters, update the data in the list
boxes and open a cross-reference window in which the variables transmit-
ted by the PES masters are documented.
• ´Execute´ under the ´Compile´ list box: Compile the PES masters
Highlight the PES master(s) you wish to compile and click on ´Exe-
cute´. The selected PES masters will be compiled. The error status
display opens and shows you how the compile routine is progress-
ing.
Error status display after running the PES master code generation
• ´Execute´ under the ´Download´ list box: Transfer the PES masters
to the coprocessor modules
Highlight the PES master(s) you wish to load and click on ´Exe-
cute´. You will see a dialogue box in which you can enter the PADT
7
Configuration Creating a configuration
communication parameters.
Select the name of the required PC master from the list box and define the
serial interface of the PC that will be used for transmitting data. Click on
´OK´ to transmit the selected PES masters. The error status display opens
and shows you how the PES master download is progressing.
When the download is complete you will see a dialogue box containing in-
formation about the status of the transfer.
• ´Update´: Update data in both lists
Action is possible when the code generator for a resource is run-
ning while the ´PES master´ dialogue box is open. Instead of quit-
ting the dialogue box and opening it again when the code generator
run is complete, you can call ´Update´.
• ´Cross-reference´: Output documentation of the data transmitted by
the PES masters.
8
Configuring the resource Configuration
CRF-Documentation
9
Configuration Configuring the resource
Once a resource type has been assigned the ´RT Assignment´ option in
the context menu of the resource changes to the option.
You can change an assigned resource type at any time:
Click on the resource with the right-hand mouse button and point the
mouse pointer to ´Hardware change <Resource Type>´ in the context
menu which now appears. Now click on the desired new resource type in
the following submenu, or start the ´RT assignment´ dialogue from the
´Search´ submenu option. You are prompted to confirm your choice be-
fore the action is executed:
When you confirm by clicking on ´Yes´ the error status display opens and
shows you how the hardware change is progressing.
10
Configuring the resource Configuration
When the conversion is complete you will see a dialogue box containing
information about the status of the resource type change.
11
Configuration Configuring the resource
To assign the program type, highlight the assignment target in the project
structure window, and the name will be immediately matched under the
´Program type´ input box. The program type will be instanced to the re-
source when you confirm with ´OK´.
Note:
IEC 61131-3 allows a resource to contain a number of program instances
that are run by zero or more tasks in the PES. This option is not available
with the current PESs of HIMA, i.e. only one program instance can be con-
tained.
You can assign another program instance to a resource at any time by de-
leting the program instance in the resource using its context menu, and
then repeating the steps described above.
12
Configuring the resource Configuration
The subracks are shown at the top of the dialogue box. A symbol on the
left indicates the subrack type, and on the right are the subrack slots. All
available modules and subracks are listed in the lower part of the dialogue
box and can be selected by index pages.
You can enter comments about the PES in the ´Name´ input box on the
first line next to the resource type, e.g. you can enter the name of the cab-
inet where the PES is installed. The subrack at the top symbolizes the cen-
tral unit. Wildcard symbols for 16 I/O subracks are shown under the central
unit for the H51 and H51q systems. The numbers beneath the wildcard de-
scribe the subrack addressing (e.g. 1-3: I/O bus/ cubicle 1, I/O subrack 3)
that must be set using the coding switch on the connecting module. The
numbers 1...21 under the module slots correspond to the physical ar-
rangement of the slots in the subrack. To use an I/O subrack, select a sub-
rack from the ´Subracks´ or ´Old subracks´ index page and drag it to a
subrack wildcard symbol with the ´Drag&Drop´ feature. You can enter a
commentary (e.g. a location code) about the selected subrack in the input
box beneath it.
Note:
The subrack address you assign here will also be used to display errors in
13
Configuration Configuring the resource
the central module display. To assist fault-finding you should use address-
es that correspond to the physical code number of the subrack in the cu-
bicle.
You can now select the modules you wish to use from the ´Modules´ or
´Old modules´ index page and use Drag&Drop to move them to a module
slot in the subrack. Module information can also be entered in the com-
mentary box.
If you drag a module to an assigned slot, the data of the original module
will be accepted (if possible). In this way you can change the type of a pre-
viously placed module without having to enter new data.
Context menu
You can open a context menu for the corresponding object above a com-
mentary box, a positioned subrack or a positioned module.
Context menu
Editing modules
Double clicking on a central module, a coprocessor module or an I/O mod-
ule, or selecting the ´Edit´ option from the context menu of the module
opens a module-specific dialogue box for you to configure the module´s
parameters.
CU properties, CM properties
A dialogue box opens for central or coprocessor modules for you to con-
figure the communication parameters of the module´s two serial interfac-
es.
14
Configuring the resource Configuration
There are three modes of parameter selection for configuring a serial in-
terface:
15
Configuration Configuring the resource
• Manual:
Set up all the parameters yourself (baud rate, stop bits, parity)
• By bus configuration:
´Enter parameters from bus´ selection box is activated. When you
select a bus from the list, the system will enter the parameters of
that bus, and any subsequent changes to the bus configuration will
then be entered automatically.
• Hardware presetting:
Serial interface is not configured by ELOP II, and the parameters
set by switch S1 on the central module are used instead.
A special communication protocol for the interfaces of the central module
can also be selected using the small control box in the ´SIO reservation´
box:
• 3964R communication:
Reserved interface communicates as a slave system with protocol
3964R.
• Lcl printer:
Printer for logic plan controlled logging (Lcl) is connected to this
interface. This is only available for central module interface 2.
Note:
In a redundant central unit the left and right hand halves of the unit can be
regarded as a single logic system so they have the same parameters. It is
therefore irrelevant whether the parameters on the left hand CU/CMs or
right hand CU/CMs are configured.
Editing the tag name
Each I/O module consists of inputs and/or outputs to which you can assign
symbolic names (tag names). As soon as you have assigned tag names
to the I/O modules, variables of the program instance can be assigned to
those tag names. In this way you can define I/O addresses for the vari-
ables
There are two basic methods for assigning addresses:
First define the I/O modules of the PES, then create the logic func-
tionality
• Edit the cabinet
• Define the I/O modules to be used
• Create tag names for the I/O channels
• Create the program type
• Instance the program type to the resource
• Edit the program instance
• Assign the defined tag names to the variables of the program
instance
First create the logic functionality of the PES, then define the I/O
modules
• Create the program type
• Instance the program type to the resource
• Edit the cubicle
• Define the I/O modules to be used
• Define tag names for the I/O channels and assign the defined vari-
16
Configuring the resource Configuration
This dialogue box contains the individual I/O channels of the module and
the tag names which have already been assigned. Details of the subrack
and module are listed above the index. Columns in the index display the
main data of the I/O channels of the module in table form:
• No.: Channel number of the I/O module
• Type: I/O type of the channel
´Input´ or ´Output´
• Data type: The data type of the channel
´Digital´ for assigning single-bit variables (variables of the BOOL
data type), ´Analog´ for assigning multiple-bit variables (variables of
the WORD, INT or UINT data type)
• Name: tag name of the channel
• Variable: assigned variable of the program instance of the resource
• Comment: A commentary on the tag name or long name of the
assigned variable
• Ext. comment: any additional commentary
Editing tag names
Double clicking on a module channel opens a dialogue box in which you
can edit the tag data:
17
Configuration Configuring the resource
You can give a module channel an tag name, a commentary and an addi-
tional commentary, and assign the I/O channel a variable from the pro-
gram instance of the resource.
• Name: Enter an tag name
Quick method:
• In the previous dialogue box ´Edit tag name´, highlight the channel
number you wish to edit.
• Click in the ´Name´ column of the module channel.
• Enter the tag name in the text box.
• Press ENTER.
Note:
If you use identical symbolic identifiers for the tag names and for the vari-
ables of the program instance, then tag names and variables can be as-
signed automatically.
• Commentary: Your comments about the tag name
• Extra commentary: additional comments on the tag name
Quick method:
• In the previous dialogue box ´Edit tag name´, highlight the channel
number you wish to edit.
• Click in the ´Extra comment´ column of the module channel.
• Enter your extra comments in the text box.
• Press ENTER.
• Assign variable:
If a program type is instanced in the resource, then the variables of
this program instance can be accessed. Assigning a variable to an
tag name defines the I/O address of that variable.
• Click on the ´Assign variable´ control box.
• Double click on a variable name in the list box.
• The variable name will appear in the ´Assigned variable´ box, and
the ´Comment´ box displays the long name of the variable.
18
Configuring the resource Configuration
• Click on command button ´<<´ if you want to use the variable name
as the tag name.
This tab is used to define the response of the PES to I/O faults.
• Noise blanking (cycles):
The comprehensive tests of all components detect any deviation
from the specification. The operating system tolerates transient
faults with its integrated noise blanking feature. In addition, this
input box defines the number of cycles for which I/O faults will be
tolerated. The value 0 activates integrated noise blanking.
Note:
The system limits the number of noise blanking cycles to (safety time/
watchdog time)-2.
Example 1 2 3
19
Configuration Configuring the resource
On this tab you can define the response of a redundant PES in the event
of failure by a central unit (not for H41q and H51q systems). Depending
on the required level of safety and/or availability you can specify the re-
dundancy loss mode by one of four different parameters:
• Emergency stop
Emergency stop trips (general system shutdown) immediately
when central unit fails.
• Timer limit
One central unit fails, the other central unit runs on for the time in
minutes specified in the ´Max. time in single channel operation´
box. When the timer times out a general PES shutdown is per-
formed. If the faulty module is replaced by a functional module in
the remaining time, then redundant mode is resumed and there is
no further time restriction.
20
Configuring the resource Configuration
2.2.2.3 Safety
This tab is used to define safety-critical parameters and to specify the per-
mitted actions with the PADT during safety-related operation of the PES.
Note:
The assignments that are possible during safety-related operation are not
rigidly bound by any particular class of requirements but they must be
agreed with the approving authority responsible for each use of the PES.
• ´Parameters change online´:
The changes to the safety parameters specified on this tab are dis-
abled if the control box is deactivated.
• Safety time (s) (H41/H51only):
Self-tests of a PES are divided into foreground and background
21
Configuration Configuring the resource
22
Configuring the resource Configuration
You can use this tab to define how you communicate with the PADT to the
controllers. To do this, select the bus, the name of the PC master and the
serial interface of the PC which you wish to use. If you use a telephone
modem you can configure additional communication parameters for trig-
gering the modem.
• Bus:
Select a previously defined bus for your communication. See “Prop-
erties: Buses” of the configuration
• PADT (PC master):
With which PC master you want to access the selected bus.
• PC interface:
Select the communication interface by which the PC is connected
to the bus
Note:
If using an interface converter e.g. H7505 please note that ELOP II-NT is
not switching the DTR Signal for control of the conversion direction as a
standard. An RS485 interface is recommended.
• Activate telephone modem:
The PC master is connected to the selected bus via a modem, then
highlight this control box. The DTR signal will then be switched first
when operation starts.
• Time delay (ms):
Communicating via a telephone modem this time can be increased
to allow for the delay in response by the bus stations caused by the
modem.
23
Configuration Configuring the resource
24
Configuring the resource Configuration
The dialogue is divided in two parts: you enter the texts and wildcards for
the page header in the top half, and the bottom half displays a print pre-
view. The following wildcards can be used:
• %CR: word wrapping (carriage return)
• %DATE: current date in format YY-MM-DD
• %PAGE: current page number of the printout
25
Configuration Configuring the resource
Next you see the properties for the PES A1, A1dig, H11, H41, H51. The
options for the safety related codegeneration and revision check are not
available. The option ´RWP in RAM´ is deleted, since there is no other op-
tion in these systems.
Instead it is necessary to configure a memory area for reload data, since
there is only a restricted area available. The default of 1024 bytes is a
good compromise between program size and sufficient space for online
changes.
Resource properties window, ´Code generator´ tab for systems A1, H11, H41/H51 family
26
Configuring the resource Configuration
2.2.2.8 HIPRO-S
The HIPRO-S protocol is used for safety-related communication between
two or more PESs. The controllers communicate across the configured
communication system.
For each resource it must be configured with which other resources safety
related data exchange is performed. The variables for the data exchange
are configured in the variables declaration editor of the program instance
(See “Safety-related data transfer: HIPRO-S” on page 38.)
27
Configuration Configuring the resource
Here you can enter the basic addresses for BUSCOM, e.g. for READ and
WRITE of Variables by a MODBUS master:
• Export
Here are the basic addresses starting from which a MODBUS mas-
ter can export variables of the PES with function code 1 (digital
(bool)) or 3 (analog (word)).
• Import
Here are the basic addresses starting from which a MODBUS mas-
ter can import variables of the PES with function codes 5 and 15
(digital (bool)) or 6 and 16 (analog (word)).
• Export/Import
Some control systems are unusual in that they immediately re-
export the variables that they import. They only change the function
code without changing the basic address, so a separate memory
area must be reserved for write/read accesses of this type.
Note
For H41q/H51q systems the valid address range for BUSCOM is 0 to 2048
and 4096 to 8192.
28
Resource-related functions in the Editor Configuration
The data blocks and data words required for communication via the 3964R
protocol can be entered here.
29
Configuration Resource-related functions in the Editor
To access the dialogue shown above, call the context menu of a variable
used in the logic and then select the ´Properties´ option.
You will see different system variables in the selection window depending
on the type of variable you have clicked on (BOOL or UINT). The system
information is available after you click on ´Assign hardware´ and select a
system variable.
30
Resource-related functions in the Editor Configuration
All necessary data of the variables that are needed for the HIMA commu-
nication protocol (time stamp) is created for the variable when you select
the ´Event-driven option.
31
Configuration Resource-related functions in the Editor
In this tab you can define by which PES master the variables should be
transferred non safety-related.
The data of the resource just edited can either be imported from a PES
master (´Import from PES master´) or exported to several other PES mas-
ter (´Export to PES master´).
Note:
You can only specify one PES master for ´Import from PES master´ be-
cause only a single master can access the variables for importing, where-
as with ´Export to PES master´ several masters can be specified as
32
Resource-related functions in the Editor Configuration
In this tab you can define two PESs between which data will be transferred
safety-related. All resources on the HIPRO-S from which data can be im-
ported or to which data can be exported are displayed under ´Available re-
sources´.
Note:
You can only specify one resource for ´Import from resource´ because the
currently edited resource may only take data directly from another (point-
to-point connection), whereas several resources can be specified for ´Ex-
port to resources´ because the currently edited resource may send its data
to several resources.
33
Configuration Resource-related functions in the Editor
In the BUSCOM communication tab you can define whether a variable will
be exported, imported or im- and exported by the master. Selecting one of
these points activates the option of defining a relative address.
Note:
If you do not use the option of defining relative addresses manually, then
all BUSCOM variables will be sorted in alphanumeric order and addressed
sequentially.
34
Resource-related functions in the Editor Configuration
Manual settings for the 3964R protocol can be made here similar to the
configuration of BUSCOM variables.
35
Configuration Resource-related functions in the Editor
36
Communication between HIMA PESs Communication
Communication
4.1 Protocols
Data transfer between HIMA PESs can be both safety-related and non-
safety related.
37
Communication Communication between HIMA PESs
4.3 Redundancy
The HIBUS can be connected redundantly to the PESs and the PES mas-
ter. Only one free interface is required for this in the PESs; the redundant
bus connection of the PES master must be configured in the bus configu-
ration accordingly.
The PES master performs a continuous connection check on both buses.
If there is no connection to a PES on the main bus (the bus that is connect-
ed to the first interface of the PES master), then communication with that
PES is routed via the reserve bus (the bus on the second interface of the
PES master).
The same name must be used in the bus configuration for redundant PES
masters. Full redundancy is achieved when two PES masters are used in
different PESs.
Properties resource
In this tab you can add, edit or delete a resource. Up to 64 resources can
be specified in PES H41q/H51q. This number is limited to 6 in PES H41/
H51.
38
Communication between HIMA PESs Communication
Add resource
• ´Resource´
The resources contained in the bus configuration are available here
in a selection list.
• ´PES master´
Here enter the PES master that will control data traffic to this
resource. All the PES masters contained in the bus configuration
are available in a selection list.
• ´Monitoring time´
If no data are written from the resource inside this time, then they
are reset.
Now activate the settings with the ´OK´ button. System variables will now
be automatically generated for each resource.
For each resource, the data to be transmitted is configured within the pro-
gram instance in the variables declaration.
39
Communication Communication between HIMA PESs
Note:
For each imported variable there must be precisely one variable that is ex-
ported. With safety-related data interchange this creates a 1:1 relation-
ship, for non-safety related data interchange the relationship is 1:n, as an
exported variable can be imported into several resources because the
PES master acts as the data centre.
40
Communication between HIMA PESs Communication
41
Communication Communication between HIMA PESs
Properties resource
Next you have to select the n-file of the ELOP project. You find this file in
the ELOP project directory:
[drive]:\HIMA\ELOP.DAT\[PROJECT NAME]\[PROJECT NAME].N
42
Communicating with external systems Communication
The variables configured in ELOP will then be imported. The HIPRO con-
figuration is added automatically. The binary variables in ELOP are con-
figured as data type BOOL and the digital variables are configured as data
type UINT.
After loading the PES master the safety related data transfer is starting.
43
Communication Communicating with external systems
Properties resource
44
Communicating with external systems Communication
HW assignment, BUSCOM
45
Communication Communicating with external systems
Properties resource
The variables and their relative addresses are configured in the variables
declaration.
46
Communicating with external systems Communication
HW Assignment
47
Communication Communicating with external systems
48
Generating the program code (compiling) Program Code
Program Code
49
Program Code Generating the program code (compiling)
All the defined PES masters are listed in the ´Compile´ list box. The PES
masters which still have to be compiled are highlighted in grey.
The ´Download´ list box contains all the PES masters that have already
been compiled. The grey highlighted PES masters are the ones which are
not currently loaded in the coprocessor module.
You can now compile and download the PES masters, update the data in
the list boxes and open a cross-reference window showing the variables
transferred by the PES masters.
• ´Execute´ under the Compile list box:
Codes generated for the selected PES masters.
• ´Execute´ under the Download list box:
Selected PES masters are loaded. A dialogue window opens to
allow you to specify the communication parameters of the PADT.
Communication parameter
Here you select the PES master you want from a list box and define the
PC interface you wish to use for data transfer.
50
Generating the program code (compiling) Program Code
Control panel
51
Program Code Generating the program code (compiling)
Button Meaning
6.4 Download/Reload
Click on the ´Download/Reload´ button to open a window in which you can
select which central module will be loaded in which mode.
Download/Reload
52
Online Test Program Code
6.4.1 OS Download
You can update the operating system in PES H41q/H51q with this menu
option. You will need an updated operating system file to do this.
7 Online Test
53
Program Code Online Test
Online test
54
Online Test Program Code
Button Meaning
55
Program Code Online Test
Online test
Select the program (green symbol) or the desired block (yellow symbol for
a function block, blue symbol for a function) with the mouse, then double-
click on the symbol.
56
Online Test Program Code
7.3.1 Meanings
The status of a BOOL type variable is indicated by the color of the inter-
connecting lines.
Blue means FALSE and red means TRUE.
The status of a variable can also be displayed in an OLT box that can be
generated. An OLT box is always needed to display values (all data types
except BOOL).
You can generate OLT boxes at any node or directly on a variable. Posi-
tion your mouse pointer on the desired node or variable and call the con-
text menu by clicking the right-hand mouse button once.
Now select ´Generate OLT box´ with the left-hand mouse button. Drag the
OLT box to the desired position and click the left-hand mouse button. The
OLT box is now ready to display the value or status.
The right display is generated by pressing ALT and left mouse button.
57
Program Code Online Test
OLT field
58
Online Test Program Code
Control Panel
The Force graphic shows all variables that are combined with an I&C
name. The Force graphic consists of the following columns: tag name,
data type, Force switch, Force value, variables and I&C position.
You can toggle the Force switch between FALSE and TRUE simply by
double clicking with the mouse.
The digital (Boolean) force values can be changed in the same way. Dou-
ble click on an analog (word) force value to change it, then confirm with
59
Program Code Online Test
Enter.
Force image
Button Meaning
60
Online Test Program Code
Button Meaning
61
Program Code Online Test
62
Documentation in the configuration Documentation
Documentation
63
Documentation Documentation in the configuration
Column Meaning
64
Documentation in the configuration Documentation
Column Meaning
65
Documentation Documentation in the configuration
Button Meaning
66
Documentation in the configuration Documentation
CRF Docu
CRF Docu is an online documentation that gives you information about the
inputs and outputs. It comprises 11 columns. The table below contains fur-
ther information:
Column Meaning
67
Documentation Documentation in the configuration
RES Docu
68
Documentation in the configuration Documentation
• Rack
the documentation of the rack contains the cabinet number, the
subrack number, the position of the used subracks and modules,
the short names and names.
• Module
the documentation of the module contains all subrack, modules and
channels.
• Parameters (system parameters)
the documentation of parameters contains all settings of the system
parameters
• BUSCOM
the documentation of BUSCOM contains all variables which are
transferred via a bus system, currently MODBUS and the
addresses.
• 3964R
the documentation of 3964R contains all variables which are trans-
ferred via a bus system with the protocol 3964 R and the
addresses.
• HIPRO-N/-S
the documentation of HIPRO contains all variables which are trans-
ferred via HIPRO with the concerning PES master
• Lcl
the documentation of Lcl contains all variables which are printed via
Lcl with the text for status TRUE and FALSE.
• CRF (tag name, position, variable name, I/O type, data type, com-
mentary, extra commentary, Lcl, HIPRO, BUSCOM, 3964R)
You can perform the following actions in RES Docu:
Button Meaning
RES Docu displays your current project status. This may well be different
from RES Docu (generated) or RES Docu (loaded).
69
Documentation Documentation in the configuration
70
Safety related functions Safety aspects
Safety aspects
User specification
C-Code
C-code
(old)
GNU C-
Compiler
C-Code
comparator
Target code
PES comparator
H41q/H51q
71
Safety aspects Safety related functions
9.1.3 Download
For the download it is important that you select the bus configuration which
matches the real bus connection. By this a download to the wrong PES is
avoided, due to the bus station number.
72
Safety related functions Safety aspects
73
Safety aspects Safety related functions
All POU’s are listed and the POE designed by the user are clearly marked.
In ´changed´ you will find the modifications per POU (C: code has been
modified; D: Data has been modified, e.g. modification of variables). Mod-
ifications are also shown for variables, global variables, external variables,
constant variables and variables with IO assignment are listed in separate
tabs. To display all variables please select ´Expand all´ in the context
menu.
9.2.3 Download
For the download it is important that you select the bus configuration which
matches the real bus connection. By this a download to the wrong PES is
avoided, due to the bus station number.
74
HIMA Standard Blocks Blocks
Blocks
Please refer to the following block data sheets for further particulars.
75
Blocks HIMA Standard Blocks
76
H8-STA-3 (9832)
11H8-STA-3
Grouping of safety relevant output modules
Input Type
Bus No. BT Pos. UINT
Bus No. BT Pos. group amp. UINT
Bus No. BT Pos. group amp. UINT
Outputs
Trigger group rel. BOOL
Trigger red. group rel. BOOL
Function information Short information
Block information General block information
General Description of block function
table 11: Input and output specification
11.3 GENERAL
The block is used to configure grouping within the safety-oriented / high-
availability PES types H41, H51, H41q/ H51q.
11.3.1.3 Operation
In systems with group amplifiers, when the system is activated the group
amplifier channels are triggered first and then the logic signals of the safe-
ty-relevant output amplifiers are turned off 0.3 s later (in the next cycle).
If a safety-relevant output amplifier fails, the associated group amplifiers
are reset, and this resets all the modules in the group.
For modules with integrated safety shutdown, the system resets the asso-
78
H8-STA-3 (9832)
Please refer to the Safety Manual for possible applications of the group
shutdown and its implementation.
79
H8-STA-3 (9832)
80
H8-UHR-3 (9832)
12H8-UHR-3
Date, time
Inputs Type
Year UINT
Month UINT
Day UINT
Enter date BOOL
Hour UINT
Minute UINT
Second UINT
Enter time BOOL
Minute pulse BOOL
Hour pulse BOOL
Day pulse BOOL
Year UINT
Month UINT
Day UINT
Hour UINT
Minute UINT
Second UINT
table 13: Input and Ouput specification
Millisecond UINT
Minute pulse BOOL
Hour pulse BOOL
Day pulse BOOL
Function information Short information about the block
Block information General block information
General Description of block function
table 13: Input and Ouput specification
12.3 GENERAL
The block is used to externally set or change the date and time of the PES.
The date and time can therefore be set as boolean variables.
It is also possible to synchronise the time for event recording for external
systems.
The block’s outputs carry the current date and time and the minute, hour
and day pulses.
82
H8-UHR-3 (9832)
12.4.1 Year
Type: UINT
This input must be assigned if a date input is assigned.
Value of the year number to be read in (2-digit). Range 0...99
12.4.2 Month
Type: UINT
This input must be assigned if a date input is assigned.
Value of the month number to be read in. Range: 1...12
12.4.3 Day
Type: UINT
This input must be assigned if a date input is assigned.
Value of the day number to be read in. Range: 1...31
12.4.5 Hour
Type: UINT
This input must be assigned if a time input is assigned.
Hour value to be read in. Range: 0...23
12.4.6 Minute
Type: UINT
This input must be assigned if a time input is assigned.
Minute value to be read in. Range: 0...59
12.4.7 Second
Type: UINT
This input must be assigned if a time input is assigned.
Second value to be read in. Range: 0...59
83
H8-UHR-3 (9832)
12.4.12 Year
Type: UINT
Current year of the controller as a 2-digit number (0...99).
12.4.13 Month
Type: UINT
Current month of the controller as a 2-digit number (1...12).
12.4.14 Day
Type: UINT
Current day of the controller as a 2-digit number (1...31).
12.4.15 Hour
Type: UINT
Current hour of the controller as a 2-digit number (0...23).
12.4.16 Minute
Type: UINT
Current minute of the controller as a 2-digit number (0...59).
12.4.17 Second
Type: UINT
Current second of the controller as a 2-digit number (0...59)
84
H8-UHR-3 (9832)
12.4.18 Millisecond
Type: UINT
Current millisecond of the controller as a 3-digit number (0...999).
85
H8-UHR-3 (9832)
86
HA-LIN-3 (9832)
13HA-LIN-3
Evaluation of temperature measurement
Inputs Type
Measurement 1...4 UINT
Faulty measurement 1...4 BOOL
Lower range limit in deci °C UINT
Lower limit sign/type of sensor UINT
Range in deci °C UINT
Lower range limit, digital (bool) UINT
Upper range limit, digital (bool) UINT
Lowest permitted analog value UINT
Highest permitted analog value UINT
(overflow)
Ref. temp./line resistor UINT
Output
Measurement 1...4 (0...1000) UINT
Measurement 1...4 in decidegrees UINT
Sign, measurement 1...4 BOOL
Faulty measurement 1...4 BOOL
Function information Short information
table 15: Input and output specification
13.3 GENERAL
The HA-LIN-3 block is used to convert voltages of thermocouples or resis-
tance values of resistance thermometers (PT 100) to the equivalent tem-
perature in deci-degrees Celsius, within a user-defined range. Values are
converted on the basis of the tables in the following standards:
Universal applications
The block can be used for all A/D converters of the HIMA PES that are pro-
88
HA-LIN-3 (9832)
vided for Pt100 elements and thermocouples. The user can define the
conversion range by means of two fixed points according to plant require-
ments. A series logic will be required for processing negative input values
(see application example).
Type: UINT
Measurements 1...4 as analog values. Input values are processed as
signless integers. If the value contains a sign, it must be processed by a
series logic (see programming notes).
Type: BOOL
An appropriate signal at these inputs marks the measurement as valid or
invalid.
TRUE Measurement invalid (fault)
FALSE Measurement valid (no fault)
The 2nd to 5th digit of the value to be entered indicates the type of mea-
surement sensor:
0001 Platinum resistance thermometer (Pt100)
DIN IEC 751, 12.90
-200 °C ... +850 °C (+18.49 Ω... +390.26 Ω)
89
HA-LIN-3 (9832)
6% Rhodium
Code letter to DIN IEC 584, 1.84: B
+40 °C ... +1820 °C (0 µV ... +13814 µV)
Example:
90
HA-LIN-3 (9832)
91
HA-LIN-3 (9832)
Example:
Thermocouple Type J
Reference temperature 0°C : -210°C ... 1200°C
Reference temperature 25°C : -160°C ... 1200°C
210°C = -8096 µV
25°C = 1277 µV
Lower limit: -8096 µV + 1277 µV = -6819 µV = -160°C
TRUE positive
FALSE negative
In the event of a fault, the affected output for the sign is written to FALSE.
92
HA-LIN-3 (9832)
93
HA-LIN-3 (9832)
94
HA-PID-3 (9832)
14HA-PID-3
PID Controllers
Inputs Type
Controlled variable UINT
Reference variable UINT
PID structure (PID=111;PD=101) UINT
P gain in % (k) UINT
I reset time in ds (TN) UINT
D rate time in ds (TV) UINT
sampling period in ds (TA) UINT
Enter k, TN, TV, TA BOOL
Processing pulse BOOL
Parameter (0, 1, 2, 3) BYTE
Manual setpoint correcting varia- UINT
ble
TRUE=Manual (PID=0) BOOL
TRUE=Manual compensating BOOL
Min. correcting deviation UINT
Max. correcting variable UINT
Max. correcting deviation UINT
table 17: Input and output specification
Outputs
Correcting variable UINT
Position display UINT
Correcting deviation sign BOOL
Correcting deviation value UINT
System deviation sign BOOL
System deviation value UINT
P component sign BOOL
P component value UINT
I component sign BOOL
I component value UINT
D component sign BOOL
D component value UINT
Max. correcting variable achieved BOOL
Max. correcting deviation achie- BOOL
ved
Function information Short information
Block information General block information
General Description of block function
table 17: Input and output specification
96
HA-PID-3 (9832)
14.3 GENERAL
The block contains a digital (boolean) controller that can be operated in
the P, I, D, PI, PD and PID modes by setting the appropriate parameters.
Options are provided for parameter changes for the P, I and D compo-
nents and for switching from Auto to Manual mode.
Controller algorithm
Y = Yo + (k * en) + k * TA / TN * (e1 + ... + en) + k * TV / TN * (en - en-1)
Y = Yo + P component + I component + D component
The calculation error is less than 0.4 %
97
HA-PID-3 (9832)
The input therefore makes it possible to change the structure of the con-
troller. Entering the value ‘zero’ at a position causes the corresponding
structure component to be turned off.
Only the above values may be created.
14.4.4 P gain in %
Type: UINT
Gain P corresponds with k in the control algorithm. The value is given as
a percentage of k = 1.
If this input is not assigned, k = 1 is set in the algorithm for the I and D com-
ponents.
The upper saturation limit may not be greater than 65535, and the lower
not less than 65535.
98
HA-PID-3 (9832)
Vue Yo Y Ya
0 Yw Yn Yn
1 Yw Ym - Yn Yn
2 Ym - Yw Ym - Yn Ym - Yn
3 Ym - Yw Yn Ym - Yn
table 19: Calculating the controlling variable
Ya Position display
Yw Correcting variable: Value
Yn Correcting variable computed internally according to
the algorithm
This input may only be assigned values 0, 1, 2, 3.
99
HA-PID-3 (9832)
100
HA-PID-3 (9832)
101
HA-PID-3 (9832)
102
HA-PMU-3 (9832)
15HA-PMU-3
Conversion of values of analog (word) I/O modules
Inputs Type
Input value 1...8 UINT
1=4...20; 0=0...20 mA BYTE
1=analog value; 0=per mil value BYTE
8=8 bit; 12=12 bit analog value UINT
Damping (0=none; 1=damping) BYTE
Outputs
Output value 1...8 UINT
Error 1...8 BOOL
Function information Short information
Block information General block information
General Description of block function
table 20: Input and output specification
15.3 GENERAL
This block converts digitised analog values (0, 768...4095) of analog
(word) input modules to per mil values (0..1066, 1083). The conversion is
from 0...4095 (see Value table 1) or 768...4095 (see Value table 2) de-
pending on the defined input range.
The block also converts per mil values to digitised analog values for ana-
log output modules. Depending on the defined output range the conver-
sion is to 0...4095 with 12 bit resolution, 0...255 with 8 bit resolution or
768...4095 with 12 bit resolution, 51...255 with 8 bit resolution..
104
HA-PMU-3 (9832)
105
HA-PMU-3 (9832)
The function of the block is determined by the block’s last 4 inputs and is
valid for all 8 input values.
If this input carries a value that is not 8 or 12, all output values are as-
signed 0 and the error outputs are set (TRUE).
106
HA-PMU-3 (9832)
107
HA-PMU-3 (9832)
If the block is configured differently from the options listed above, then all
error outputs carry TRUE.
If an error output carries TRUE, then the corresponding output carries the
value 0.
108
HA-RTE-3 (9832)
16HA-RTE-3
Watchdog for analog (word) testable input modules
Inputs Type
Bus No. Rack Pos. (e.g. 1305) UINT
Bus No. Rack Pos. red. module UINT
Assigned channels BYTE
Permitted difference red. values in UINT
per mil
0=no Damping; 1=Damping BYTE
Permitted time difference red. UINT
inputs in ds
Module test switch MOS_A
Red. module test switch MOS_A
Max. test time min UINT
Test 4 channels with 1 switch BYTE
(1,0)
0=available, 1=safe reaction BYTE
Output in event of error UINT
1=4...20 mA, 0=0...20 mA BYTE
0=conversion to per mil, 1=no BYTE
conversion
table 25: Input and output specification
110
HA-RTE-3 (9832)
Assigned channels
16.3 GENERAL
Monitoring of analog (word) testable input modules
This block is used to process values and to evaluate and display errors in
the analog (word) testable input modules F6213 and F6214 during single-
channel or redundant operation of these modules. Value processing in-
cludes converting the input values of the module into per mil values. The
block can be used for one single or two redundant F6213 or F6214 mod-
ules. Integrating input value smoothing is carried out within the accuracy
range of the modules.
If the position of another module is given here, then the output values are
set to 0 and code 2 is output as a error code at the module error code BG
output.
111
HA-RTE-3 (9832)
If the position of another module is given here, then the output value is set
to 0 and code 2 is output as the error code at output Error code red. mod-
ule. Here again, the assignment must be checked for correctness on com-
missioning.
If the input is not assigned, the value 0 is output as the error code of mod-
ule 2.
If the input is not assigned, a value of 15 (0F H) is the default. (Input ac-
cording to IEC 1131-3: 16#0F or 2#00001111)
112
HA-RTE-3 (9832)
Value input 1: When a service bypass switch is operated all four chan-
nels are tested together.
Value input 0: If one of the four service bypass switches is operated,
only the corresponding channel is tested.
Operating status 0 1
1-channel Normal AW AW
Test LG LG
Error WF WF
table 27: Error response
113
HA-RTE-3 (9832)
2-channel Normal AW AW
Channel 1 under test RW RW
Channels 1 and 2 under test LG WB
Channel 1 under test and error in 1 RW RW
Channel 1 under test and error in 2 LG WF
Error in channel 1 RW WF/
RW*
Error in channels 1 and 2 WF WF
table 27: Error response
RW with BS V7.0-7
Key to abbreviations:
AW Current value
RW Current value of redundant channel
LG Last value (held), only valid for the permitted test time
WF Value in event of error, according to configuration of out-
put in event of error
WB Value as for module error, according to configuration of
output in event of error
114
HA-RTE-3 (9832)
The simultaneous entry of four digits defines the response for each chan-
nel separately.
Example: 5 0 1 8
Configuration 8 for channel 4
Configuration 1 for channel 3
Configuration 0 for channel 2
Configuration 5 for channel 1
If the number entry is not valid (more than four digits or prohibited values)
the value outputs are set to 0 and the error outputs are set to TRUE; the
error code outputs display error code 99.
115
HA-RTE-3 (9832)
16.4.19 Error
Type: BOOL
The output carries TRUE, when an error code >0 is present at one of the
116
HA-RTE-3 (9832)
Code Description
0 No error
1 Component error
2 Invalid module position
4 Test time of the module is exceeded
n1 Difference between the redundant channels of two modules
is more than permitted
n2 Input value at channel n is 4095, no output when ëOutput in
event of errorí input is assigned 3 or 8
n3 Value at channel n less than permitted
n4 Test time of channel n exceeded
n5 Channel error
99 Invalid number entry at Output in event of error input
table 31: Error codes
117
HA-RTE-3 (9832)
118
HB-BLD-3 (9832)
17HB-BLD-3
Testable module, line diagnostic, mono operation
Inputs Type
Bus No. Rack Pos. (e.g. 1305) UINT
Mode channel 1...8 UINT
Max. time inrush current in ms UINT
Outputs
Error channel 1...8 BOOL
Pulse on error BOOL
Error BOOL
Error code UINT
Function information Short information
Block information General block information
General Description of block function
table 32: Input and output specification
Error detection for the function of the module, open circuit and short circuit.
Time setting for open circuit detection, tolerancing the current limiter
17.3 GENERAL
This block is used to evaluate and display errors for the digital (boolean)
testable output modules F3323, F3331 and F3334. It may only be used
once per module. Error detection is provided for the module function and
for open circuit and short circuit in the output circuits.
The block must be programmed precisely once for each F3323, F3331
and F3334 module when channel errors are processed depending on the
MODE. The module must not be used on several blocks (HB-BLD-3, HB-
BLD-4). This block is not required for pure error detection because faults
are also displayed at the central module and by the system variables.
The Max. time inrush current in ms input can be used to configure the
time for tolerancing the current limiter for the module. This is essential
when high lamp loads are switched with module F3334.
120
HB-BLD-3 (9832)
imal number here, depending on the position of the board in the program
section CABINET:
Example:
Cabinet (1-2): 1
Subrack (1-8): 3
Board position(1-16): 5
Position 1305
If the position of another module is entered here, then all 8 error outputs
are set to TRUE and the error code output displays error code 2.
The user must verify the validity of the position himself when commission-
ing; if error code 2 appears the position is not correct.
With the 4-channel output module F3334 the inputs for channels 5...8
must be kept free or be assigned 0.
A time setting is essential when high lamp loads are switched, and is used
to suppress the error display during switch-on.
Extending the delay also increases the cycle time, especially during mode
121
HB-BLD-3 (9832)
17.4.6 Error
Type: BOOL
The output carries TRUE when the error code at the Error Code output is
not equal to 0.
Code Meaning
0 No error
1 Component error (faulty module)
TRUE is output at all error channels. The component fault can
only be cleared by ACK or restart. If the board is pulled during
operation then an error (TRUE) is reported for all error chan-
nels assigned mode 1 until the component fault is detected.
The component fault is detected immediately when the out-
puts of the module are triggered, otherwise detection is
delayed slightly by test routines.
2 Invalid position at Bus No. Rack Pos. input. All error outputs
are set to TRUE. The error display of the actual controller is
unaffected, i.e. the diagnostic display does not show any error
for the module belonging to this block. Because the error is a
programming error, it can only be cleared by modifying the
user program and recompiling (code generator) and loading.
3 Module dead through group shutdown. The module is de-
energised following a group shutdown. It is not necessarily
faulty however. Output is FALSE at all error channels.
n1 Input value of the mode input of Channel n is > 2. Example:
Error code 51 shows that an invalid mode has been entered
for channel 5 at the block input.
table 34: Error codes
122
HB-BLD-3 (9832)
If there is more than one error, the error code of the error which occurred
last is always displayed.
If several errors occur simultaneously for error codes n1, n2 and n3, the
channel with the highest number is displayed. When this error is cleared,
the next highest faulty channel appears. Outgoing channel errors (open
circuit only) are detected and cleared automatically. Shorts and compo-
nent faults must be acknowledged.
A short circuit is safely detected for short circuit currents greater than 1.5
A. In rare cases it is possible for an open circuit to be reported first. The
line error is correctly reported.
The response range for an open circuit is 0.5...9.5 mA.
123
HB-BLD-3 (9832)
124
HB-BLD-4 (9832)
18HB-BLD-4
Testable module, line diagnosis, redundant operation
Inputs Type
Bus No. Rack Pos. (e.g. 1305) UINT
Mode channel 1...8 UINT
Max. time inrush current in ms UINT
module
Max. time inrush current in ms UINT
red. module
Outputs
Error channel 1...8 BOOL
Pulse on error BOOL
Error BOOL
Error code module UINT
Error code red. module UINT
Function information Short information
Block information General block information
General Description of block function
table 35: Input and output specification
Error detection for the function of the module, open circuit and short circuit.
Time setting for open circuit detection, tolerancing the current limiter
18.3 GENERAL
This block is used to evaluate and display errors for the digital (boolean)
testable output modules F3323, F3331 and F3334 with redundant use. It
may only be used once per module. Error detection is provided for the
module function and for open circuit and short circuit in the output circuits,
with the short being displayed only.
The block must be programmed precisely once for each F3323, F3331
and F3334 module when channel errors are processed depending on the
MODE. The module must not be used on several blocks (HB-BLD-3, HB-
BLD-4). This block is not required for pure error detection because faults
are also displayed at the central module and by the system variables.
Input Max. time inrush current in ms module and Max. time inrush
current in ms red. module can be used to configure the time for toleranc-
ing the current limit for the modules. This is essential when high lamp
loads are switched with module F 3334.
126
HB-BLD-4 (9832)
Note:
A short circuit is safely detected for short circuit currents greater than 1.5
A. In rare cases it is possible for an open circuit to be reported first. The
line error is correctly reported.
The response range for an open circuit is 0.5...9.5 mA.
If the position of another module is entered here, then all 8 error outputs
are set to TRUE and the error code output displays error code 2. The user
must verify the validity of the position himself when commissioning; if error
code 2 appears the position is not correct.
127
HB-BLD-4 (9832)
With the 4-channel output module F 3334 the inputs for channels 5...8
must be kept free or be assigned 0.
Extending the delay also increases the cycle time, especially during mode
changeover. To keep the cycle time as short as possible, measures
should be implemented to ensure that only one mode changeover takes
place in a cycle.
128
HB-BLD-4 (9832)
Module faulty means that the module is dead following a group shutdown,
or that there is a component fault or a short circuit.
18.4.7 Error
Type: BOOL
The output carries TRUE when the error code at one of the Error Code
outputs is not equal to 0.
Code Meaning
0 No error
1 Component error (faulty module)
TRUE is output at all error channels (see error output table)
when both modules are faulty. The component fault can only
be cleared by ACK or restart. A component fault is detected
immediately when the outputs of the module are triggered,
otherwise detection is delayed slightly by test routines.
2 Invalid position for one or both modules. All error outputs are
set to TRUE. The error display of the actual controller is unaf-
fected, i.e. the diagnostic display does not show any error for
the module belonging to this block. Because the error is a pro-
gramming error, it can only be cleared by modifying the user
program and recompiling and loading.
3 Module dead through group shutdown. The module is de-
energised following a group shutdown. It is not necessarily
faulty however. If both modules are dead following a group
shutdown, then FALSE is output at all error channels (see
error output table).
n1 Input value of the mode input of Channel n is > 2. Example:
Error code 51 shows that an invalid mode has been entered
for channel 5 at the block input.
n2 Channel error (open circuit) in Channel n. Example: Error
code 62 means open circuit in the output circuit of channel 6.
n3 Channel error (short circuit) in Channel n. Example: Error
code 13 means a short in the output circuit of channel 1.
table 38: Error Codes
129
HB-BLD-4 (9832)
If there is more than one error, the error code of the error which occurred
last is always displayed.
If several errors occur simultaneously for error codes n1, n2 and n3, the
channel with the highest number is displayed. When this error is cleared,
the next error with the highest channel appears. Outgoing channel errors
(open circuit only) are detected and cleared automatically. Shorts and
components faults must be acknowledged.
130
HB-RTE-3 (9832)
19HB-RTE-3
Watchdog for digital testable input modules
Inputs Type
Bus No. Rack Pos. (e.g. 1305) UINT
Bus No. Rack Pos. red module UINT
Assigned channels BYTE
1=1of2; 2=2of2 shutdown BYTE
Permitted error time in min UINT
Permitted time difference red. UINT
inputs in ds
Outputs
Output 1...8 BOOL
Channel error mask WORD
Error code change, pulse BOOL
Error BOOL
Error code module UINT
Error code red. module UINT
Function information Short information
Block information General block information
General Description of block function
table 39: Input and Ouput specification
19.3 GENERAL
Monitoring of digital (boolean) testable input modules
The block is used to evaluate and display errors in the digital (boolean)
testable input modules F3235, F3237 and F3238 during single-channel or
redundant operation.
The block can be used for one single or two redundant modules F3235,
F3237 or F3238. It may only be used once per module. Combining mod-
ules is not permitted.
132
HB-RTE-3 (9832)
If the position of another module is given here, then the output values are
set to 0 and code 2 is output as a error code at the module error code out-
put.
If the Bus No. Rack Pos. red. module input is not assigned and no errors
are present within the module and input circuits, then the input signals of
channels 1...8 of the module are passed to the corresponding block out-
puts.
The type of shutdown (1of2 or 2of2) must also be configured and the per-
mitted time difference must be defined for redundant operation.
If the input is not assigned, the value 0 is output at the Error code red.
module output.
If it is not assigned the value 0 is used, i.e. the block always sends FALSE
to the outputs whatever the input signals.
133
HB-RTE-3 (9832)
If no errors of the input modules and input circuits are present, the input
signals of channels 1...8 of the modules are sent ANDed to the corre-
sponding outputs of the block.
If no errors of the input modules and input circuits are present, the input
signals of channels 1...8 of the modules are sent ORed to the correspond-
ing outputs of the block.
If an error occurs in one channel the input signal of the other channel is
passed to the block output.
134
HB-RTE-3 (9832)
‘Bit set’ means channel error. If there is no redundant module, bits 8...15
= 0. This means that only values between 0 and 255 are possible with sin-
gle-channel operation.
A channel error is only displayed for the input channels that are also pro-
cessed by the block. Errors are defined with the Assigned channels in-
put. The 8x channel error and component error are exceptions; bit 0...7 is
set for the 1st module (value = 16#00 FF = 255) and bit 8...15 is set for
the 2nd (redundant) module (value = 16#FF 00 = 65280) irrespective of
the Assigned channels input. Remember that the value at the block out-
put is always a combination of all errors.
19.4.10 Error
Type: BOOL
The output carries TRUE when an error code > 0 is present at one of the
two error code outputs.
135
HB-RTE-3 (9832)
Code Meaning
0 No error
1 Component error
2 Invalid input name at Bus No. BT Pos. input
n1 Difference between the two channels n (1...8) of two redun-
dant modules; is only output for both channels when no
other error is present
n2 Line short in input circuit channel n (1...8)
n3 Open circuit in input circuit channel n (1...8)
table 42: Error codes
If some channels are not used and line faults occur in all other channels
simultaneously, then error code 1 (component fault) is output. This also
happens when line faults occur simultaneously in each eight used chan-
nels.
Error codes are reset after the fault is cleared and acknowledged. Error
code n1 is an exception to this rule - it is only output when no other error
is present and is reset when cleared but without acknowledgment.
The error code of the error that occurred last is output. If this has been
cleared and acknowledged and other faults are still present, then the sys-
tem displays the error with the highest channel number.
136
HK-AGM-3 (9832)
20HK-AGM-3
PES Master Watchdog
Inputs Type
Central module (1,2) BYTE
Coprocessor module (1, 2, 3) BYTE
0=no func. 1=DC 2=safety-ori. BYTE
3=DC+safety-ori.
Outputs
Current function coprocessor UINT
module
Error in coprocessor module BOOL
Function counter UINT
Bus cycle time in ms UINT
Error mask bus 1, BTN 1-16 WORD
Bus 1, BTN 17-31 WORD
Error mask red. bus, BTN 1-16 WORD
Red. bus, BTN 17-31 WORD
Function information Short information
Block information General block information
General Description of block function
table 43: Input and output specification
Monitoring connections between the PES master and the PESs on the HI-
BUS (normal bus) and reserve bus
20.3 GENERAL
Block HK-AGM-3 is used to monitor the operation and configuration of a
coprocessor module (F 8621) in PESs of the type H51, H51q. The block
can monitor 2 coprocessor modules and can be called several times in the
user program.
The block outputs the current function of the coprocessor module. If this
deviates from the block’s configured function, an error output is set.
It also displays the current connections of the PES master to the slaves for
the HIBUS (normal bus) and the reserve bus.
138
HK-AGM-3 (9832)
If a connection between the coprocessor module and the HIBUS fails, the
output holds its last value. If the coprocessor module fails, the output is set
to 0.
139
HK-AGM-3 (9832)
If a connection between the coprocessor module and the HIBUS fails, the
output holds its last value.
The corresponding bit of the status mask carries FALSE if the PES master
has a connection to the PES with the corresponding bus station number
via the HIBUS, or no slave with this bus station number has been config-
ured in the bus configuration. If there is no connection via the HIBUS, then
the corresponding bit of the status mask carries TRUE. If the coprocessor
module has no master project or has failed, the value set to 0.
140
HK-LGP-3 (9832)
21HK-LGP-3
Configuring LgP
Inputs Type
Stop event printout BOOL
False=LGP; TRUE=MODBUS BOOL
Output emergency message texts BYTE
(1,0)
Response to day change (0, 1, 2) UINT
Outputs
Printer error BOOL
Printer offline BOOL
Printer buffer overflow BOOL
No paper BOOL
Printer cover open BOOL
Printer conn. lost BOOL
Event in buffer BOOL
Buffer overflow BOOL
Printout active BOOL
Message counter UINT
Function information Short information
table 45: Input and output specification
21.3 GENERAL
Block HK-LGP-3 is used to evaluate and configure logic plan controlled re-
porting in the H11, A1, H41, H51, H41q and H51q systems. Printer feed-
back is evaluated by means of this block.
It also enables the printer where several PESs are accessing a common
printer. PESs are coupled to the printer by the interface converter H 7505.
Planning guidelines
Logic plan controlled reporting is carried out on SIO channel 2 of the cen-
tral module (A1,H41, H51, H41q, H51q) or interface 2 (plug connector 1
pins) with the H11. The interface is always occupied by the LgP.
In the resource type the variables must be assigned the attribute LgP (HW
assignment) and the appropriate printer text.
142
HK-LGP-3 (9832)
Suitable printers and printer settings are given in the printer data sheets.
A redundant connection of the printer with HIMA PES H41, H51, H41q and
H51q with 2 central modules is possible.
The event number is the sequence number of the event. See the event list
of ELOP II.
143
HK-LGP-3 (9832)
If the input is not assigned or is assigned a value > 2, then the statements
re value 0 apply.
21.4.8 No paper
Type: BOOL
This output carries TRUE when no paper is present. FALSE means paper
is present.
This signal can be used to enable the printer when a number of controllers
use a common printer.
144
HK-LGP-3 (9832)
145
HK-LGP-3 (9832)
Block LGP_W
The EVENT signals must be transmitted from the slave systems to the
master system. The STOPP1 and 2 signals must be transmitted from the
master system to the individual slave systems. Transmission can be via
146
HK-LGP-3 (9832)
HIPRO or via input and output modules. Block HK-LGP-3 must be used
in each PES and assigned the appropriate signals.
e.g. PES 1:
147
HK-LGP-3 (9832)
148
HK-MMT-3 (9832)
22HK-MMT-3
MODBUS Master
Inputs Type
Central module interface UINT
Telephone number PHONE_A
Enable, TRUE BOOL
Slave number (target bus stn.) UINT
Modbus function code UINT
Relative address 1st.var. master UINT
No. 1st event master UINT
Number var. (BOOL) UINT
Relative address 1st var. slave UINT
Modbus function code UINT
Relative address 1st var. master UINT
Number var. (UINT) UINT
Relative address 1st var. slave UINT
Max. slave answer time in ms UINT
Outputs
Establishment delay in s UINT
table 47: Input and output specification
150
HK-MMT-3 (9832)
22.3 GENERAL
This block allows an H11, H41 or H51 PES to be used as a MODBUS mas-
ter. MODBUS masters can send data to MODBUS slaves or request data
from MODBUS slaves independently.
The MODBUS master function is implemented for both interfaces of the
central module. If the master function is not active, the corresponding in-
terface is available as a MODBUS slave, i.e. master and slave functions
are possible on the same interface.
Only one MODBUS master can be active on any one bus. However with
the use of suitable logic it is possible to switch between several MODBUS
masters on the bus.
With appropriate configuration the block can also be used for automatic
connection (call) establishment with a suitable telephone modem. The
block is not suitable for safety-oriented data transfers; safety-oriented
HIPRO communication is provided for this purpose.
Block functions
The block is designed for the serial interfaces of the central module. Un-
less you intend to use standard interface parameters (9600 bps or 57600
bps depending on the setting of DIP switches S1-8 on the central module),
you can configure the interfaces with the SIO parameter setup window,
and the settings will then be valid for all MODBUS master blocks that use
that interface. One boolean and one unsigned integer MODBUS master
transmission can be configured and initiated per block. It is executed when
the block is enabled (see the Enable, TRUE input).
If both the boolean and the unsigned integer task are configured on a
block, the boolean task is executed first, followed by the unsigned integer
task. The block can be called more than once in the program for other
send/request tasks. If all the used blocks are enabled, the tasks will be ex-
ecuted in the order of the block calls.
151
HK-MMT-3 (9832)
NOTE
The system only supports modems with AT syntax. The block uses a sub-
set of the AT command set:
For a detailed description of the function codes and the protocol please re-
fer to the Gould MODBUS Reference Manual.
The MODBUS master can import variable types BOOL and UINT from a
slave controler; in the PES which holds the master the attribute ’BUSCOM
Import’ must be assigned to the variables. It can also export these variable
types to a slave controler; in the PES which holds the master the attribute
’BUSCOM Export’ must be assigned to the variables.
With HIMA slave systems the variables exported to the master must have
the attribute ’BUSCOM Export’ and variables imported from the master
must have the attribute ’BUSCOM Import’.
You will find the corresponding addresses for individual variables with
HIMA in the MODBUS lists in the ELOP II-NT software package. They can
be printed out (generated) with the Res-Docu resource documentation.
152
HK-MMT-3 (9832)
Please refer to the ‘Functions of the Operating System’ manual for the ad-
dresses with connections to earlier H41, H51 systems (pre-version 6.0-6).
153
HK-MMT-3 (9832)
154
HK-MMT-3 (9832)
Special cases:
Function code 5: Precisely one value is processed whatever the number
entered here.
Caution: Number = 0 causes an error code.
Function code 3: because an event with a time stamp consists of several
bytes, the number must be calculated (see Application).
The address of the variable in the master system. See MODBUS list of
ELOP II. The list is printed out (generated) with the Res-Docu resource
documentation.
where:
TA = answer time in ms
TÜ = transfer time according to table
ZZM = cycle time of master in ms
156
HK-MMT-3 (9832)
Entered values over 60 000 are limited to 60 000. If both tasks (BOOL and
UINT) of the block are used, the longer answer time must be entered if ap-
plicable.
157
HK-MMT-3 (9832)
0= no error
1= incorrect interface (only 1 or 2 possible)
2= incorrect slave number (number >255)
3= incorrect dialing response (value >2)
21= incorrect function code with UINT task
22= incorrect number or incorrect relative address in the ma-
ster with UINT task
23= incorrect relative address, address in safety-oriented
range with UINT task
24= incorrect diagnostic code with MODBUS Code 8
25= unexpected answer from slave with UINT task.
22.4.22 No connection
Type: BOOL
The output carries TRUE when a master transmission has not been an-
swered or has been incorrectly answered after the third request. If there is
no connection between master and slave, the output carries TRUE after
three times the time specified at the Max. slave answer time in ms input.
The output also carries TRUE after an existing call is cleared according to
the dialing response configured at the Type of call establishment (0, 1,
2) input.
Irrespective of the dialing response (see Type of call establishment (0,
1, 2) input) the call is cleared after the third incorrect answer in succession.
The output is reset after the next correct task execution. The cause of the
error may be a faulty or cleared link between the two modems or a fault in
the connection between modem and slave.
158
HK-MMT-3 (9832)
22.5 Applications
See also ‘ATD Command’ in the Modem Manual for the use of special
characters.
159
HK-MMT-3 (9832)
Events are digital (boolean) signal changes with a time stamp. They can
be exported by the MODBUS master from slave PESs (HIMA).
In the PES events are stored in an event buffer. By reading with function
code 1 or 3 starting from certain <->relative addresses, the status of the
events or events with time stamp can be exported from the slave.
The relative addresses to be used can be taken from the ‘Functions of the
Operating Systems’ manual or from MODBUS list ELOP II. The list is print-
ed out (generated) with the Res-Docu resource documentation.
The following application assumes a slave of a PES H41 or H51 with H41/
H51 V6.0-6 as the operating system. The task is to export events with a
time stamp from this PES.
160
HK-MMT-3 (9832)
In the master the individual variables are assigned the attribute “event-
driven” out of the properties during hardware assignment.
Logic:
To allow new events to be exported from the slave, the master must inter-
rogate with varying addresses. If the master always interrogated the same
address, the slave would interpret this as if the previous events had not
been received and the old events would be repeated.
Interrogation with varying addresses must be programmed with a small
pre-logic. The following logic makes use of the fact that the task counter
on the block increments following the correct execution of the task. This
ensures that the address is only changed when the previous events have
been received, thus allowing new events to be fetched.
161
HK-MMT-3 (9832)
Notes:
• 1. Exporting alternately from addresses 3072 and 3073 is sufficient
for new events to be read, as implemented in the above logic.
• 2. An event consists of a total of 8 bytes (address + signal change +
time information). Because a UINT variable has two bytes, four
variables are required per event.
• In the example above, the number given is the maximum number
for events (124 = 31 events) per transmission; this is a function of
the maximum message length of 256 bytes in the MODBUS report.
A smaller number can be exported if there are fewer events; this
makes the messages shorter and saves on transfer time. This
should be tried out by tests in individual cases.
• 4. Variable values in the report text are added with their current
value at the time when the event is entered in the master PES.
Variable values from the slaves are not transferred automatically, if
necessary they should be transferred in advance by the MODBUS
to the master.
• Transferring additional gates is not possible.½hlung2
A Modbus master block must be provided for each slave, also the logic for
the address changeover.
The event number of the boolean variables that corresponds to the 1st
event in the slave must be entered in the master at the Event No. 1 event
in the master input.
162
HK-MMT-3 (9832)
The bus cycle time and response time can be calculated approximately
using the following information (assuming a trouble-free transfer!).
If the master is continuously processing all tasks (the ENABLE [FRE-
IGABE] input is always TRUE), then the average cycle time is the time
needed to process all tasks once. The response time indicates how much
time is needed until inputs of one system (master or slave) become effec-
tive as outputs in the other system.
The new transfer time should be calculated first with Table 3. The transfer
time is the net transmission time needed for the master’s transmission and
the slave’s answer. The two most common baud rates, 9600 bps and 57
600bps, are used, the factors given (1.15 and 0.19) relate to 11 bits per
transmitted character (1 start bit, 8 data bits, 1 parity bit and 1 stop bit).
Corresponding factors for other baud rates are given in the table below.
163
HK-MMT-3 (9832)
General:
BZZ =TÜ + TX +2 . ZZM
The processing time TX in the slave is not known and must be taken from
the relevant documentation.
Where a HIMA PES (H41 or H51) is used as the slave, TX is known, so
the bus cycle time can be calculated as follows:
Number of tasks: n
Reduction in total time: (n- 1) . ZZM
Example:
2 read tasks and 2 write tasks are processed:
The processing times in external systems used as slaves are not known,
so the following statements refer to HIMA PESs (H41, H51) only. Different
times of external systems must be adjusted accordingly.
Specifically, these are:
The task is to export the inputs of the slave controller and set the outputs
of the master controller.
Formula:
164
HK-MMT-3 (9832)
The task is to export the inputs of the master controller and set the outputs
of the slave controller.
Formula:
165
HK-MMT-3 (9832)
166
HZ-DOS-3 (9832)
23HZ-DOS-3
Diagnosis without safety
Inputs Type
Bus No. Rack Pos. UINT
Outputs
Error code UINT
Function information Short information
Block information General block information
General Description of block function
table 53: Input and output specification
23.3 GENERAL
This block defines the input and output modules that are operated in diag-
nostic mode. The modules F3235, F3236, F3237, F3238, F3330, F3331,
F3333, F3334, F6213, F6214, F6217 and 6705 can be set in diagnostic
mode.
Diagnostic mode means that faulty modules are reported, even if the fault
is caused by a short circuit, but are not turned off. Input values are not set
to 0 therefore. The input values and the channel error information that is
actually read is processed. Output modules are not turned off.
168
HZ-DOS-3 (9832)
The user must check whether a module is defined and testable at the po-
sition indicated.
Where several channel errors exist, the decimal value which corresponds
to the dual code is output. With modules which have no channel error de-
tection, only the decimal values 0, 255 and 65535 are output if the assign-
ment is incorrect.
169
HZ-DOS-3 (9832)
170
HZ-FAN-3 (9832)
24HZ-FAN-3
FAULT OF TESTABLE I/O MODULES
Inputs Type
Bus No. Rack Pos. UINT
Outputs
Error code UINT
Error BOOL
Function information Short information
Block information General block information
General Description of block function
Programming example
table 56: Input and output specification
24.3 GENERAL
This block is used to detect faulty testable I/O modules. Specifically, it is
needed for the redundant use of testable analog module F 6705 to detect
the faulty module and to be able to drive the serviceable channel with
100% of the analog value (otherwise 50%, see also the data sheet for the
F 6705). The changeover to 2 channels must be delayed by one cycle.
The error output can also be used to isolate the supply voltage in the cur-
rent sink mode, an option that is absolutely essential in safety-oriented
(fail-safe) systems. See the Safety Manual.
Up to 8 I/O modules can be monitored with 1 block. The block can be used
more than once in the ELOP program.
172
HZ-FAN-3 (9832)
If more than one external circuit is faulty, a decimal value is output that cor-
responds to the dual code.
If 255 is displayed, then the actual module is faulty (modules without line
diagnosis), not plugged in, not supplied with voltage or all the external cir-
cuits are faulty.
Faults in external current circuits can only be displayed when you use
modules that have suitable integrated measuring stages for open circuit
and short circuit, and when their software blocks for the I/O modules are
used in the program.
24.4.3 Error
Type: BOOL
This output carries TRUE when there is an error in the corresponding
module.
When negated, this block can be used to supply voltage for current loop F
6705 in the current-sink mode, in which case it is output by a testable out-
put module. Alternatively it can be used to drive a fail-safe relay with which
the voltage supply is switched.
173
HZ-FAN-3 (9832)
24.5 Applications
Redundant used of the F 6705
With the redundant use of the F 6705, each of the two output channels
sees 50% of the analog value (see the F 6705 data sheet). In the event of
an error therefore it is necessary to switch the serviceable channel over to
100%. This can be done with the following logic.
Output1
Analog output 1 of the first analog output module
Output2
Analog output 1 of the redundant analog output module (redundant chan-
nel for output1)
174
Resource Types Lists and References
25 Resource Types
The selection of resource types is called from the resource context menu.
Find the RT Assignment option if no resource is assigned yet. If a resource
is already assigned, this option is replaced by the Hardware Change op-
tion.
• A1
• A1dig
• H41q-H
• H41q-HR
• H41q-HRS
• H41q-HS
• H41q-M
• H41q-MS
• H51q-H
• H51q-HR
• H51q-HRS
• H51q-HS
• H51q-M
• H51q-MS
175
Lists and References Subracks
• H11
• H41-H
• H41-HR
• H41-HRS
• H41-HS
• H41-M
• H41-MS
• H51-H
• H51-HR
• H51-HRS
• H51-HS
• H51-M
• H51-MS
26 Subracks
When using H51 or H51q systems, you must also define the required I/O
subracks. This is done in the Edit Cabinet option of the resource.
176
Subracks Lists and References
Edit cabinet
In the H11, H41, A1, A1dig and H41q systems there is no need to assign
an I/O subrack because here the I/O modules belong to the central module
or in the central subrack. No further extension is possible in these sys-
tems.
177
Lists and References Modules
27 Modules
As with the subracks, we distinguish between Modules and Old Modules.
Only the current modules in the Modules directory are used with new sys-
tems, of course.
178
Modules Lists and References
Move the required module to the desired position in the desired subrack
with Drag & Drop.
You do not need to define central modules, they are defined by their re-
source type assignment.
179
Lists and References Supported IEC Functions and Data Types
ANY
ANY_NUM
ANY_REAL
REAL available available
LREAL
ANY_INT
SINT available available
INT available available
DINT available
LINT
USINT available available
UINT available available
UDINT available
ULINT
ANY_BIT
BOOL available available
BYTE available available
WORD available available
DWORD available
LWORD
STRING
ANY_DATE
TIME_OF_DAY available
DATE available
Tabelle 59: Supported data types
180
Supported IEC Functions and Data Types Lists and References
DATE_AND_TIME available
TIME available available
Tabelle 59: Supported data types
ANY_TO_BOOL available
ANY_TO_BYTE available
ANY_TO_WORD available
ANY_TO_DWORD except REAL
ANY_TO_LWORD
ANY_TO_STRING
ANY_TO_SINT available
ANY_TO_INT available available
ANY_TO_DINT except REAL
ANY_TO_LINT
ANY_TO_USINT available
ANY_TO_UINT available available
ANY_TO_DINT except REAL
ANY_TO_ULINT
ANY_TO_REAL available available
ANY_TO_LREAL
ANY_TO_TIME_OF_ except REAL
DAY
ANY_TO_DATE except REAL
ANY_TO_DATE_AN except REAL
D_TIME
ANY_TO_TIME except REAL
TRUNC_SI available
Tabelle 60: Supported functions and function modules
181
Lists and References Supported IEC Functions and Data Types
182
Supported IEC Functions and Data Types Lists and References
SHR available
ROL available
ROR available
AND available available
OR available available
XOR available available
NOT available available
SEL available available
MAX
MIN
LIMIT available
MUX available
GT available available
GE available available
EQ available available
LE available available
LT available available
LE available available
LEN
LEFT
RIGHT
MID
CONCAT
INSERT
DELETE
REPLACE
FIND
ADD_TOD_T available
ADD_DT_T available
ADD_T_T available
SUB_TOD_T available
SUB_DT_T available
SUB_T_T available
SUB_TOD_TOD available
Tabelle 60: Supported functions and function modules
183
Lists and References System Variables
SUB_DT_DT available
SUB_T_T available
MUL_T except REAL
DIV_T except REAL
CONCAT_D_TOD available
SR available available
RS available available
SEMA available available
R_TRIG available available
F_TRIG available available
CTU available
CTD available
CTUD available
TP available available
TON available available
TOF available available
RTC available
Tabelle 60: Supported functions and function modules
29 System Variables
The system variables provide information from the system and are used
to transfer information to the system. The following system variables are
available:
• UINT SIO.ZB1: SIO1 receive counter
• UINT SIO.ZB1: SIO2 receive counter
• UINT SIO.ZG1/CB1: SIO1 receive counter
• UINT SIO.ZG1/CB1: SIO2 receive counter
• UINT SIO.ZG1/CB2: SIO1 receive counter
• UINT SIO.ZG1/CB2: SIO2 receive counter
• UINT SIO.ZG1/CB3: SIO1 receive counter
• UINT SIO.ZG1/CB3: SIO2 receive counter
• UINT SIO.ZB2: SIO1 receive counter
• UINT SIO.ZB2: SIO2 receive counter
• UINT SIO.ZG2/CB1: SIO1 receive counter
• UINT SIO.ZG2/CB1: SIO2 receive counter
• UINT SIO.ZG2/CB2: SIO1 receive counter
• UINT SIO.ZG2/CB2: SIO2 receive counter
• UINT SIO.ZG2/CB3: SIO1 receive counter
• UINT SIO.ZG2/CB3: SIO2 receive counter
184
System Variables Lists and References
29.1.2 HIBUS.Resource-Name.error
The system variable exists for each resource with safety-related commu-
nication via HIPRO. ´Resource-Name´ is replaced by the original resource
name.
The variable is TRUE, if the resource does not receive any data inside the
entered supervision time.
185
Lists and References System Variables
29.1.8 SYSTEM.Single-channel
This system variable is TRUE when one central module has failed in a sys-
tem with two central modules.
29.1.9 SYSTEM.normal
This system variable is TRUE when no errors are present in the system.
Use this system variable for a general status display of the system.
186
System Variables Lists and References
The system variable can be wired with an external signal or with a signal
generated from the logic.
The system is set to RUN again by pressing the ACK button on the central
modules.
187
Lists and References System Variables
188
System Variables Lists and References
O.Error position 2nd I/O bus. A display is only possible when the module
has line diagnosis.
Value output:
You should use the UINT data type so the value is displayed in this format.
189
Lists and References System Variables
You should use the UINT data type so the value is displayed in this format.
29.3.7 SYSTEM.RAM/EPROM
This system variable displays the type, the memory used for the resource
and the memory mapping.
29.3.8 SYSTEM.Runversion
This system variable displays the current RUN version of the resource.
You must use the WORD data type for this variable so that the display is
identical with the representation on the diagnostic display of the central
190
System Variables Lists and References
module.
29.3.9 SYSTEM.Codeversion
This system variable displays the current Code version of the resource.
You must use the WORD data type for this variable so that the display is
identical with the representation on the diagnostic display of the central
module.
29.3.11 SYSTEM.Errormask2
Error mask 2 displays general faults in the power supply, faults in copro-
cessor modules, active fault blanking, and the allocation of faults to the
central modules. The set error bits have the following meaning:
If several faults occur simultaneously, a value is output that shows the fault
bits at their corresponding positions. This means that several bits can be
191
Lists and References System Variables
29.3.12 SYSTEM.Errormask1
Error mask 1 displays faults detected in the central modules and in the I/
O bus. The set error bits have the following meaning:
If several faults occur simultaneously, a value is output that shows the fault
bits at their corresponding positions. This means that several bits can be
set at the same time.
Faults for the coprocessor modules are only output when they are defined
in the cubicle.
29.3.13 SYSTEM.Errorcode
The display of the error code is used for a detailed analysis of a fault that
has occurred. The meaning of the error code can be taken from the de-
scription of the appropriate operating system.
192
Index
Index
Numerics
3964R base addresses ...........................................29
3964R communication ............................................45
3964R variables ......................................................35
A
Address conflicts ....................................................26
B
Building an application ............................................72
BUS docu ...............................................................63
Bus documentation .................................................64
BUSCOM ................................................................43
BUSCOM variables ................................................34
BUSCOM, MODBUS base addresses ....................28
C
C-code comparator .................................................71
CFG docu ...............................................................63
CFG documentation ...............................................66
Code generator .................................................25, 49
Code generator settings .........................................26
Compiling program code ........................................49
Configuration ............................................................1
Control panel ..........................................................51
Creating a configuration ...........................................1
CRF Docu ...............................................................67
CRF docu ...............................................................66
CRF documentation ................................................67
CU, CM configure interfaces ..................................14
D
Data types ............................................................180
Documentation configuration ..................................63
Documentation resource ........................................66
E
Edit cabinet .............................................................13
Editing modules ......................................................14
ELOP II bus ..............................................................1
ELOP II bus assignment ...........................................2
ELOP n-file .............................................................42
Event creating .........................................................31
193
Index
F
fieldbuses ...............................................................43
Force image, graphic ..............................................60
Forcing I/Os ............................................................58
Forcing in force image ............................................59
Forcing variables ....................................................58
Function check of the PES ...............................72, 74
H
H8-STA-3 ................................................................77
H8-UHR-3 ...............................................................81
HA-LIN-3 .................................................................87
HA-PID-3 ................................................................95
HA-PMU-3 ............................................................103
HA-RTE-3 .............................................................109
HB-BLD-3 .............................................................119
HB-BLD-4 .............................................................125
HB-RTE-3 .............................................................131
HIBUS .......................................................................2
HIBUS parameter .....................................................4
HIMA Standard blocks ............................................75
HIPRO ....................................................................37
HIPRO edit ...............................................................3
HIPRO Hardware ....................................................37
HIPRO redundancy ................................................38
HIPRO stations .........................................................4
HIPRO-N ................................................................37
HIPRO-N variables ...........................................32, 39
HIPRO-N/-S variables ............................................31
HIPRO-S ...........................................................27, 37
HIPRO-S add resource ...........................................39
HIPRO-S PES master ............................................38
HIPRO-S variables .................................................33
HK-AGM-3 ............................................................137
HK-LGP-3 .............................................................141
HK-MMT-3 ............................................................149
HZ-DOS-3 .............................................................167
HZ-FAN-3 .............................................................171
I
I/O parameters ........................................................19
IEC functions ........................................................181
Instancing program type .........................................11
L
Lcl page header ......................................................24
Lcl page header editing ..........................................24
M
MODBUS ................................................................43
194
Index
O
OLT field .................................................................57
OLT panel ...............................................................54
Online Test .............................................................53
Online test ..............................................................57
OPC ........................................................................43
OS download ..........................................................53
P
PADT bus ...............................................................23
PES master ..............................................................7
PES master compiling ........................................7, 49
PES master CRF ......................................................9
PES master docu ....................................................63
PES master documentation ....................................65
PES master download ........................................7, 50
PES master functions .............................................32
PES master update ..................................................8
Program download/reload ......................................52
proven GNU-C-compiler .........................................71
R
Redundancy parameters ........................................20
RES docu (current) .................................................66
RES docu (generated) ............................................66
RES docu (loaded) .................................................66
Res documentation .................................................68
Res documentation generated ...............................69
Res documentation loaded .....................................70
Resource ..................................................................9
Resource hardware change ...................................10
Resource properties .........................................12, 19
Resource type assignment .......................................9
Resource types current ........................................175
Resource types predecessor ................................176
S
Safety parameters ..................................................21
Saftey related functions ..........................................71
Special interface settings ........................................16
Subracks ...............................................................176
Supported functions and function blocks ..............181
System variables ..................................................184
System variables assignment .................................30
195
Index
T
Tag name editing ..............................................16, 17
target code comparator ..........................................71
196