Promotic
WikipediaLinkedInYoutubeTwitterFacebook

PmOmronFINS - Driver for communication with OMRON PLC devices by the FINS protocol

This driver serves for communication with OMRON PLC devices by the FINS protocol. See also Communication with Omron PLC devices.
 
FINS (Factory Interface Network Service) is a network protocol used by OMRON PLCs working on different physical networks like Ethernet, Controller Link or DeviceNet. This driver is designed only for Ethernet.
 
Before using this driver in the PROMOTIC application it is highly recommended to read the chapter: Communication using the PROMOTIC drivers.
 
Basic properties of the driver:
- Usage of this driver requires purchase of the PmOmron license. With the freeware version PmFree, or when developing the application (with development environment for tersting purposes), this component is always functional.
- The communication is done for Ethernet-client.
- The PROMOTIC application is the MASTER (i.e. it initiates the data transfer) from this communication point of view.
- The driver is incorporated into the PROMOTIC system by means of the PmaComm object.

The driver supports to usage of the PmaCommGroup object. The PmaCommMsg object cannot be used.

For easy integration of this driver into the application it is handy to use: Preconfigurations in group "Omron - PLC device"

 

Recommended parameters values:

Recommended values for the Ethernet-client parameters:
TCP/UDP port number9600 (default). Can be changed.
Ethernet transfer type
TCP - Designed for FINS TCP type.
UDP - Designed for FINS UDP type.
Not connect until first transferNOT checked (mandatory)
Close connection after every transferNOT checked (mandatory). After each connection with the PLC, it is necessary to transfer several initialization messages and if the connection is closed repeatedly, the communication speed would be decreased significantly.
Description and recommended values for the Protocol parameters:
Protocol data type
FINS TCP - Use this type:
- if the FINS nodes are connected through several IP layers
- if the connection quality is poor (for example for wireless LAN)
FINS UDP - Use this type:
- if the FINS nodes are connected to the same Ethernet segment (FINS UDP provides higher bandwidth)
- if the remote device does not support FINS/TCP
Source Network AddressNumber of FINS network where the PROMOTIC application is located. If the network contains only a single Ethernet layer, then is entered 0.
Source NodeNumber of PROMOTIC application node (PC identifier) in the FINS network. The default value is 253. If using FINS TCP or entering the value 0 then the PLC assigns the value automatically.
Source UnitFormal number of the PC program (PROMOTIC). Typical value is 0.
Destination Network AddressNumber of FINS network where the PLC communicating with the PROMOTIC application is located. If the network contains only a single Ethernet layer, then is entered 0.
Destination NodeNumber of PLC node (PLC identifier) in FINS network. The value is configured by jumpers on the PLC. The FINS network topology allows to have one or multiple FINS nodes behind a single IP address.
Destination UnitNumber of logical unit of the PLC (parts). The OMRON PLC can be logically divided into several parts (units). The typical parts are the CPU, internal bus, perifery unit, communication module, memory of different types, etc. If a compact PLC is used then the value 0 is entered, otherwise follow the device documentation.

The communication description by the PmaCommGroup objects

The variables in the PmaCommGroup object (or even better the variables in the PmaData object with ExtComm data extension) can be of arbitrary number, type and order. The driver uses optimalised internal communication messages for reading the data from the device.

All variables are read (if the "Data refresh enabled" configurator is checked). When writing to the variable, only the single value is sent (if the "Auto send when writing to item" configurator is checked).

 
The driver supports the following data types:
- W: (Word) stored in the PLC on 2 bytes (from 0 to +65 535).

In the PROMOTIC application represented by the data type: Long.

- I: (Integer) stored in the PLC on 2 bytes (from -32 768 to +32767).

In the PROMOTIC application represented by the data type: Integer.

- L: (Long) stored in the PLC on 4 bytes (from -2 147 483 648 to +2 147 483 647).

bytes order PC:1234, PLC:4321.

In the PROMOTIC application represented by the data type: Long.

- L1: (Long) stored in the PLC on 4 bytes (from -2 147 483 648 to +2 147 483 647).

bytes order PC:1234, PLC:2143.

In the PROMOTIC application represented by the data type: Long.

- R: (Real) stored in the PLC on 4 bytes.

bytes order PC:1234, PLC:4321.

In the PROMOTIC application represented by the data type: Single.

- R1: (Real) stored in the PLC on 4 bytes.

bytes order PC:1234, PLC:2143.

In the PROMOTIC application represented by the data type: Single.

- Bit: (1 bit)

In the PROMOTIC application represented by the data type: Boolean.

 
The driver supports the following data areas:
- CIO = Common Input/Output Register
- WR = Working Relay Register
- HR = Holding Relay Register
- AR = Auxiliary Relay Register
- TIM = Timer Register
- CNT = Counter Register
- DM = Data Memory Register
- EM = Extendet Data Memory Register
- TK = Task Flag. The data type is Bit.
- TKS = Task Flag Status. The value is stored on the 1 byte.

For all areas (except for TK and TKS) the "index" represents an array of values of 16-bit registers (W data type). Even if the 32-bit data types (L and R) are used then the "index" specifies the index of lower 16-bit registry. The ItemID identifier can (but also may not) contain the specification of forced data type (b, I, L, R).

 
Description of the ItemID configurator:

ItemId is the text identifier of the item that is used for addressing the value in the device. The ItemID configurator tells the driver how to receive or send the item value. The text can be written manually, or it can be assembled in the window opened by the button to the right of the configurator. Macro expression can be used for input (it is evaluated after starting the application).

 
Examples of identifier syntax:
- CIO15 = The W type value in CIO data area on the index 15.
- CIO9.5 = The value of 5th bit in the CIO data area on the index 9.
- DM8.L = The L type value in DM data area on the index 8 and 9.
- TK3 = The Bit type value in TK data area on the index 3.
- TKS7 = The value of the Byte type in TKS data area on the index 7.
Description of the PmaCommGroup > Parameters > Special Parameters configurator:
This configurator is not used for given driver.

History:
Pm8.03.27: Sometimes after the PLC was switched off and on the driver stopped communicating.
Pm8.03.25: Added data type L1 and R1.
Pm8.03.15: the EM register is now supported.
Pm8.03.01:
- This driver can communicate by the FINS protocol with new PLCs by the Omron company. The original the PmOmronC communication driver is used for communication by the older protocol Mode-C.
- Both drivers are licenced by common license PmOmron.
Pm8.03.01: Created
PROMOTIC 9.0.7 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice