Virtual I/O Modules (VIM) > Configure VIM Ethernet devices

VIM Ethernet device configuration data

Table: Device data types
Device data type Command type PLC type

0-3

Reserved

4

Typed (Logical ASCII Addressing)

PLC5 & Logix

5

Ranged (Logical ASCII Addressing)

PLC5 & Logix

6

Diagnostic

PLC5 & Logix

7

Read-Mod-Write (Logical ASCII Addressing)

PLC5

8

Typed (Logical Binary Addressing)

PLC5 & Logix

9

Ranged (Logical Binary Addressing)

PLC5 & Logix

10

Read-Mod-Write (Logical Binary Addressing)

PLC5

11

Protected Typed Logical R/W with 3 address fields

SLC 505 & Logix

12-14

Reserved

15

Generic ENBT

Logix

255

VIMNet Diagnostics data (see notes at end of Section)

All

The following table lists the meanings of Special data values.

Table: Special data values

SpecialData1

PLC-5 /SLC File Type

For ControlLogix devices, you must map internal native tags to PLC5/SLC file types and file numbers when using DF1 DeviceDataTypes. When using Generic ENBT communications (DeviceDataType=15), special data values are not used.

0 = Output File Type, O

1 = Input File Type, I

2 = Status File Type, S

3 = Binary File Type, B

4 = Timer File Type, T

5 = Counter File Type, C

6 = Control File Type, R

7= Integer File Type, N

8 = Floating File Type, F

SpecialData2

PLC-5 /SLC File Number

0 – 65535 file number

For example, when reading/writing Integer file N15, configure special data 1 as 7, and special data 2 as 15. Similarly, when reading/writing Floating point file 8, configure special data 1 as 8 and special data 2 as 8.

SpecialData3

Reserved

SpecialData4

  • For Logix, this parameter is configured such that the low byte is always set to 1, and the high byte is the Logix CPU slot number in the chassis. The slot number is zero based. For example, if the CPU is in the first slot (slot 0), configure a 1 for this parameter. If the CPU is in second slot, configure a 257 for this parameter. The parameter is calculated as (256 X slot) + 1.

  • For SLC 505 and PLC5/XXe, this parameter should be set to 0.

SpecialData5

Reserved

DeltaV Data Type

This attribute defines how data is stored in the DeltaV dataset. The following tables describes available options for PLC5/XXE, SLC 5XX, and ControlLogix processors.

Table: PLC 5/XXE Data Tables
PLC data type Available DeltaV data types Access Restrictions

O – Table

B – Table

Boolean with Status

Discrete with Status

16-bit Int with Status

16-bit Uint with Status

R/W

  • a. 16-bit aligned dataset Start Address. For example: 0, 16, 32, etc.

  • b. Number of values is multiple of 16, and refers to bits. Maximum 96 registers. Each dataset register is a bit.

Maximum registers are 100. Starting address is any 16-bit word

I – Table

Boolean with Status

Discrete with Status

16-bit Int with Status

16-bit Uint with Status

R

  • a. 16-bit aligned dataset Start Address. For example: 0, 16, 32, etc.

  • b. Number of values is multiple of 16, and refers to bits. Maximum 96 registers. Each dataset register is a bit.

Maximum registers are 100. Starting address is any 16-bit word.

N – Table

C – Table

T – Table

S – Table

R – Table

16-bit Int with Status

16-bit Uint with Status

R/W

Maximum registers are 100. Starting address is any 16-bit word.

F – Table

Floating Point with Status

R/W

Maximum registers are 50. Starting address is any floating point register.

Table: SLC 5/XX and ControlLogix Data Tables
PLC data type Availalbe DeltaV data types Access Restrictions

O – Table

B – Table

Boolean with Status

Discrete with Status

16-bit Int with Status

16-bit Uint with Status

R/W

a. 16-bit aligned dataset Start Address. For example: 0, 16, 32, etc.

b. Number of values is multiple of 16, and refers to bits. Maximum 96 registers. Each dataset register is a bit.

Maximum registers are 100. Starting address is any 16-bit word.

I – Table

Boolean with Status

Discrete with Status

16-bit Int with Status

16-bit Uint with Status

R

a. 16-bit aligned dataset Start Address. For example: 0, 16, 32, etc.

b. Number of values is multiple of 16, and refers to bits. Maximum 96 registers. Each dataset register is a bit.

Maximum registers are 100. Starting address is any 16-bit word.

N – Table

C – Table

T – Table

S – Table

R – Table

16-bit Int with Status

16-bit Uint with Status

R/W

Maximum registers are 100. Starting address is any 16-bit word.

F – Table

Floating Point with Status

R/W

