Knowledge Base /
Release Notes
Omron I/O Driver (Series 2) - Programmable Serial Interface Card User Manual
By Noelle Weymer
Product: IOD-1197 - Omron

1. INTRODUCTION

1.1 Scope

This document is the User Manual for the Omron I/O serial communication driver firmware for the Emerson Process Management (EPM) DeltaV Control System.

It provides informationrequired to install, configure, and maintain the driver firmware on the DeltaV Programmable Serial Interface Card (PSIC). The reader should be familiar with EPM’s DeltaV PSIC andconnected Omron PLC field devices.

The section Document Format briefly describes the contents of each section of this manual. System Specifications outlines hardware and software requirements for the Omron I/O Driver (P1.55) firmware.


1.2 Document Format

This document is organized as follows:

Introduction

Describes the scope purpose of this document
Theory of Operation Provides a general functional overview of the Omron I/O Driver.
Downloading Firmware Describes downloading procedures for the Omron I/O Driver firmware on to the DeltaV PSIC.
Configuration Information

Describes procedures and guidelines for configuring the DeltaV PSIC.

Operational Check Provides tips and assistance to ensure PSIC is
properly setup and configured.
DeltaV-Field Device Electrical Interface Describes the electrical interface between DeltaV
and the Field Device. Also describes the cable pin
assignments for RS-232 communications.
Techincal Support Describes who to call if you need assistance.


1.3 System Specifications

The following table lists the minimum system requirements for the Omron I/O Driver:

Table 1: System Specifications

Firmware

Omron I/O Driver Firmware (P1.55)

Protocol Compatibility

Omron Protocol is based on Cat. No. W143-E1-07 Sysmac Way, Host Link Unit, System Manual. The communications protocol subset implemented is as described in Section 4.

Software Requirements

DeltaV System Software (Release 4.2 or later) installed on a hardware-appropriate Windows workstation configured as a ProfessionalPlus for DeltaV

Serial Interface Port License (VE4102) if required based on DeltaV version.

Minimum DeltaV Hardware Requirements

DeltaV Series 2 Serial Module, PN: 12P2506X022

DeltaV M3, M5, M5+, MD or MX Controller, Power Supply and 8 wide controller carrier


1.4 Revision History

Rev Release Date Revised By Checked By Description
1.55 6/18/12 NFW NFW Initial Release

2. THEORY OF OPERATION

As part of the serial interface port license, a standard Modbus protocol is installed on the DeltaV Serial card prior to customization. The Serial card is flashed from the Modbus protocol to the Omron I/O firmware before

operation. This custom flash converts the Serial card into a Programmable Serial Card (PSIC).

The Programmable Serial Interface Card supports RS-232, RS-422/RS-485 Half Duplex and RS-422/RS-485 Full Duplex communications with external devices. Only RS-232 can be used to directly communicate with

Omron PLC’s. The electrical connection and communication settings must be configured properly to ensure accurate communication as described in Section 4.1.

The primary functions of the driver are listed below:


• Performs data and message handling between DeltaV and Omron

PLC’s.

• Only Master mode is supported. In this mode, the driver sends

read/write commands to the PLC, checks validity of responses

received, and updates the corresponding DeltaV dataset registers.

Each PSIC, when flashed with the Omron I/O Driver, is capable of communicating with Omron PLC’s over one or both of its two ports, depending upon your application. Only point-to-point communications are supported with one Omron PLC on each port.

3.DOWNLOADING THE FIRMWARE

The driver software distribution comprises 8 files, distributed on a CD. These files must be copied to the DeltaV directory on your ProPlus Workstation. The path is:

\DeltaV\ctl\ProgSerial\IOD-1197 Omron

Note that you will have to create the \IOD-1197 Omron subdirectory.

