Porovnávané verzie

Kľúč

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

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

...

This protocol supports the following Landis&Gyr devices:

Table 1

Device type
Version
The version of the software in the deviceProtocol version
PRU1.64, RWP80
 

TOCCATA1 V.0
PRU1.64, RWP80
 

TOCCATA1 V.1
PRU10.64, PRV2.128
 

TOCCATA2 V.0
RWP80 AZA v. 07.10TOCCATA1 V.2

Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...

  • Baud rate and transmission parameters according to a type of communication.
  • 2400 Bd, 8 dat. data bits, no parity, 1 stop bit in direct connection point-point (TOCCATA1 V.0 and V1).
  • 9600 Bd, 8 dat. data bits, no parity, 1 stop bit in direct connectionpoint-point (TOCCATA2 V.0).
  • If devices communicates communicate via the communication concentrators (KPX, radio modems), the transmission parameters are defined in accordance with depend on the particular case.

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

  • Communication protocol: L&G TOCCATA
  • Station The station address is in the range of 0 up to 255 in decimal format. It is used only when communicating via the communication concentrators. In the case of direct communication, the address is ignored.

...

You can define the following parameters:

Table 2

Key word
KeywordFull nameMeaningUnitImplicit value
Kotva
rc
rc
RC
Retry Count
Number of repeat calls
The number of request retries if the communication error occurs.-1
Kotva
rt
rt
RT
Retry Timeout
Delay
The delay between repeating
the call
the request if the communication error occurs.ms1000 millisec.
Kotva
wft
wft
WFT
Wait First Timeout
First delay of response reading
The first waiting before reading the response after the
call
request is sent.ms300 millisec.
Kotva
wt
wt
WT
Wait Timeout
Delay
The delay between
reading the
response readings until
it
the response is completed.ms300 millisec.
Kotva
mwr
mwr
MWR
Max Wait Retry
Number
The number of
retry
response reading retries until
it
the response is completed.-12
Kotva
wbr
wbr
WBR
Wait Before Request
Delay that
The delay that is used before each request.ms0
Kotva
kpx
kpx
KPX
KPX RouteThe communication via the communication concentrator. The station address is used.YES/NONO
Kotva
mpi
mpi
MPI
Maximum PA Items
Maximum
The maximum number of PA data in one data
blocks
block. You must always define an even number. If communicating via concentrator, the maximum number is 10, otherwise, it is 24.-10
Kotva
le
le
LE
Log EventsIt allows
to save
saving the text messages to TRACE.LOG from the device. This file is in the current working directory of the communication process.YES/NONO
Kotva
klrd
klrd
KLRD
KL Read Delay
Time
The time period to obtain the values of KL data. KL data are read when starting the communication process and again after elapsing of the KLRD period.min30 minutes
Kotva
sack
sack
SACK
Send ACKSending ACK message (DLE-ACK) after the D2000 KOM receives the proper packet. A direct connection requires to set YES. Connection via concentrator (KPX=YES) requires to set NO (speeding up of communication).YES/NOYES
Kotva
senac
senac
SENAC
Send Enhanced ACKSending enhanced ACK message with station address (DLE-ACK-CR-LF-StationAddress-CR-LF) after the D2000 KOM receives the proper packet.YES/NONO
Kotva
pruv
pruv
PRUV
PRU VersionTOCCATA protocol:
  • value 0: TOCCATA1 V.0
  • value 1: TOCCATA1 V.1
  • value 2: TOCCATA2 V.0
  • value 3: TOCCATA1 V.2
0, 1, 2, 30
Kotva
paf
paf
PAF
PA FirstAt starting the communication, it gives priority to reading the PA instead of KL parameters. KL parameters will be read after PA ones are received from all stations.YES/NONO
Kotva
fd
fd
FD
Full DebugActivation of the debug information about received values.YES/NONO

String A string containing the protocol parameters is 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, TIA, TOA.

In the configuration you must define the following optionsparameters:

  • point type PA or KL
  • address (for KL it is a physical address in the device)
  • size of the data block of a given point (for PA it is always 0)

...