You are here: Driver Reference > Simatic S7 Driver > Simatic S7 Specific Status Display Attributes > Source

Source

Associated with: Simatic S7 channels, sources, Analog points and Digital points

The Source attribute is common to many Status displays. The attribute indicates the location at which the item resides. The information shown varies, depending on the item.

The Source attribute displays the value Undefined if the item’s configuration is incomplete, in so far as the device with which the item is associated has not yet been specified.

For items on the Simatic S7 driver, the Source attribute displays this information:

Simatic S7 Item Source Attribute

Channel
(ISO comms)

Format

<Channel Comms>

Example:

SIMATICS7/TCP

Channel
(MPI comms)

Format

<Port>:<Baud Rate>:<Data Bits><Parity><Stop Bits> (MPI <Address>)

Example:

COM1:19200:8O1 (MPI 17)
(For a Simatic S7 channel with an MPI via serial adapter connection. The server is using station address 17 and is communicating via port COM1, at 19200 baud, using 8 bits, Odd parity, and 1 stop bit.)

Channel
(PPI comms)

Format

<Port>:<Baud Rate>:<Data Bits><Parity><Stop Bits> (PPI <Address>)

Example:

COM1:9600:8E1 (PPI 12)
(For a Simatic S7 channel with a PPI via serial adapter connection. The server is using station address 12 and is communicating via port COM1, at 9600 baud, using 8 bits, Even parity, and 1 stop bit.)

Scanner

(on a channel that uses MPI or PPI comms)

Format

<Port>:<Baud Rate>:<Data Bits><Parity><Stop Bits> (MPI or PPI <Address>):PLC <Address>, <Area> - <Memory Area><starting Data Address>-<Memory Area><ending Data Address>

Example:

COM1:19200:8O1 (MPI 17):PLC 4, Input Register - I2-I7

(For a Simatic S7 scanner on a channel that has an MPI via serial adapter connection. The scanner is configured to scan registers I2 to I7 within the Input Register memory area, in the PLC that has an address of 4. To scan these Input Registers, the scanner is configured to have a Data Address of 2 and a Data Length of 6. (Channel configuration is as per example above.))

Scanner (on a channel that uses ISO comms)

Format

<Channel Comms>-<Host Address> <Port>:Device <Address>, <Area> - <Memory Area><starting Data Address>-<Memory Area><ending Data Address>

Example:

SIMATICS7/TCP-MYPC5 COM1:Device 22, Output Register - Q3-Q6

(For a Simatic S7 scanner on a channel that communicates using ISO over TCP/IP. The scanner is configured to scan registers Q3 to Q6 within the Output Register memory area, in the remote device that has an address of 22. To scan these Output Registers, the scanner is configured to have a Data Address of 3 and a Data Length of 4. (Channel configuration is as per the first example above.))

Analog Point

Format

<Port>:<Baud Rate>:<Data Bits><Parity><Stop Bits> (MPI <Address>):PLC <Address>, <Area> - AG <Memory Area><Data Size><Data Address> (<Data Type>)

Example:

COM1:19200:8O1 (MPI 17):PLC 4, Input Register - AG IW3 (UINT)
(For a Simatic S7 analog point that represents two-byte UINT input data. The data starts at register address 3. (The scanner configuration is as per the example above.))

Digital Point

Format

<Port>:<Baud Rate>:<Data Bits><Parity><Stop Bits> (MPI <Address>):PLC <Address>, <Area> - DG <Memory Area><Data Address>.<Bit Offset>

Example:

COM1:19200:8O1 (MPI 17):PLC 4, Input Register - DG I2.7
(For a Simatic S7 digital point that represents the data at Data Address I2, bit offset 7. (The scanner configuration is as per the example above.))

For a multi-bit digital point, the Source attribute takes the form:

COM1:19200:8O1 (MPI 17):PLC 4, Input Register - DG I2.6-7
(indicating both the starting and ending bit offsets).

With a channel that can use either of two ports, the Source attribute displays the source information for the Primary Connection port, followed by the source information for the Secondary Connection port.

Similarly, with a scanner on a channel that can use either of two ports, the Source attribute lists the source information for the channel’s Primary then Secondary Connection ports, followed by the scanner-specific source information. If the scanner communicates with a device using ISO over TCP and can use either of two network ports to do so, both sets of scanner port details follow on from the channel’s source details.

In keeping with Simatic terminology, the Source attribute uses the following abbreviations to indicate the area of memory with which an item is associated:

Abbreviation Memory Area

I

Input Register

Q

Output Register

F

Flags/Markers

T

Timers

C

Counters

AI

Analog Inputs

AQ

Analog Outputs

T

IEC Timers

C

IEC Counters

V

Data Block

SM

Special Memory

and the following abbreviations to indicate the size of the data that each point represents:

Abbreviation Data Size

B

One byte

W

Two bytes

D

Four bytes


ClearSCADA 2015 R2