After copy completion, you are ready to program (or upgrade) the Programmable Serial Card with the supplied custom driver software. The steps are as follows

  1. Click on the Start button and select DeltaV-> Installation-> Controller Upgrade Utility as shown below, and the following dialog will appear:


  2. Click on the Upgrade I/O Modules radio button, and then click Next


  3. The dialog below will appear, listing all the available Controllers in your network. From this dialog, select the appropriate Controller and then click Next.


  4. The following dialog will appear, listing all the I/O modules in your selected Controller. The shown list of I/O modules is an example only. Your list will be different

    Note: The first time a standard Serial card is upgraded to the Omron Driver, the dialog will be as shown below (card 8). When upgrading an exisiting Programmable Serial Card, skip Steps 5 and 6 and go to Step 7.


  5. Select the card and then click the Browse button and select the DeltaV path as shown below, and then click Ok. Note that the disk drive could be C or D.
  6. Select the I/O module again as shown below and then click Next. Go to Step 9.



  7. If you are upgrading an existing Programmable Serial Card, the dialog will be as shown below. From this dialog, select the Programmable Serial Card I/O Module in the list.


    For example, we will select I/O Module 8. This will give you a dialog, from which you will select the file path to where the driver software is located. This path will be: \DeltaV\ctl\ProgSerial\IOD-1197 Omron Once you are in the specified directory, you will need to select the following file:

    Omron.S2F


    This is shown in the following dialog.



  8. After selecting the .S2F file, Click on Open. This dialog will close and you will be back to the following:


  9. In this dialog, Click Next again. You will get the following dialog, confirming the Controller and I/O Module to program.


  10. Click Next and the I/O Module upgrade process will begin. After completion, you will receive the following dialog, indicating success.


  11. This completes the I/O Module upgrade process.

4.CONFIGURATION INFORMATION

This section describes the steps necessary to configure the DeltaV PSIC to obtain proper communication.

Each Serial Card in the I/O subsystem contains two channels or ports. Each port will be enabled or disabled individually and each port will contain some port specific configuration parameters. Port configuration comprises RS-232 parameters, baud rate, parity, byte size, and stop bits used. All selected parameters must match the connected PLC.

The DeltaV Explorer view of a configuration containing a PSIC will be as follows, where C01 has a card type of Programmable Serial Card, P01 and P02 are the ports on the card, DEVXX are the PLC’s attached to the ports and DSXX are configured datasets under each device. You can have only one PLC under each port. Note that the device address (under DEV01) must match the selected PLC address in point-to-point communications.

A total of 16 datasets can be configured under each port. Dataset registers can be mapped to different areas, e.g., IR, HR, etc. series Omron registers.


The following sections describe configuration details for the PSIC.

4.1 Port Configuration

First, enable the port. Then click on the Advanced Tab and select Master. Slave mode is not supported. Specify the retry count, message timeout value in milliseconds, and message delay time. In most cases, you can leave these at their default values. Next, click on the Communications Tab and specify the Port type. The Port type will be RS-232 for point-to-point communications. Lastly, select the Baud rate, Parity, Data bits and Stop bits parameters; these must match the PLC settings.


4.2 Device Configuration

Only one device per port is supported. The device address must match the selected PLC address.

4.3 Dataset Configuration

Each dataset contains parameters specifying the Omron PLC data areas to read or write. Parameter details are described in Section 4.3.4.

4.3.1 Data Direction:

The Data Direction for dataset should be defined as Input or output. This parameter is available only under Master mode. Datasets can be Input only, Output only, or Output with Readback. If configured as Output with Readback, the normal scan of the dataset is to read the PLC registers. Outputs from DeltaV to the PLC are by exception, i.e., on data change the DeltaV controller sends a write request to the serial card. The serial card sends the requested change to the PLC as a priority and then resumes its input scan.

4.3.2 Output Mode:

Two output modes are available in the DeltaV PSIC: block output (0) and single value output (1). In block mode, any register change in the dataset will trigger the entire dataset to be written to the PLC. In single value mode, only the changed register is written out.


4.3.3 DeltaV Data Type:

All datasets are configured as 16 bit UINT with Status.

4.3.4 Device DataType

The Device DataType determins the Omron data table type as described below. All other device data type values are unsupported.

Table 1

