Porovnávané verzie

Kľúč

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

L&G ProfiBus 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

...

The protocol LGPROFIBUS implements a communication with Landis&Gyr devices on the basis of the ProfiBus communication protocol.

This communication supports (is verified) these Landis&Gyr devices:

Table 1

Device
Version
The version of software on the deviceVersion of protocol
PRU10.64
  


Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...

The card KMFB02 (Incos a.s. Žilina) is used as a physical communication interface with the firmware IpeSoft by Ipesoft s.r.o. Žilina (stored in EPROM). The communication runs on uses a baud rate of 93.75 kBd. A firmware Firmware in the card provides all basic tasks for access to the ProfiBus network. The card needs a driver KMFB02.SYS driver.

  • Communication line category: PROFIBUS
  • Line parameters (PROFIBUS tab):
    • Device ID – is ProfiBus Node Id, which is assigned to the KMFB02 card. It must be an unused number in the range of 0 up to 32 and reserved for the KMFB02 card in the ProfiBus network.

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

  • Communication protocol: L&G Profibus
  • Station The station address is ProfiBus Node Id of the device (PRU10) in the range of 0 up to 32.

...

The parameters are configured in a dialog box – Communication station - configuration dialog box.

They influenced a the behavior of the access to the communication medium. You can define the following parameters:

Table 2

Key word
KeywordFull nameMeaningUnitDefault value
WTWR_TIMEDelay before the message is sent.ms80
RTRD_TIMEDelay
which is
inserted into the executing of the transaction when
there
the maximum count of transactions is exceeded
their maximum count
.ms100
MTRMAX_TRANSACTION_NUMBERMaximum transactions that are unfinished.-5
MWRMAX_WR_RETRYMaximum retries during one record.-5
MTTMAX_TRANSACTION_TIMEMaximum waiting time for the response to end the transaction.sec6
MMTMAX_MESSAGE_TIMEMaximum time to complete at least one of unfinished transactions. After this timeout elapses, a communication error occurs in the station.sec10

The communication runs in the transaction way (Request/Response) for both data reading and writing. Data are read one point after another, always as a separate transaction.

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

...

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

Kotva
merany_bod
merany_bod
I/O tag configuration

...

I/O tags: Ai, Ao, Ci, Co, Di, Do, TiR, ToR, TxtI, TxtO

I/O tag types correspond to the following „Profibus_Type“:

Table 3

D2000 typeProfibus_Type
Ci, CoUnsigned16
Ai, AoFloatingPoint
TxtI, TxtOBit_String
TiR, ToRTimeDiff32, TimeDiff48
Di, DoUnsigned16

The address is a number in the range of 0 up to 65535.

Note:
You can use the RefGen software RefGen for easy configuration and servicing of the addresses of I/O tags when changing software in PLC. L&G utility „pointrep“ enables to generate generating a file „*.adr” file, which is an input for RefGen. RefGen uses the columns “ProfiBus_Type” (Table 3), “OV_Index” (the address) and “Access_Right” (input/output).

...