Porovnávané verzie

Kľúč

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

...

Supported device types and versions
Communication line configuration
Communication station configuration
I/O tag configuration
Literature
Changes and modifications
Document revisions
Required setting The recommended settings of the 1770-KF3 device

Kotva
typy_verzie
typy_verzie
Supported device types and versions

...

The protocol Allen-Bradley DF1 Full Duplex protocol supports communication with Allen-Bradley devices of the SLC-500 series. Communication supports (is verified for) for the following devices:

Table 1

Device typeMeaningProtocol version
Allen-Bradley SLC 5/04Communication with
RS232 via
the SLC 5/04 CPU via RS232 port-
Allen-Bradley 1770-KF3DH-485 bus concentrator
,
supports communication with all the devices of the SLC-500 series (description of the setting is mentioned at the end of the chapter).-

Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...

  • Communication line category: Serial, SerialOverUDP Device Redundant.
  • Serial line parameters:
    • baud Baud rate (for 1770-KF3 there can be used , 300, 600, 1200, 2400, 4800, 9600 or 19200 Baud can be used - parameter 3 of KF3 settings - RS-232C Baud Rate),
    • Parity (for 1770-KF3, there can be used None or Even parity can be used - parameter 4 of KF3 setting - RS-232C Parity),
    • Handshaking (for 1770-KF3, according to the connection of the RS-232 connecting cable set the parameter 7 of KF3 setting - Flow Control, according to the setting of the RS-232 cable).


Line protocol parameters

Configuration dialog box - tab Parameters, select the protocol Allen-Bradley DF1 Full Duplex protocol.
They influence some optional parameters of the protocol.

Table 2

ParameterMeaningUnitDefault value
Kotva
cct
cct
BCC/CRC Checksum
Type
of security by check sum
of checksum for securing of the payloadCRC
BCC
CRC
Kotva
fd
fd
Full Debug
Activates detailed listings about sending and receiving values and further debug information.YES/NONO

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

Communication protocol: Allen-Bradley DF1
Station address: DH-485 Node Address of device in the range of 1 up to 31.

...

Communication station - configuration dialog box - the Protocol parameter input field.
They influence some optional parameters of the protocol.

Table 3

ParameterMeaningUnitDefault value
Kotva
in
in
Interface Node
DH-485 Node Address of the communication interface (KF3), the address
in common use is 0
0 is commonly used. (Warning, when you use the 1770-KF3 device, its setting is valid for all stations of the line).-0
Kotva
wft
wft
Wait First Timeout
First
timeout for
delay before reading
a
the response after sending a
message
request.ms100
Kotva
wt
wt
Wait Timeout
Timeout
Delay between response readings
till
until its finalization.ms100
Kotva
mwr
mwr
Max Wait Retry
Repetition
The number of response readings till its finalization.-40
Kotva
mrr
mrr
Max Read Retry
Repetition
The number of response readings, if the received response is not the response to the expected transaction. All received messages are to
be
confirmed.-10
Kotva
rc
rc
Retry Count
Retry
A retry count of the request in case of a communication failure.-3
Kotva
br
br
Block Read
Enables block data
read
reading. It is executed by non-documented functions -
proceed carefully
careful proceeding is asdvised.YES/NONO
Kotva
bl
bl
Max. Block Length
Maximum block length for block
read
reading (in bytes).
Value
The value must be
a
an even number within the range of 2 up to 254.-40

Kotva
merany_bod
merany_bod
I/O tag configuration

...

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

I/O tag address is an a text address in text form in the SLC-500 formformat. Address The address format is:

[$] X [file] : element [.field] [/bit]

in which

$optional character
,
Xfile type identifier (required - see
the
table
nr
No.
3
4)
,
filefile number (optional, if not defined,
there will be used
the default file number according to
the
table
nr. 3),
No. 4 will be used)
elementthe number of an element in the file (required),
.fielda sub-element number (optional, used for Output, Input files only),
/bita bit number (optional, must be within the range of 0..15).

Table 4

XFile TypeDefault file number
OOutput0
IInput1
SStatus2
BBinary3
NInteger7
FFloat8


Output type file

[$]O[n]:e[.s][/b]

"n" the file number - , if there is used other than it is different from the default number of 0,
"e" element number in the file,
"s" sub-element number (0..255),
"b" bit number (0..15).

For example:

O:2
$O0:2/0
O:1.0/1

Note: You cannot write into Output files, only read data.

...

Input type file

[$]I[n]:e[.s][/b]

"n" the file number - , if there is used other than it is different from the default number of 1,
"e" element number in the file,
"s" sub-element number (0..255),
"b" bit number (0..15).

For example:

I:1
$I1:2/0
I:2.0/15

Note: You cannot write into Input files, only read data.

...

Status type file

[$]S[n]:e[/b]

"n"  the file number - , if there is used other than it is different from the default number of number 2,
"e" element number in the file,
"b" bit number (0..15).

For example:

S:0
$S2:40
S:2/15

Note: You cannot write bit-by-bit into Status type files (output I/O tags with the parameter [/b]).

...

Binary type file

[$]B[n]:e[/b]

"n"  the file number - , if there is used other than it is different from the default number of 3,
"e" element number in the file,
"b" bit number (0..15).

...

Integer type file

[$]N[n]:e[/b]

"n"  the file number - , if there is used other than it is different from the default number of 7,
"e" element number in the file,
"b" bit number (0..15).

...

"n" file number - if there is used other than the default number of 78,
"e" element number in the file.

For example:

F:0
$F8:0
F29:1

Kotva
nastavenia
nastavenia

...

The recommended settings of the 1770-KF3 device

...

Further required recommended parameters for the 1770-KF3 device:

  • Set the Parameter 0 DH-485 Node Address to 0. You can use other address, see „Communication station protocol parameters" - the parameter „IN",.
  • Set the parameter 5 DF1 Device Category to DF1 full-duplex,.
  • The parameter 6 Error Detection - there both BCC and CRC16 can be used both BCC and CRC16, see „Communication station protocol parameters" - the parameter „BCC", BCC/CRC Checksum parameter.
  • As for the other parameters, the For the others parameters, there are suitable default settings are described in the document „1770-6.5.18, DH-485 Communication Interface User Manual (Cat. No. 1770-KF3)", Allen-Bradley April 1993.

...

  • Ver. 1.0 - August 22nd, 2000 - document creation.
  • Ver. 1.1 - April 27th, 2009 - update of the document.

Info
titleRelated pages:

Communication protocols

...