![ProSoft Technology PS69-DPS Скачать руководство пользователя страница 71](http://html1.mh-extra.com/html/prosoft-technology/ps69-dps/ps69-dps_user-manual_1618995071.webp)
Reference PS69-DPS
♦
CompactLogix or MicroLogix Platform
Profibus DP Slave Communication Module
ProSoft Technology, Inc.
Page 71 of 94
January 12, 2009
Step 4: Add Logic to Execute MSG Instruction
With the "MSG" instruction now configured the user can add the required logic
needed to execute the instruction. The example below shows the "MSG"
instruction used in the example logic in PS69_DPS_messaging.ACD.
Supported PROFIBUS-DP Messages
The CompactLogix Slave module supports the following message functions.
Service Cmd
Code
Group
Description
DPS Diagnostic Request
24
This service enables the user to send a single diagnostics
request to a Master.
DPV1 Class 1 Read Response
17
DPV1
With this service, the Slave module can respond to a DPV1
Read Request from the PROFIBUS Master. This service
works by utilizing the Master address, Data size, Slot and
Index indicated within the DPV1 Status Registers.
DPV1 Class 1 Write Response
17
DPV1
With this service, the Slave module can respond to a DPV1
Write Request from the PROFIBUS Master. . This service
works by utilizing the Master address, Data size, Slot and
Index indicated within the DPV1 Status Registers.
DPV1 Class 1 Alarm Request
18
DPV1
This service is used to send a DPV1 Alarm Request
message to a PROFIBUS Master.
Note:
The sample project includes an example for each of these services.
Standard Messaging
The sections below contain the descriptions of the Standard Message supported
by the PROFIBUS Slave module.
DPS Diagnostic Request
The Diagnostic Request command can be used by the controller user application
to generate a single diagnostic request to a Master. The MSG instruction
Request/Confirmation format is as follows.
DPS_DIAGNOSTIC_REQUEST
Parameter Data
Type
Value Description
Reserved1 INT
0
Reserved
Reserved2 INT
0
Reserved
Reserved3 INT
0
Reserved
Command
SINT
24
Command for Service Diagnostic Request
Reserved4 SINT
0
Reserved