Data point element |
Type |
Description |
DoGeneralQuery |
bool |
Specifies if a
general query should be made on the device. Set the value to 1
to start a general query. |
SetInvalidBit |
bool |
Specifies if the
invalid bit should be set when data from the PLC are invalid. |
UseTSPP |
|
Using the extension
TSPP for receiving spontaneous data from the PLC (TRUE)
or not (FALSE). |
DoBrowseSymbols |
bool |
Specifies if the
browsing of symbolic addresses should be used. |
ProjectName |
string |
Specifies the project
name (for browsing symbolic addresses). |
ProgramName |
string |
Specifies the program
name (for browsing symbolic addresses). |
DrvNumber |
int |
Contains the driver
number of the driver, which is responsible for the device. This
DPE is set by the driver during startup. It can, for example,
be used by control scripts to send commands to the according data
point of type "_DriverCommon". |
Active |
bool |
You can switch
the device either to active (TRUE)
or to inactive (FALSE). If you
deactivate the device, the data point will, however, not be deleted
and you can activate it anytime. See also active check box in
the chapter Configuration
of the S7 driver. |
LastError |
int |
Contains the last
occurred error for each connection.
Positive error is caused by an internal
S7 driver fault (the meaning of the specific error can be seen
in the Log Viewer or in the catalog file s7.cat).
Negative error is caused by an ACCON-AGLink library fault (the
meaning of the specific error can be seen in the table on page
Details on the S7 driver). |
DevNr |
unsigned |
Number of the configured
device (see also Configuration of the
S7 driver). |
ConnState |
int |
Status information
for the device. There are four states: Not connected (0), Connected
(1), General query (2), Not active (3). |
State.SentTelegrams |
unsigned |
Number of sent
telegrams. This information you will find in the Info panel (see
Configuration of the S7 driver). |
State.RcvTelegrams |
unsigned |
Number of received
telegrams. This information you will find in the Info panel (see
Configuration of the S7 driver). |
State.RejTelegrams |
unsigned |
Number of rejected
telegrams. This information you will find in the Info panel (see
Configuration of the S7 driver). |
ReduConn.DevNr |
unsigned |
The data of the
redundant connection is saved here. See also DPE "DrvNr". |
ReduConn.ConnState |
int |
The data of the
redundant connection is saved here. See also DPE "ConnState". |
ReduConn.Active |
bool |
The data of the
redundant connection is saved here. See also DPE "Active". |
ReduConn.LastError |
int |
The data of the
redundant connection is saved here. See also DPE "LastError". |
ReduCP.DevNr |
unsigned |
The data of the
redundant device is saved here. See also DPE "DevNr". |
ReduCP.ConnState |
int |
The data of the
redundant device is saved here. See also DPE "ConnState". |
ReduCP.Active |
bool |
The data of the
redundant device is saved here. See also DPE "Active". |
ReduCP.LastError |
int |
The data of the
redundant device is saved here. See also DPE "LastError". |
ReduCP.ReduConn.DevNr |
unsigned |
The data of the
redundant connection of the redundant device is saved here. See
also DPE "DevNr". |
ReduCP.ReduConn.ConnState |
int |
The data of the
redundant connection of the redundant device is saved here. See
also DPE "ConnState". |
ReduCP.ReduConn.Active |
bool |
The data of the
redundant connection of the redundant device is saved here. See
also DPE "Active". |
ReduCP.ReduConn.LastError |
int |
The data of the
redundant connection of the redundant device is saved here. See
also DPE "LastError". |
ReduControl.CP.SpsTag |
string |
Address in the
PLC, which causes a switching of the device (while the value is
1, the driver does not switch to the other PLC; if the value changes
to 0, the driver switches to the redundant PLC). |
ReduControl.CP.CmdMode |
int |
Properties of the
command direction in case of an existing redundant device:
0 ... Command to active device
1 ... Command to both devices |
ReduControl.CP.Switch |
int |
Setting for the
device switching:
0 ... Automatic
1 ... Device 1 (fix)
2 ... Device 2 (fix) |
ReduControl.Conn.SpsTag |
string |
Address in the
PLC, which causes a switching of the connection. |
ReduControl.Conn.CmdMode |
int |
Properties of the
command direction in case of an existing redundant connection:
0 ... Command via active connection
1 ... Command via both connections |
ReduControl.Conn.Switch |
int |
Setting for the
connection switching:
0 ... Automatic
1 ... Connection 1 (fix)
2 ... Connection 2 (fix) |
ActiveConn |
int |
This DPE is for
displaying the active connection for the driver:
0 ... First device nominal connection
1 ... First device redundant connection
256 ... Redundant device nominal connection
257 ... Redundant device redundant connection |
opState |
int |
Operating state
of the PLC (0 STOP, 1 STARTING, 2 RUN,
3 UNDEFINED). The driver reads the state only when you
set the config file entry "ReadOpState " to "Y"
(see Possible config entries of the
S7 driver).
Redundant
PLC
When using redundant PLCs (H-System),
different states will be sent by the driver:
0 UNKNOWN
1 CPU STOP (Updating)
2 CPU STOP (Full reset)
3 CPU STOP (Initializing)
4 CPU STOP (Both PLCs are running)
5 CPU START (Cold start)
6 CPU START (Warm start)
7 CPU START (Resuming)
8 RUN SOLO (Only one PLC is running)
9 RUN REDU (Both PLCs are running)
10 CPU HALT
11 CONNECTING
12 UPDATING
13 DEFECT
14 SELFTEST
15 NO POWER |
Time.Value |
time |
The current time
of the PLC. The driver reads the time only when you set the config
entry ReadPLCTime to "Y" (see Possible
config entries of the S7 driver). |
Time.SyncTime |
time |
Sets the time in
the PLC to the value of this element. If you set the value 0,
the driver uses the current time. |
AlarmActive |
bool |
TRUE = alarming
is active
FALSE = alarming is inactive |
S7Stations |
dyn_string |
Listing of the
stations (CSV-coded incl. appropriate device number of the first
CP) for which an _S7_AlarmParam-DP
is created. |