3.34. Virtual Instrument Control; Enabling Instrument Control Via Serial; Input Control From Serial - gefran GPC Configuration And Programming Manual

Advanced power controller
Table of Contents

Advertisement

3.34. Virtual instrument control

The virtual instrument allows the hardware resources of the
device to be set up from the serial line, writing dedicated
configuration parameters instead of using the normal con-
troller processing flow.
Control of the virtual instrument is activated via the param-
eter hd.1.
By setting the S.In e S.Ou parameters, it is possible to
enable the writing of certain variables from the serial line
and impose the value of the inputs and the status of the
outputs.
3.34.1.

Enabling instrument control via serial

Address
Format
Single-
Multi-
node
node
1215
191
16 bit
The parameter enables control of the virtual instrument via serial.
Options:
0
= Virtual instrument not enabled
2
= Virtual instrument enabled
3.34.2.

Input control from serial

Address
Format
Single-
Multi-
node
node
1248
2272
224
16 bit
4320
The parameter sets the control of inputs from serial. The table shows the correspondence between bits and inputs.
Inputs
bit
NOTE: Inputs In.A1, In.A2 and In.A3 are only valid for GPC-M.
min...max:
0...2047
GPC-OP
Acronym
menu
10.01.01
hd.1
Global MainMenu → Global → Controls → hd.1
GPC-OP
Acronym
menu
10.01.02
M
10.01.03
S.In
E1
10.01.04
E2
In.A1
In.A2
In.A3
10
9
8
81901 "MSW_GPC-40/600A"_03-2021_ENG_page 122
Alarm thresholds AL1... must be enabled. AL4 when write
operations are continuous and there is no need to keep the
last value in the EEPROM.
Enabling digital input D1 allows the status of this input to
be set, for example to perform MAN/AUTO switching by
writing bit 10 of the SERIAL_LED register.
Similarly, the ON/OFF state of outputs OUT1...OUT10 and
LEDs can be set by writing bits in the SERIAL_IN_OUT
register.
GF_eXpress menu
Description
GF_eXpress menu
Description
MainMenu → Global → Expert →
Virtual → S.In_1
MainMenu → Global → Expert →
Virtual → S.In_2
MainMenu → Global → Expert →
Virtual → S.In_3
-
-
-
-
7
6
5
4
Unsigned
R/W
Short
Unsigned
R/W
Short
AL4
AL3
AL2
AL1
3
2
1
0
0
0

Advertisement

Table of Contents
loading

Table of Contents