Device Data Type Omron Register Type Dataset Register Type
0 Status and Error Data 16 bit UINT with status
1 IR/SR Data Area 16 bit UINT with status
2 HR Data Area 16 bit UINT with status
3 AR Data Area 16 bit UINT with status
4 LR Data Area 16 bit UINT with status
5 TC Data Area 16 bit UINT with status
6 DM Data Area 16 bit UINT with status
7 TC PV Data Area 16 bit UINT with status


Based on device data type, the Omron commands supported are as follows.

Table 2

Device Data Type Omron Command Type
0

Configure the dataset as Input. The driver uses the MS and MF commands. The PLC Status and Error data is read and stored in dataset registers as follows:

R1 -- PLC Status
R20 -- Error Status -- word1
R21 -- Error Status -- word2

The data is a bit map, for example, PLC execution mode of Run, Monitor or Program. Consult the PLC documentation for description of PLC status bits.

The dataset can also be configured as Output with Readback. In this mode, R30 and R31 are write triggers. R30 is used to change the PLC execution mode via SC command. Write 0, 2 or 3 to change the mode to Program, Run or Monitor, respectively. All other values written to R30 are ignored.

R31 is used to clear the PLC error status. Only value 0 or 1 are valid. If a 1 is written to 31, the PLC error is cleared on the next Error status read. If 0 is written, the Error status read does not affect the PLC error status.

1

Configure this dataset as Input to read the IR/SR data area in the PLC. Command RR is used. The dataset starting address and number of values determines where in the IR/SR data area the read will begin and the number of values which will be read. The data read is stored in dataset registers. An invalid PLC address specified in the configuration will cause the entire dataset to be error. The data is 16 bit values.

This dataset can be configured as Output or Output with Readback as well. The WH command is used for data writes.

.

2

Configure this dataset as Input to read the HR data area in the PLC. Command HR is used. The dataset starting address and number of values determines where in the HR data the read will begin and the number of values which will be read. The data read is stored in dataset registers. An invalid PLC address specified in the configuration will cause the entire dataset to be error. The data is 16 bit values.

This dataset can be configured as Output or Output with Readback as well. The WH command is used for data wires.

3

Configure this dataset as Input to read the AR data area in the PLC. Command RJ is used. The dataset starting address and number of values determines where in the AR data area the read will begin and the number of values which will be read. The data read is stored as dataset registers. An invalid PLC address specified in the configuration will cause the entire dataset to be error. The data is 16 bit values.

The dataset can be configured as Output or Output with Readback as well. The WJ command is ussed for data writes.

4

Configure this dataset as Input to read the LR data area in the PLC. Command RL is used. The dataset starting address and number of values determines where in the LR data area the read will begin and the number of values which will be read. The data is stored in dataset registers. An invalid PLC address specified in the configuration will cause the entire dataset to be error. The data is 16 bit values.

This dataset can be configured as Output or Output with Readback as well. The WL command is used for data wires.

5

Configure this dataset as Input to read the TC data area in the PLC. Command RG is used. The dataset starting address and the number of values determines where in the TC data area the read will begin and the number of values which will be read. The data read is stored in dataset registers. An invalid PLC specified in the configuration will cause the entire dataset to be error. The data is 0 or 1 values corresponding to the Timer/Counter of On or Off, respectively.

The dataset can be configured as Output or Output with Readback as well. The WG command is used for data writes.

6

Configure this dataset as Input to read the DM data area in the PLC. Command RD is used. The dataset starting adddress and number of values determines where in the DM data area the read will begin and the number of values which will be read. The data read is stored in dataset registers. An invalid PLC address specified in the configuration will cause the entire dataset to be error. The data is 16 bit values.

The dataset can be configured as Output or Output with Readback as well. The WD command is used for data writes.

7

Configure this dataset as Input to read the TC PV data area in the PLC. Command RC is used. The dataset starting address and number of values determines where in the TC PV data area the read will begin and the number of values which will be read. The data read is stored in dataset registers. An invalid PLC address specified in the configuration will cause the entire dataset to be error. The data is 16 bit values.

This dataset can be configured as Output or Output with Readback as well. The WC command is used for data writes.


4.3.5 Data Start Address and Number of Values

The Start Address for each dataset should be configured to match the Omron registers it reads or writes. Note that since the dataset registers are indexed starting with 1, the Start Address must be configured such that (Start Address + 1) is the first Omron register being accessed.

The maximum number of values for a dataset is 100, and all addresses read or written must exist in the PLC.

4.3.6 Special Data 1-5

Under the Special Data tab, configure all the data values as 0.

5.OPERATIONAL CHECK

5.1 Scope

The following sections provide some assistance to ensure the interface is working properly.

5.2 Verify Hardware and Software Version Number

The user can verify that the Omron I/O driver has been installed using the DeltaVDiagnostics tool. The Diagnostics tool will show the Hardware Revision No. (HwRev) and the Software Revision No. (SwRev).

To begin the DeltaV Diagnostic tool select Start-> DeltaV-> Operator-> Diagnostics. In the Diagnostics tool expand the Controller, I/O and then double click on the Programmable Serial Interface Card that has the driver installed.

The following information will be displayed:

: : :

HwRev Hardware Revision 1.1 (or later)

SwRev Software Revision P1.13 (or later)

5.3 Verify Configuration

• Verify port configuration: The serial port must be enabled. User needs to make sure communication settings such as baud rate, parity, and number of data bits match the field device settings.

• Verify dataset configuration: The datasets configured must be as shown above.

5.4 Verify I/O Communication With Control Studio

User can create I/O modules in the control studio to verify correct values are read from the PSIC. For AI and DI data, the values should be changed in the field device and verified that the new data are correctly reported in DeltaV. Similarly, verify that the AO and DO data is being written correctly from DeltaV to the field device.

5.5 Using Diagnostics

• Verify PSIC communication: Select the PSIC on Diagnostics and press the right mouse button. Select Display Real -Time Statistics from the drop down menu. If the Programmable Serial Interface Card is functioning then the user will see the Valid Responses counter and the Async and/or Sync Transactions counters incrementing. There will not be any error counting up.

• Verify port statistics: Select the Port on the Programmable Serial Interface Card and press the right mouse button. Then select Display Port Statistics form the drop down menu. Verify that the port communications statistics are being displayed properly and are counting as expected for the protocol’s functionality.

• Verify dataset values: Select a dataset and press the right mouse button. Select View Dataset Registers from the Drop down window. Verify that the dataset values are displayed as expected

5.6 LED Indication

The Yellow LED for the port should be on solid when all communications on that port are valid. The Yellow LED should be blinking if there is some valid communications and some communications with errors on that port. The Yellow LED should be OFF if there are no valid communications on that port.

6. DeltaV- Field Devices Electrical Interface

The electrical interface between DeltaV and Omron PLC’s conform to the RS-232 standards.

Each PSIC has 2 ports, which function independently. The distance between the serial card and the PLC is limited to 50 feet. The the pin assignments for the PSIC serial terminal block are as follows:

Terminal Number

Signal Description

1

Port 1 - Isolated Ground (GND)

2

Unused

3

Port 1 – Transmit Data (TxD)

4

Unused

5

Port 1 – Receive Data (RxD)

6

Unused

7

Port 1 – Data Terminal Ready (DTR)

8

Port 1 – Data Set Ready (DSR)

9

Port 2 - Isolated Ground (GND)

10

Unused

11

Port 2 – Transmit Data (TxD)

12

Unused

13

Port 2 – Receive Data (RxD)

14

Unused

15

Port 2 – Data Terminal Ready (DTR)

16

Port 1 – Data Set Ready (DSR)

6.1 Wiring Connections

In general, the figure below shows the connections between the Field Device and the PSIC termination block. In some cases, RxD and TxD signals need to be swapped to create a NULL cable. This can be done easily at the PSIC termination block if needed.


Techincal Support

For technical support or to report a defect, please call MYNAH Technologies at +1.636.728.2000. If a defect is discovered, please document it in as much detail as possible and open a support ticket. For more information about creating a MYNAH My Account please refer to the link below.

http://www.mynah.com/knowledge-base/my-account-mynahcom-features-and-directions

Thank you for using DeltaV.