Porovnávané verzie

Kľúč

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

...

This protocol supports data reading and writing to the devices "Transcon DAP 128TC data transfer system, the communication format D" and "Temar PRES-COM V2.00".

If there is used only data reading from the central unit Transcon CU-16 , or Temar PRES from the transmitter on the lines is used, the communication may be connected directly to the communication computer. In the case of full-duplex transmission there is required the , as communication concentrator KPX-02 is required. It is due to strict timing and synchronization of data that are sent to the central unit in synchronization of the received data. Its application firmware "DAP128 V1.00" executes correct synchronization of transmitted data to the central unit, which are received from the master communication computer asynchronously, to the central unit. The central unit CU-16 is connected on the to port A of KPX-02 and the communication computer on to the port C of KPX-02. The both Both ports are fitted with the DB9M connectors DB9M.

The physical communication lines of DAP 128TC can be equipped with so-called transmitters or receivers. Every physical line can be fitted with at the most 16 transmitters/receivers, the address 0 up to 15.

...

The transmitter contains 7 inputs. Their values can be received by the D2000 System system as I/O tags, value type Digital input (Di) or Analog input (Ai) or Cardinal input (Ci). The values Ai/Ci are 8-bit, serialized in eight cyclecycles. Input No. 8 7 is an odd parity, which is used to check the transmission of input data on the inputs 0 to 6.

Each receiver/transmitter is configured as the a single station. D2000 The communication line in D2000 is shared by all the lines of a particular device Transcon CU-16 device (16 physical lines) or Temar (8 lines), i.e. it uses is determined by the RS232 interface RS232 on of the device. The number of physical line number, on to which the receiver/transmitter is placedconnected, is configured in the station address.

...

  • Communication line category: Serial, SerialOverUDP Device Redundant.
  • Serial line parameter:
    • Baud rate is 9600 or 19200 Baud (depending on the setting of the device),
    • Odd parity, 8 data bits, 1 stop bit.

...

Configuration dialog box - tab Protocol parameters.
The parameters of the line influence some optional parameters of the protocol. You can define the following parameters:

Table 1

ParameterMeaningUnitDefault value
Kotva
wft
wft
Protocol mode
Enables to choose a protocol mode.DAP 128TC format D
PRES-COM V2.00
DAP 128TC format D
Kotva
rom
rom
Read Only Mode
Activates the mode which enables only data reading from the transmitters. Data sending to the receivers is disabled.YES/NONO
Kotva
wt
wt
Wait Timeout
Delay
The delay between the line readings.ms50 ms
Kotva
it
it
Inactivity Timeout
Timeout for receiving
of
valid data. If
, after the lapse of time any
within this time no valid packet is
not
received, the stations (transmitters) are switched to the status of communication error.sec10 sec
Kotva
mt
mt
Moxa Timeout
When using a redundant configuration of MOXA NPort serial/UDP converters on SerialOverUDP Device Redundant line, it defines a timeout to switch over between them if an error occurs on a converter
which
that is currently active (being used for communication).sec10 sec
Kotva
pbd
pbd
Debug Packet Binary Contents
Enables a display of debug info that contains the binary data.YES/NOYES
Kotva
ssdb
ssdb
Station Status Debug
Shows
a
debug info about the station status (transmitters) after it receives a valid packet (parity errors etc.).YES/NONO

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

  • Communication protocol: Transcon DAP 128TC
  • The form of the station address:

    X
    .Y

    where
    X
    is the number of physical line number (1 to 8 for Temar PRES, 1 to 16 for DAP 128TC format D)
    Y
    is the address of the transmitter/receiver on the physical line in the range of 0 to 15.

...

Configuration dialog box - tab Protocol parameters
The parameters of the line influences influence some optional parameters of the protocol. You can define the following parameters of the station:

Table 2

Parameter
 

UnitDefault value
Kotva
mt
mt
Module type
Type of station - Transmitter or receiver.Transmitter
Receiver
Transmitter

Kotva
stanica_stav
stanica_stav
Status of station (transmitter), error attributes

...

In case of a communication error, the value of the communication station switches immediately to the status of soft communication error COMM_ERR. If the error repeatsis repeated, the station switches to the status HARD_ERR (hard error) according to the setting of parameter the "Time filter" parameter. As two cycles of reading per second are executed, the station can switch to the HARD_ERR status very quickly.

The error statuses are indicated by the attributes of the value of the communication station. There are used these These attributes of value are used:

  • Flag P - signalizes the parity error of the transmitter.
  • Flag O - signalizes the short circuit on the physical line.
  • Flag N - signalizes the lost loss of communication (see the setting of the parameter "Inactivity timeout" parameter.

Kotva
merany_bod
merany_bod
I/O tag configuration

...

I/O tag types: Di, Ai, Ci, Dout.

I/O tag address is the number of input/output on the module in the range of 0 to 6 (receiver) or 0 to 7 (transmitter). The input Input 7 has the value of an odd parity on for the inputs 0 to 6 and can check serve for checking the functionality of the transmitter. The status of transmitter parity is also signaled by the error attribute.

Kotva
literatura
literatura
Literature

...