Maximum registers are 50. Starting address is any floating point register.

Device Data Type

This attribute defines what type of transaction will be performed for the Dataset between the Serial Card and the Allen-Bradley device Values from 0 to 11 are listed in the above table. They are briefly described below:

Types 4 (Typed Transaction with ASCII addressing) and 8 (Typed Transaction with binary addressing):

The typed transactions treat each data type as an element and automatically adjust the memory address to accommodate the defined element type. Therefore, the starting address points to different memory location depending on the data type. It points to the word address for integer data and double word address for floating point data.

For Binary data type, it points to the word, not the bit, address within the Binary file. The number of element denotes the number of bits to be included in the Dataset starting at the specified word address. The bit position is relative to the starting word address. Therefore, every seventeenth bit will start at the next word. For example, a starting address of 8 with 32 elements means the Dataset starts at the eighth word in the binary file and contains 32 bits. The seventeenth bit will start at the ninth word. The bit position in the PLC is specified by a slash (/) after the word address. Therefore, the first bit in the above Dataset has an address of B3:8/0. Although each Dataset can contain 100 elements, it is recommended that the maximum number to be 96 to ensure the Dataset ends on a word address boundary.

Both single and block output modes are supported for integer, binary, and floating point file type.

Types 5 (Ranged Transaction with ASCII addressing) and 9 (Ranged Transaction with binary addressing):

Unlike Typed operations that automatically adjust the memory address to accommodate the defined element type, the Ranged operations use word address exclusively. It performs consecutive memory word read and write. The driver takes care of address adjustment for floating point file type, making it transparent to the user and DeltaV. Therefore, the Ranged operation on integer, binary and floating point file types is the same as the Typed operation.

Both single and block output modes are supported for integer, binary, and floating point file type.

Unlike the Typed read which only accesses the accumulator or position attribute, the Ranged read always starts at the first attribute and includes all three attributes in the data file.

Types 7 (Read-Modify-Write with ASCII addressing) and 10 (Read-Modify-Write with binary addressing):

When communicating with a PLC-5, Read-Modify-Write (RMW) is used to set/reset a single bit in the binary file. User can set any bit in the Dataset. It is different from writing to the binary file with Typed write. The Typed write will write all 16 bits in the word. The RMW let user write a single bit in any word, leaving other bit unaffected. The block output mode is not supported in RMW. Therefore, single output mode (1) must be used with RMW.

RMW is for output only. The data direction parameter in the Dataset configuration must be "output". Configuring RMW as input to Serial Card will cause error and undesirable results.

Type 11 (SLC 500, SLC 5/03 and SLC 5/04 Protected Typed Logical Read/Write with three address fields):

This DeviceDataType is used to read/write all available tables (including the Input and Output tables) of the SLC processors listed. The reads and writes are from/to the logical address generated based on the starting address of the dataset. The following describes the parameters and their usage:

Input, Output, and Binary tables can be defined as Boolean, Discrete or 16-bit UINT. When using Boolean or Discrete, the starting address is always a 16-bit word address (0, 16, 32, etc), and the Number of Values refers to bits. For example, a Dataset with starting address at 0 and 32 values gives you 32 bits. When using 16-bit UINT, the starting address can be anywhere in the table, and the Number of Values refers to 16-bit registers.

Input tables are read only. Output tables can be read and written. When performing reads/writes to the Output table, the driver will access the SLC on a 16-bit word basis. If the Output mode in DeltaV is 0 (i.e., Block), the entire block will be written if any bit in the Dataset changes. On the other hand, if the Output mode is 1 (i.e., Single Value), then on a single bit change, the 16-bit word containing that bit will be written.

For floating point values, the starting address refers to the register number and a 4-byte value is read/written. For all other tables, the starting address refers to the register number and a 2-byte value is read/written.

Note

When using Device Data Type of 255 for VIMNet diagnostics, configure the dataset as Input; 32-bit UINT; Start Address=0; and Number of values=50, No Special Data parameters are needed..

DeviceDataTypes 7 and 10 are only valid with file type 3 and output mode 1.

Output Modes: 0- block output; 1- single data output.

Floating Point file types, 32-bit Integer, and 32-bit unsigned Integer require 2 16-bit registers per value, thus reducing the registers per dataset to 50 (maximum 16-bit registers per dataset is 100).

When addressing registers, DeltaV Serial Card register numbers are 1 based, whereas PLC and SLC registers are 0 based.

For information on how to connect I/O registers in a Logix controller to DeltaV datasets using Class1 and Class3 Ethernet/IP messaging, refer to the Mynah Ethernet/IP Master Driver for DeltaV Virtual I/O Module User's Manual.