ProSoft Technology PS69-DPS User Manual

Page 53

Advertising
background image

PS69-DPS ♦ CompactLogix or MicroLogix Platform

RSLogix Example Program

Profibus DP Slave Communication Module

User Manual

ProSoft Technology, Inc.

Page 53 of 108

May 9, 2014

DPV1C1_Write_Resp_Progress: This subroutine

DPV1C1_Write_Resp_Progress checks the status of the DPV1 Write
Response message sent to the Master. When the Write response request is
done it will increment a status counter to check how many response requests
have been sent successfully and how many failed. If the Write Response
message was successful the first Rung will copy the Write data to a local
buffer which can be transferred with a CIP response message.

SR_Copy_Input: The SR_Copy_Input routine on every scan updates the

DpsInputArray structure with the Input Data of the module.

SR_Copy_Output: The SR_Copy_Output routine on every scan updates the

DpsOutputArray structure with the Output Data of the module.

SR_Main_Init: Initializes several variables used by different routines.
Numerous user defined data types have been created to make it easier to
address different elements of the Input and Output array of the module. The two
main structures are DpsInputArray and DpsOutputArray.

Advertising