Date: Thu, 28 Mar 2024 11:37:07 +0100 (CET) Message-ID: <1336374039.111016.1711622227148@srvdoc.doc.ipesoft.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_111015_1428302662.1711622227148" ------=_Part_111015_1428302662.1711622227148 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Suppo=
rted device types and versions
Communication line configuration
Communication s=
tation configuration
I/O tag configuration
Literature
Changes and modifications
Document revisions
This protocol supports data reading and writing to DIRAS devices produce= d by Paufex s.r.o. Pre=C5=A1ov.
Data reading is executed more effective block way in comparison with the= original protocol version Paufex DIRAS.
You can set the following station parameters:
Table 1
Keyword | Full name | Meaning | Unit | Default value |
---|---|---|---|---|
RC
|
Retry Count | Maximum co= unt of request retries. If no reply returns after a request had been sent, = the station's status will change to a communication error. | - | 3 |
MWR
|
Max Wait Retry | The maximu= m number of retries of the response reading. | - | 8 |
RT
|
Retry Timeout | Timeout be= fore resending a request if no response has been received. | ms | 1000 ms |
WT
|
Wait Timeout | The delay = between the response readings. | ms | 400 ms |
WFT
|
Wait First Timeout | The delay = after sending the request and before reading the response. | ms | 500 ms |
A string containing the protocol parameters is defined as follows:
Key_word=3Dvalue;Key_word=3Dvalue; ...
Example:
RC=3D1;RT=3D500;
If a keyword with an invalid value is in the initialization string, the = corresponding default value according to table 1 will be used.
I/O tags: Ai, Ao, Ci, Co, Di, Do, TiA, ToA, TiR, ToR
The Address requires two parameters: address and offset.
All values are in hexadecimal format:
For output tags (Ao, Co, Do, ToA, ToR) you should also set the address p= arameters: type, number, and reference.
The values are in hexadecimal format:
Data reading is done in the blocks by Message 00. The tags with the same= address are read in one block. The length of this block can be at most 128= bytes and this shows that the highest permitted offset is 7F for 1-byte da= ta (Ci, Co, Di, Do) and 7C for 4-byte data (Ai, Ao, TiA, ToA, TiR, ToR).
To enter a new value into reference, use Message 03 and the address para= meters - type, number, and reference.
I/O tag of TiA type (or ToA) is another way of reading/writing the real-= time. The address must be Address=3DFFFF, Offset=3DFFFF (Type, number, refe= rence for ToA can be arbitrary).
Message 0B ensures the reading of real-time and Message OC the writing o= f real-time.
DSN
Related pages: