Date: Thu, 28 Mar 2024 20:39:21 +0100 (CET) Message-ID: <297668458.111244.1711654761271@srvdoc.doc.ipesoft.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_111243_547847363.1711654761270" ------=_Part_111243_547847363.1711654761270 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Supported device types and ve=
rsions
Communicatio=
n line configuration
Communication station configuration
I/O tag configuration
Installation of Windows N=
T driver for KMFB-02 card
=
Literature
Changes and m=
odifications
Document revisio=
ns
This protocol supports communication with the Allen-Bradley devices, SLC= -500 series. The communication supports a direct connection to DH485 bus th= rough the KMFB02 communication ca= rd.
Configuration station dialog window - tab "Protocol param=
eters".
They influence some other optional protocol parameters. The following stat=
ion parameters can be defined:
Table 1
Keyword | Full name | Meaning | Unit | Default value |
---|---|---|---|---|
MIT | Max Insert Time | The maximum time during which the communication = process tries to send a request for data. After this time had elapsed, the = request that was not answered is ignored (and a communication error is mark= ed on a line). | ms | 10000 |
MTT | Max Trans Time | Maximum waiting time for response to the request= from SLC. After this time had elapsed, the response is considered to be lo= st (and a communication error is marked on a line). | s | 20 |
BR | Block Read | Enables to read data in blocks, which is faster.= | YES/NO | NO |
BL | Block Length | The maximum length of the block in bytes. The va= lue must be an even number in the range of 2 to 255. | - | 120 |
IOR | IO Reading | The reading of the files of I and O= types on SLC 5/02 requires different types of functions than SLC 5/03= and higher. Set YES for SLC 5/02. | YES/NO | NO |
A string with the protocol parameters is written as follows:
Key_word=3Dvalue;Key_word=3Dvalue; ...
Example:
BR=3DYES;BL=3D200
If the keyword with the valid value has not been found in the parameter = string, the default value is used.
Note:
The parameter BR enables the block reading. It=
is used for speedup of communication. Some problems may occur if an I/O ta=
g with a non-existent address is configured (an address that does not exist=
in SLC). SLC will not send any data and if a non-existent address is read =
in a block together with other I/O tags, so these I/O tags will no have val=
ue either. D2000 KOM writes =
an error:
Read packet without data, Nod= e: NodeId Type FileType File: FileId Elem: ElemId SubElem: SubElemId
From this information, you can find out the source of the problem - whic= h addresses (and which file type) in which SLC causes problems.
Possible I/O tags: Ai, Ao, Ci, Co, Di, Dout.
The address of the I/O tag is a text in an SLC-500 format. The address f= ormat is:
[$] X [file] : element [.field] [/bit]
Explanatory notes:
$ | - optional character |
X | - file identifier (required - see Table 2) |
file | - file number (optional, if it is empty, the def= ault file number is used - see Table 2) |
element | - an element number in the file (required) |
.field | - a number of sub-element (optional, it is used = only for Output, Input files) |
/bit | - bit number (optional, it must be in the range = of 0..15) |
Table 2
X | File Type | Default file number (file) |
---|---|---|
O | Output | 0 |
I | Input | 1 |
S | Status | 2 |
B | Binary | 3 |
T | Timer | 4 |
C | Counter | 5 |
N | Integer | 7 |
F | Float | 8 |
[$]O[n]:e[.s][/b]
"n" - the file number, if it =
is different from the default number 0,
"e" - the number of an element in a file,
"s" - number of sub-element (0..255),
"b" - bit number (0..15).
Example:
O:2 $O0:2/0 O:1.0/1
Note: The files of the Output type are read-only.
[$]I[n]:e[.s][/b]
"n" - the file number, if it is di=
fferent from the default number 1,
"e" - the number of an element in a file,
"s" - the number of sub-element (0..255),
"b" - the bit number (0..15).
Example:
I:1 $I1:2/0 I:2.0/15
Note: The files of the Input type are read-only.
[$]S[n]:e[/b]
"n" - the file number, if it =
is different from the default number 2,
"e" - the number of an element in a file,
"b" - the bit number (0..15).
Example:
S:0 $S2:40 S:2/15
Note: As for= the files of Status type, data can not be written bit-by-bit (input tags w= ith the parameter [/b]).
[$]B[n]:e[/b]
"n" - the file number, if it =
is different from the default number 3,
"e" - the number of an element in a file,
"b" - the bit number (0..15).
Example:
B:2 $B3:0 B3:2/1
[$]T[n]:e[/b]
"n" - the file n=
umber, if it is different from the default number 4,
"e" - the number of an element in a file,
"b" - the optional prefix /EN, /TT, /DN (bit values) or /PRE, /ACC (intege=
r values).
Example:
T:2 $T4:0/ACC
[$]C[n]:e[/b]
"n" - the file n=
umber, if it is different from the default number 5,
"e" - the number of an element in a file,
"b" - the optional prefix /DN, /CU, /CD, /OV, /UN, /UA (bit values) or /PR=
E, /ACC (integer values).
Example:
C:17 $C5:34/DN
[$]N[n]:e[/b]
"n" - the file number, if it =
is different from the default number 7,
"e" - the number of an element in a file,
"b" - the bit number (0..15).
Example:
N7:2 $N:0 N27:0/1
[$]F[n]:e
"n" - the file number, if it =
is different from the default number 8,
"e" - the number of an element in a file.
Example:
F:0 $F8:0 F29:1
When installing a driver of KMFB02 card for the communication Allen-Brad= ley DH485 follow these steps:
Note: KMFB-02 card uses the INT 5 interrupt. Itit is al= ready occupied, it must be released (INT 5 is not usually used, only for LP= T2 or LAN card).
-
Related pages: