Applies To:
  • CitectSCADA 1.00 1.01 1.10 1.11 1.20 2.00 2.01

Summary:
The following procedure shows how to setup the Citect loop back tester. This is useful for testing you communication hardware and cables. The loop back can be used internaly or with a external loop back. The PCXI, MCXI and COMXI Digiboards are supported as well as the local COM port. 

Solution:
Configure a unit for each port to be tested. The protocol should be set to LOOPBACK and the port set to the required baud rate etc.
2. The following CITECT.INI options are supported:.

[loopback]

loopback = 0 or 1

Set loopback to 1 if internal loop back is to be performed (make sure this entry is deleted after running the loop back test). With loopback set to 0 ,a loop back connector which ties pins 2 and 3 together is required at each port.

size = maximum frame size

Set the maximum frame size to 'size'. The length of each frame transmitted is random between 1 to size - 1. The default size is 512.
3. There should be no other drivers configured.
4. Start up citect. Each port will transmit a frame of random length. This process is repeated when the entire frame is received.
5. Use "page driver" in the kernel page to look at the statistics. Type 'v' to set to verbose mode. The following statistics are displayed:

Number of characters transmitted.

Number of frames transmitted.

Number of characters received.

Elapsed time in milliseconds.

Characters received per second.

Start time in milliseconds.

Total number of errors.

Error code of last error.

Error Code
6 The received character is not the same as the character transmitted.
 

Keywords:
 

Attachments