Applies To:
  • CitectSCADA 3.x, 4.x

Summary:
I need additional information on setting up and OMRON PLC with the OMFINS protocol. 

Solution:
Each node on the network, e.g. PLC or CITECT I/O Server, will all have two addresses: an IP address and a FINS address.

IP Address: An address assigned to the Ethernet unit as a node in an Ethernet network, with format as a.b.c.d, where:

a Network number, used to differentiate networks
b Subnet Number, differentiate sub networks
c Host Number, differentiate nodes on an Ethernet network
d Unit address, differentiate destinations at the same PC in FINS protocol

FINS address: An address which is NetworkNumber.NodeNumber.UnitNumber

NodeNumber An address used to differentiate nodes (including Ethernet Units) on OMRON networks for FINS protocol [01,...,126]
NetworkNumber An address used to differentiate Networks on OMRON networks for FINS protocol [01,...,127]
UnitNumber A number used to differentiate CPU Bus Units mounted on a PC (including Ethernet units). [01,...,15], 00 for CVM1 CPU

 

The first thing you should do is confirm you have your ethernet network configured correctly by pinging the PLC from the IO Server. To PING the PLC go to the Command Prompt on the Citect I/O Server and type in ping and then the IP address of the PLC.

For example of the IP address of the PLC is 192.168.1.30 you would type in the command prompt:

C:>ping 192.168.1.30

If your ethernet network is configured correctly you will receive a reply from that address.

After the PING operation is successful, note the following points:

1. The FINS network address of the Citect I/O Server needs to be set in Citect.ini.
    [OMFINS]
    Source=<FINS Network>/<FINS Node Address>/<FINS Unit address>
    Block=256

The FINS Node address of the Citect I/O Server is the same as the last 8 bits of the IP address of the Citect I/O Server

Example: If the IP Address of I/O Server is 205 . 122 . 56 . 1, then, with FINS Network ID = 2, the I/O Server FINS address will be 2 / 1 / 0, where Citect takes a FINS unit number of 0 (acting as a CPU address on a CPU Bus).

So in the Citect.ini file you would have the following entry:

[OMFINS]
Source=2/1/0
Block=256

2. The configuration within the Citect project should be as follows:

IOServer Form
Name: IOServer

 

Boards Form
Board Name:  Board1
Type: TCPIP
Address: 0

 

Boards Form
Board Name:  Board1
Type: TCPIP
Address: 0

 

Ports Form
Port Name:  Port1
Board Name: Board1
Special Opt: 192.168.1.30 <IP address of the PLC>

 

IODevice Form
Name:  PLC_1
Number: 1
Address: 2/30/0/V
Protocol: OMFINS
Port Name: Port1

 

To determine the IODevice address (for the PLC)
w/n/u/m (there are no defaults)

where w is the FINS network address (1-127)
n is the FINS node number (1-126)
u is the FINS PC Bus unit number (0-15)
m is the addressing mode. Enter ‘V’ for CV mode or ‘S’ for CS1 mode.

The FINS Node address of the PLC is the same as the last 8 bits of the IP address of PLC .
The node address of PLC are set by front panel switches.
FINS Unit address must be 0.

Restart PLC and Citect after every change.

 

Keywords:
 

Attachments