Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

The protocol is an implementation of the Control Web "SIMATIC 3964R" protocol and was created to facilitate the replacement of Control Web applications with D2000 technology.

On the link-layer, this protocol implements the Siemens SIMATIC 3964R protocol and uses it to read from and write to the PLC. The protocol only supports database block (DB) addressing 0-255.

...

ByteNameDescription
1IdZone identifier ('D' = data block)
2DBNumber of The zone number (data block)
3-4DWWord address within a zone (lower byte, upper byte)
5CmdCommand ('R' - reading, 'W' - writing)
6-7CountNumber of read/written words (lower byte, upper byte)

The protocol supports reading data from control PLC automats of Siemens SIMATIC of the S5 and S7 series. PLC Simatic must be equipped with the serial communication point-to-point modules - for more details see the decription description of Siemens SIMATIC 3964(R) protocol.

...

Kotva
linka_parametre
linka_parametre
Line protocol parameters

...

A dialog window of of communication line configuration - Protocol parameters tab.
They influence some optional protocol parameters.

...

ParameterMeaningUnit / sizeDefault value

Kotva
m
m
Mode

A mode of communication:

  • Active - active communication (sending requests and receiving replies).
  • Passive - eavesdropping of Control Web communication with the PLC. This mode requires that only PLC responses are intercepted.
  • Passive (duplex) - eavesdropping of Control Web communication with the PLC. This mode requires that both Control Web requests and PLC responses are intercepted.

Note: Active communication is used when Control Web is replaced by D2000.
The eavesdropping is used during D2000 deployment and allows parallel operation with the Control Web system.

Active
Passive
Passive (duplex)
Active

Kotva
mds
mds
Max Data Size

Maximum size (in bytes) of data read by a single requestlrequest. Add to this size a 7-byte Control Web header to obtain the full length of response (without duplicated DLE bytes) according to the SIMATIC 3964(R) standard.

4 - 249 B128 B

Kotva
rc
rc
Retry Count (hex)

Maximum The maximum number of request retries in case of a communication error.

-2

Kotva
rt
rt
Retry Timeout

A delay before resending a request in case of a communication error.

ms100 ms

Kotva
nvd
nvd
Debug Values

Activates a debug info about the loaded values of I/O tags. Use this parameter only when communication must be debug debugged because it highly uses consumes CPU and slows down the communication.YES/NONO

...

The Communication station dialog box - tab Protocol parameters.
Parameters defined in the input field have an effect on some optional protocol parameters. The following station protocol parameters can be defined (the same as parameters of protocol Siemens SIMATIC 3964(R))::

...

Identifier <type>Description
XBit (boolean). Specify a bit number 0 to 7 - e.g. DB9, X8.3
BByte (8 bits unsigned).
WWord (16 bits unsigned).
DDouble word (32 bits unsigned).
CHARCharacter (8 bits signed).
INTInteger (16 bits signed).
DINTDouble integer (32 bits signed).
BCDBCD-coded 2-byte number (0-9 999)
LBCDBCD-kódované 4-byte number (0-99 999 999)
REALFloating-point number (32 bits according to IEEE754 standard).
LREALLong floating-point number (64 bits according to IEEE754 standard).
DTDate and Time, 8 bytes in BCD format, millisecond accuracy.
DTLDate and Time, 12 bytes in BCD format, nanosecond accuracy
Note: D2000 uses only a millisecond accuracy
TIMETime (32 bits signed) in ms.
TODTime of day (32 bits unsigned) in ms.

...