Applies To: |
|
Summary: |
I would like to setup redundant paths to my PLC but for whatever reason I want to use two different protocols, is this possible? |
Solution: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Citect may have several different
protocols for one particular PLC. Officially Citect only supports
redundancy when you use exactly the same protocol for the Primary
and Standby links. In some cases you may want to use a different
protocol for the Standby, for example one might be Ethernet and the
other might be serial. Citect does not officialy support this
configuration however if the datatype definition fro each of the
two protocols in Citect are the same then it will work. Following
is a section of the PROTDIR.DBF from the Citect BIN directory, if
two protocols use the same specification file, eg. ABEI5 and KT5
then they will be compatible for redundancy.
(The PROTDIR.DBF contains a list of all the protocols, specifies some options for the protocol and references a specification file. There is a specification file for each protocol, this file species ranges and syntax for each data type supported by the protocol.. These files are all dBase III files.)
If the two protocols do not use the same file then they may still be compatible. First the MAX_LENGTH field must be the same for both protocols. This specifies the maximum read size from the PLC. However if they are different you can reduce the protocol with the larger number to the same as the smaller number. This will reduce the performance of the driver, however it will allow the redundancy to be used. For example with the TIWAY and TIDIRECT have a different MAX_LENGTH. If you change the TIWAY maximum length to 240 it will make the maximum read size the same for both protocols. This maximum length size is the size that a Citect client will ask for data over the network to the I/O server. The I/O Server will still optimise all the data requests and read from the TIWAY protocol with the real maximum read size of 2048. By decreasing the MAX_LENGTH you will force the Citect client to send more requests over the network cause a slight degrade in performance. Also you must also check if each data type are the same, eg. Following are extracts from the TIDIRECT and TIWAY protocol specification files. TIDIRECT.DBF
TIWAY.DBF
As you can see the specification for types V, X, Y, C, WX, WY, TCP and TCC are the same in both files, this means that you would use Tiway and TIDirect as a redundant pair for these types but if you were to use types LKC or LTI then it would not work because the protocol addressing for these is different. These types are not supported for redundancy between these two protocols |
Keywords: |
Related Links
Attachments