ProSoft Technology PS69-DPM User Manual

Page 73

Advertising
background image

PS69-DPM ♦ CompactLogix or MicroLogix Platform

Contents

PROFIBUS DPV1 Master

User Manual

ProSoft Technology, Inc.

Page 73 of 130

October 1, 2014

PROFIBUS Output Data

The remainder of the output area is used for PROFIBUS output data for connected Slaves.
The output information is transferred from the controller to the module. Output data from the
PROFIBUS system always starts at the 16th byte (based on Start Index 0) in the output
region.

Thus, the module has a maximum of 480 bytes output data that it can use for Slave devices.
The output data of the Slaves are arranged in this area according to the I/O mapping table
assigned by PROSOFT.fdt (SYCON.net). PROSOFT.fdt (SYCON.net) is able to configure
more than 480 bytes of output data. Should the output data be greater, the controller will
only use the first 480 bytes.

3.2

CIP Messaging

PROFIBUS-DP supports acyclic services through messages. These PROFIBUS-DP
services are supported by the RSLogix 5000 programming tool by means of CIP messages
using the "MSG" instruction. The outline and usage of these commands for the PROFIBUS-
DP Master are contained with in this section.

Note: Up to time of release of the PS69-DPM module not all of the MicroLogix 1500 controller support CIP
messaging or CIP messaging for generic Compact I/O modules. That's why CIP messaging, which means

PROFIBUS DPV1 services, are not yet supported with a MicroLogix 1500 System and a PS69-DPM module.

3.2.1 Using the MSG Instruction in RSLogix 5000

CIP messages are possible by the use of the "MSG" function block in RSLogix 5000. The
MSG function block can be found under Input/Output Instructions within the RSLogix
Instruction Set. The MSG instruction asynchronously reads or writes a block of data to
another module on a network. The following is an example of how this instruction is
assembled using the acyclic PROFIBUS-DP service DDLM_Slave_Diag command.

Step 1: Create New Controller Tag
Double click on the Controller Tags tree selection under Controller CompactLogix. The
Controller Tags dialog box will appear. Select the Edit Tags tab. Add a new tag called
SlaveDiagMsg and make its Type equal to MESSAGE.

Step 2: Insert the "MSG" instruction
From the language element tool bar in RSLogix select the Input/Output tab and click on the
"MSG" button. The instruction will be inserted into your ladder logic as shown in the figure
below.

Advertising