Porovnávané verzie

Kľúč

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

XENTRA 4900 communication protocol

Supported device types and versions 
Communication line configuration
Communication station configuration
I/O tag configuration
Literature
Changes and modifications
Document revisions

Kotva
typy_verzie
typy_verzie
Supported device types and versions

...

  • Communication line category: Serial.
  • Baud rate of 2400,4800,9600 or 19200 Bd - according to the device settings.
  • Number The number of stop bits - according to the device settings.
  • Number The number of data bits - according to the device settings.
  • Parity - according to the device settings.

Other For other parameters, see the topic Communication line - configuration dialog box.

...

  • Communication protocol: Servomex XENTRA.
  • Station The station address is not used (one XENTRA device is being connected on the line)

...

KeywordFull nameMeaningUnitDefault value
WTWait TimeoutDelay The delay between individual line readings.ms1000
MWRMax Wait RetryRepetition count of line readings when the message is not completed yetThe maximum number of retries of the response reading.-15
XTXENTRA TimeI/O tag value time allocated from the received message (YES) or from PC the computer (NO).YES/NONO
SCSTART CODETransmitted A transmitted string containing object values (data frame) begins with the binary code of 0x01 (start code). Setting the parameter to NO disables searching for the start code. The setting is required by newer versions of the XENTRA device firmware.YES/NOYES

String A string containing the protocol parameters is being defined as follows:

...

Example:

WT=2000;MWR=40;

If there is used a keyword with an invalid value is used in the initialization string, there will be used a corresponding default value according the to table 1 will be used.

Kotva
merany_bod
merany_bod
I/O tag configuration

...

TiA type: there can be configured only one I/O tag of TiA type - the index (address) of 0. The I/O tag get gets the time and date from the items of the with indexes of 1 and 2. In the example above - it is the value of 16:15:32 14-07-1997.

...

  • acquired from the data packet (identical with the value of the I/O tag of TIA 0)
  • real-time of the PCcomputer, when the value was assigned to.

One of the options is being defined by means of the station protocol parameter XT (see the table 1).

Kotva
literatura
literatura
Literature

...