...
Kotva | ||||
---|---|---|---|---|
|
...
The protocol Allen-Bradley CSP/PCC protocol supports communication with the Allen-Bradley devices of the SLC-500 series through using a TCP connection.
It also supports communication via DF1 gateway with SLCs that communicate via DH+ or DH485.
...
- Communication protocol: "Allen-Bradley CSP/PCC".
- Station The station address is not configured.
...
Dialog window station configuration - tab "Protocol parameters".
They influence some optional protocol parameters. The following station protocol parameters can be entered:
Parameter | Description | Unit | Default Value | ||||||
---|---|---|---|---|---|---|---|---|---|
| Timeout to receive a response from PLC. | s | 1.000 | ||||||
|
The number of request retries in case of a communication failure. | - | 3 | |||||
| If using a DF1 gateway, the node address of the destination device |
(node) on a DH+ or DH485 |
bus. If the DF1 gateway is not in use, the default value of 0 must be used. | - | 0 | |||||
| Activates the block reading mode ( |
for Integer, Binary, Status, Float, Timer |
, and Counter types). |
Input and Output types don't support block reading mode. | YES/NO | NO | |||||||
| Maximum block size (2-255 bytes) if a block reading mode is active. | bytes | 40 | ||||||
| Activates detailed listings about sending and receiving values. | - | False |
Kotva | ||||
---|---|---|---|---|
|
...
Possible I/O tags: Ai, Ao, Ci, Co, Di, Dout.
The address of the I/O tag is a text in a format SLC-500 format. The address format 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 default file number is used - see Table 2) |
element | - element number in the file (required) |
.field | - 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 |
File type - Output
[$]O[n]:e[.s][/b]
"n" - the file number, if there is used other than it is different from the default number 0,
"e" - the number of an element in a file,
"s" - the number of a sub-element (0..255),
"b" - the bit number (0..15).
Example:
O:2 $O0:2/0 O:1.0/1
Note: The files of the Output type are read-only.
...
File type - Input
[$]I[n]:e[.s][/b]
"n" - the file number, if there is used other than it is different from the default number 1,
"e" - the number of an element in file,
"s" - the number of a sub-element (0..255),
"b" - the bit number (0..15).
Example:
I:1 $I1:2/0 I:2.0/15
Note: The files of Input type are read-only.
...
File type - Status
[$]S[n]:e[/b]
"n" - the file number, if there is used other than it is different from the default number 2,
"e" - the number of an element in file,
"b" - the bit number (0..15).
Example:
S:0 $S2:40 S:2/15
Note: As regards for the files of Status type, data can not be written bit-by-bit (input tags with the parameter [/b]).
...
File type Binary
[$]B[n]:e[/b]
"n" - the file number, if there is used other than it is different from the default number 3,
"e" - the number of an element in file,
"b" - the bit number (0..15).
Example:
...
File type - Timer
[$]T[n]:e[/b]
"n" - the file number, if there is used other than it is different from the default number 4,
"e" - the number of an element in file,
"b" - an optional prefix /EN, /TT, /DN (bit values) or /PRE, /ACC (integer values).
...
File type - Counter
[$]C[n]:e[/b]
"n" - the file number, if there is used other than it is different from the default number 5,
"e" - the number of an element in file,
"b" - an optional prefix /DN, /CU, /CD, /OV, /UN, /UA (bit values) or /PRE, /ACC (integer values).
...
File type - Integer
[$]N[n]:e[/b]
"n" - the file number, if there is used other than it is different from the default number 7,
"e" - the number of an element in file,
"b" - the bit number (0..15).
Example:
...
File type - Float
[$]F[n]:e
"n" - the file number, if there is used other than it is different from the default number 78,
"e" - the number of an element in file.
Example:
F:0 $F8:0 F29:1
Kotva | ||||
---|---|---|---|---|
|
...
- Ver. 1.0 - July 12th, 2017 - Document creation.
Info | ||
---|---|---|
| ||
...