Applies To:
  • CitectSCADA 5.00

Summary:
The following is how to setup Citect communications using the CCSARC ARCNET board. 

Solution:
Boards form
Board name: Board1
Board type: CCSARC
Address: 0
I/O Port: 0x2b0 Set via jumpers on the card.
Interrupt: 2,3,4,5 or 7
Special Opt: -dSpeed

Where speed is the data rate of the PCX 20
0 for 2.5Mbs (default value)
1 for 1.25Mbs
2 for 625Kbs
3 for 312.5Kbs
4 for 156.25Kbs

-r Read and write packets in raw mode. This mode ignores the protocol specification for ARCNET, to facillitate the operation of devices using only the ARCNET hardware standard. The information below is primarily for the benifit of higher level driver writers intending to write a driver using the CCSARC driver in this mode.

Note 1: The SID, DID, msbcount and lsbcount fields in the ARCNET packet diagram below will no longer be transmitted. It is up to the higher level driver to add custom header information.

Note 2: The arcnet driver will not strip off header information on incoming packets. The higher level driver must handle this function. Also, as it is not possible for the Contemporray Control Systems card to tell the CCSARC driver how long an incoming packet is, then all incoming packets are assumed to be 512 bytes and it is up to the higher level driver to determine the end of the packet, and ignore garbage bytes after the end.

Ports form
Port number: DID 1 to 255 of the Destination ID

Example

To set up a MODBUS / MBSLAVE link between two Citect. Both Cards are set up with I/O Port 0x2b0, the MODBUS ID is 80 and the MBSLAVE ID is 81.

MODBUS and MBSLAVE

Boards form
Board name: ARCNET
Board type: CCSARC
Address: 0
I/O Port: 0x2b
Interrupt: 0
Special Opt: blank

MODBUS

Ports form
Port name: Port81
Port number: 81
Board name: ARCNET
Baud rate: blank
Data bits: blank
Stop bits: blank
Parity: blank
Special Opt: blank
I/O Devices form
Name: Modbus
Number: 0
Address: 14
Protocol: MODBUS
Port name: Port81

MBSLAVE

Ports form
Port name: Port80
Port number: 80
Board name: ARCNET
Baud rate: blank
Data bits: blank
Stop bits: blank
Parity: blank
Special Opt: blank
I/O Devices form
Name: Modbus
Number: 0
Address: 14
Protocol: MBSLAVE
Port name: Port80
 

Keywords:
 

Attachments