Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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

This driver is used for communication with OMRON PLC devices with 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 communication driver is designed for Ethernet.
 
Before using this driver in the PROMOTIC application it is highly recommended to read the chapter: Communicaton using the PROMOTIC drivers.
 
Basic properties of the driver:
- Using this driver is bound to purchase the license: PmOmron. 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 via Ethernet.
- 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 PmComm object.

Driver supports to usage of PmCommData object. The PmCommMsg object cannot be used.

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

 

Recommended parameters values:

Recommended values for the Ethernet parameters:
TCP/UDP port number9600 (default). Can be changed.
Ethernet transfer type
TCP - Designed for FINS TCP type.
UDP - Designed for FINS UDP type.
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
- 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)
- 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 enter 0.
Source NodeNumber of PROMOTIC application node (PC identifier) in the FINS network. The preset 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 enter 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 is 0, otherwise follow the device documentation.

The communication description by the PmCommData objects

The variables in the PmCommData object (or even better the variables in the PmData 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 enabled). When writing to the variable, only the single value is sent (if the Auto write when writing to item configurator is enabled).

 
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). In the PROMOTIC application represented by the data type: Long.
- R: (Real) stored in the PLC on 4 bytes. 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" defines 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 while the application is launching).

 
Examples of identifier syntax:
- CIO15 = The W type value in CIO data area on the index of 15.
- CIO9.5 = The value of 5th bit in the CIO data area on the index of 9.
- DM8.L = The L type value in DM data area on the index of 8 and 9.
- TK3 = The Bit type value in TK data area on the index of 3.
- TKS7 = The Byte type value in TKS data area on the index of 7.
Description of the PmCommData > Parameters > Special Parameters configurator:
This configurator is not used for given driver.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice