
HIMax System
5 Programming
HI 801 001 E Rev. 4.01
Page 63 of 122
Use of Analog Outputs
Perform the following steps to write a value in the user program to an analog output
1. Define a global variable of type REAL.
2. When defining the global variable, enter the initial value as safe value.
3. Assign the global variable to the channel value of the output.
4. With the output channel parameters
4 mA
and
20 mA,
set
the corresponding REAL
values according to the range used with the global variables.
The global variable provides the safe value to the analog output.
i
If output channels are not (or no longer) used, the parameters
4 mA
and
20 mA
must be set
to the default settings 4.0 and 20.0, respectively.
To get additional options for diagnosing the external wiring and programming fault reactions
in the user program, assign global variable to
Channel OK
and to further diagnostic
statuses. For more information on the individual diagnostic statuses such as short-circuits
and open-circuits, refer to the module-specific manual.
5.2.5
Assignment to Communication Connections
Communication connections can be used to send or receive the values of global variables.
To do this, open the editor for the communication protocol in use and drag the global
variable from the Object Panel to the workspace.
For more information on the communication protocols, refer to the Communication Manual
(HI 801 101 E). For more information on how to use the editor for the communication
protocols, refer to the SILworX online help.
5.2.6
Configuring the Sequence of Events Recording
Event Definition
1. Define a global variable for each event. Generally use global variables that have already
been defined for the program.
2. Below the resource, create a new
Alarm & Events
branch, if not existing.
3. Define events in the Alarm & Event Editor.
-
Drag global variables into the event window for Boolean or scalar events.
-
Define the details of the events, see the following two tables.
The events are defines.
For further information, refer to the SILworX online help.
The parameters of the Boolean events must be entered in a table with the following
columns:
Содержание HIMax
Страница 1: ...SYSTEM HIMax System Manual...