
|
|
FinsGateway Configuration |
|
Forward |
SYSMAC OPC Server can communicate trough native protocol and also trough FinsGateway of OMRON.
The following contents are explanations how to configure Ethernet and Serial communication using FinsGateway.
Refer to the manual of FinsGateway for the details.
Notice
The following contents is intended for users who integrate with TAKEBISHI OPC Server to use smoothly.
TAKEBISHI doesn't guarantee the operational results about its setting way and each explanation in this site.
We recommend you to verify the function carefully.
About support information and download of FinsGateway (document&patch) See OMRON WEB Site.
|
|
Menu |

Select 'FinsGateway Configuration' from program menu. Setting tool executes automatically.
|
|
Service Setting |

Select 'Service' from the left pane. Service setting window opens. Select interface you use (e.g. Ethernet or Serial) and execute the service.
Notice
If you continue using the service 'Serial Unit', you can't use COM port from other applications.
|
|
Network and Unit Setting |

Executing service, connecting methods 'Local Network1', 'Local Network2' etc will appear in Network.
|
|
Ethernet Setting |

Display 'Network and Unit Setting'. Open 'property' window.

Configure the network with the following procedure.
- Select 'Network' tab.
- Set the 'Network Number' except 0. It is assigned number that is as same as Ethernet unit.
- 'Own node number' must be other number in FINS node existing in the same network. Generally it is set the last number of IP address (4th byte). For example, if IP address is '192.168.1.29', specify '29' as the dialog box shows above.
- 'Communicating unit number' should be same as unit number of own station (computer). '17' is set as a default.
Notice
- '0' will be special number and indicates 'own network' in network number. If you join only one network, you can set 0 for the network even if it has other number. But if you join some networks, you can't use '0'. It will be rooting error. And you can't use '0' for communicating over hierarchy.
- '0' will be special number and indicates 'own node' in node number. '0' will be used for special case. For example, communicating between unit and process in own node.
- '0' is a reservation number that indicates CPU unit in unit number.

Configure the communication unit with the following procedure.
- Select 'Communication Unit' tab.
- Use 9600 for 'UDP port number' as default setting.
- 'Prior IP address' should be static IP address. FinsGateway doesn't correspond to dynamic assignment by DHCP system.
- Select 'Automatically Conversion' for 'FINS-IP address conversion'. If you select 'IP address table Conversion', you should relate IP address and unit number.

Configure the node with the following procedure. (If you select 'Automatically Conversion', you don't have to do this.)
- Select 'Node' tab.
- If you select 'IP address table Conversion', click 'search' button, search node in LAN and configure 'System setting'.
|
|
Configuration PLC (Ethernet) |

Execute CX-Programmer. Select 'CX-Net(Network setting)' from 'tool' menu. PC network configuration tool executes automatically.

After communicating PC, select 'Setting' of 'Rooting table' from menu and display PC rooting table window.

Click right button of the mouse on unit number of interface unit. (set in the front rotary switch) and select 'Add own network". Input network number that is not duplicate and select 'ETN' or 'SLK' or 'CLK' depending network type. ('ETN' is for Ethernet communication, 'SLK' is for Serial, 'CLK' is for CPU communication.)

Unit No.4 is registered as network '1' following above-mentioned operation.
|
|
Check communication (Ethernet) |
 
Confirm if it works successfully in PING command of Window. If it works successfully, 'Reply from' will be displayed as the left window shows.
If it fails, 'Request time out' will be displayed as the right window shows. If it fails, confirm the Ethernet setting of PC and PLC.

Select 'Network' - 'FINS communication Test' from menu.
Confirm if it can communicate with the following operation. Set '(Network number), (Node number), (Unit number)' in target device.
(1) Send read type command(0501) to CPU_UNIT(0.0.0) of FinsGateway in own node (PC).
->If you can read, it means CPU_ UNIT of FinsGateway works successfully.
(2) Send read type command(0501) to ETN_UNIT(0.0.17) in own node (PC).
# If you set unit number of ETN_UNIT as '17', it will be (0.0.17).
->If you can read, it means ETN_UNIT of FinsGateway works successfully.
(3) Send read type command(0501) with network number to ETN_UNIT(1.0.17) in own node (PC).
->If you can read, rooting table of FinsGateway works successfully.
(4) Send read type command(0501) to Ethernet unit(1.103.254) in target node (PLC).
# Set network number and node number depending on your circumstance. (1.103.254) is an example, if you set network number '1' and node number '103(162.168.1.103)'.
# Unit number should be set '254' that indicates CPU of target.
->If you can read, it means communication of Ethernet unit in PLC of target works successfully.
(5) Send read type command(0501) to CPU unit (1.103.0) in target node (PLC).
# Set network number and node number depending on your circumstance. (1.103.0) is an example, if you set network number '1' and node number '103'.
# Unit number should be set '0' that indicates communication unit of target.
->If you can read, it means communication of CPU in PLC of target works successfully.
If you can do all, it indicates FinsGateway communicates with PLC successfully.
|
|
Serial communication setting |

Display 'Network/Driver". Open the property of 'SerialUnit'. Check COM port you use.

Display 'setting of network and unit'. Open 'property' window.

Configuration the network with the following procedure.
- Select 'Network' tab.
- Set 'Network number'. It should be except already used number in FinsGateway. (Ethernet or other network use.)
- 'Own node number' or 'Communication unit number' should be set as in 'Communication circuit' tab. (the right tab in the window.)

Configure the communication unit with the following procedure.
- Select 'Communication unit' tab.
- Set circuit name of communication object on 'Communication port'.
- Set communication condition that already set in PLC on 'baud rate', 'date bit', 'stop bit' and 'parity'.
# If you don't know communication condition of PLC, click 'Search' button.
Notice
Serial communication port of CPU is different from RS232C in pin assign. Cross cable is not useful in this case. Use recommended cable or make it written in manual.
 
Configure the node with the following procedure.
- Select 'Node' tab.
- Click 'Add' button. Open node edit dialogue.
- Set '240' in 'Node number'. (Node number in FinsGateway is fixed '240".)
- Set your CPU type in 'Type name".
- Select 'SYSWAY' or 'SYSMAC-CV' in protocol depending on your use. (If you use SYSMAC-C, select 'SYSWAY'. If you use SYSMAC-CS/CV1 series, select 'SYSWAY-CV'.)
- Set '00' in 'Station number/Data".
- Set '1' byte in 'Data size".
|
|
Check communication (Serial communication) |

Select 'Network' - 'FINS communication Test' from menu.
Confirm if it can communicate with the following operation.
Set "(Network number), (Node number), (Unit number)" in target device.
(1) Send read type command(0501) to CPU_UNIT(0.0.0) of FinsGateway in own node (PC).
->If you can read, it means CPU_UNIT of FinsGateway works successfully.
(2) Send read type command(0501) to SERIAL_UNIT (0.0.24) in own node (PC).
# If you set unit number of SERIAL_UNIT as '24", it will be (0.0.24).
->If you can read, it means SERIAL_UNIT of FinsGateway works successfully.
(3)Send read type command(0501) with network number to SERIAL UNIT (2.0.24) in own node (PC).
->If you can read, rooting table of FinsGateway works successfully.
(4) Send read type command(0501) to CPU unit (2.240.0) in target node (PLC).
# Set network number and node number depending on your circumstance. (2.240.0) is an example, if you set network number '2' and node number '240".
# Unit number should be set '0' that indicates communication unit of target.
->If you can read, it means communication of CPU in PLC of target works successfully.
If you can do all, it indicates FinsGateway communicates with PLC successfully.
|
|