Command control blocks, Event command – ProSoft Technology MVI71-MNET User Manual

Page 70

Advertising
background image

MVI71-MNET ♦ PLC Platform

Reference

Modbus TCP/IP Interface Module

User Manual


Page 70 of 109

ProSoft Technology, Inc.

June 23, 2009

Example of 240 words of read and write data (cfg file=10)

Data Files

Description

N11:0 to 239

Read data

N12:0 to 239

Write data

Example of 2300 read and 3500 write data registers (cfg file=10)

Data Files

Description

N11:0 to 999

Read data words 0 to 999

N12:0 to 999

Read data words 1000 to 1999

N13:0 to 299

Read data words 2000 to 2299

N14:0 to 999

Write data words 0 to 999

N15:0 to 999

Write data words 1000 to 1999

N16:0 to 999

Write data words 2000 to 2999

N17:0 to 499

Write data words 3000 to 3499

When the side-connect interface is utilized, registers in the first user data file for
the module are used for command control (offset 50 to 113). The format of these
control commands is similar to that described in the preceding section. The
following section describes the use of command control when the side-connect
interface is used:

Command Control Blocks

Command control blocks are special blocks used to control the module. These
blocks of data are located in the first file of the side-connect interface starting at
register offset 50. The current version of the software supports four command
control blocks: event command control, command control, warm boot and cold
boot.

Event Command

Event command control blocks send Modbus TCP/IP commands directly from the
ladder logic to one of the client on the module. The following table describes the
format of these blocks.

Offset Description

Length

50

2000

1

51 to 54

IP Address

4

55

Service Port

1

56 Slave

Address

1

57

Internal DB Address

1

58

Point Count

1

59

Swap Code

1

60

Modbus Function Code

1

61

Device Database Address

1

Advertising
This manual is related to the following products: