beautypg.com

ProSoft Technology MVI69-S3964R User Manual

Page 64

background image

MVI69-S3964R ♦ CompactLogix or MicroLogix Platform

Reference

Siemens 3964R Protocol

Page 64 of 80

ProSoft Technology, Inc.

October 31, 2008

Receive Jobs

To receive jobs from a CP only, no additional parameterization is necessary. The
user data received is stored in a file in the CompactLogix or MicroLogix
processor.

The following table shows an example of the data stored in HeaderCom1 in case
of a DB-Send from a CP. The CP is connected to port 1.

Word: High

Byte:

Low

Byte:

0 1141hex

1

00

Data Block (DB)

2

00

Data Word (DW)

3

Number of data words (total number)

1

4

Number of data words (actual block)

2

5 00

00

6 00

00

7 00

00

8 00

00

9 00

00

1

= This is the total number of data words for the whole job.

2

= This is the number of data words stored in RecvDataCom1.

The user data is copied to RecvDataCom1. This is the file you should operate
with.

For port 2, which is similar to port 1, the file for storing the user data received is
called RecvDataCom2.

Send Jobs

To send a job to a CP, Next, define the appropriate header for the job. The
following table shows an example of the header data for a DB-Send job to a CP
with the following parameters:

DB = 10, DW = 0, 128 words, coordination byte 9 = FFhex, coordination byte 10
= FFhex, Data Type = 44hex.

Word: High

Byte:

Low

Byte:

0 0041hex

1 00

10

2 00

0

3

80hex (= 128dec)

4 FFhex

FFhex

5 00

44hex

6 00

00

7 00

00

8 00

00

9 00

00

A DB-Fetch job will be parameterized similar to the example above.

To send with 3964R without RK512 to a CP (identifier 00FFhex), the values for
DB, DW and the coordination bytes will be ignored and can be set to "0".

This manual is related to the following products: