beautypg.com

ProSoft Technology PTQ-PDPMV1 User Manual

Page 6

background image

Contents

PTQ-PDPMV1 ♦ Quantum Platform

User Manual

PROFIBUS DP Master Network Interface Module for Quantum

Page 6 of 306

ProSoft Technology, Inc.

August 12, 2014

3.3.1

Using the Derived Function Blocks ......................................................................... 82

3.4

Using Mailbox Function Blocks ............................................................................... 85

3.4.1

Overview ................................................................................................................. 85

3.4.2

Configuration........................................................................................................... 86

3.4.3

Trigger Bytes........................................................................................................... 87

3.4.4

Specific Input Pins .................................................................................................. 88

3.4.5

Specific Output Pins ............................................................................................... 88

3.5

Mailbox Overview ................................................................................................... 91

3.5.1

Acyclic Read Mailbox .............................................................................................. 91

3.5.2

Acyclic Write Mailbox .............................................................................................. 92

3.5.3

Alarm Mailbox ......................................................................................................... 93

3.5.4

GetConfiguration Mailbox ....................................................................................... 94

3.5.5

GetDiagnostics Mailbox .......................................................................................... 95

3.5.6

GetLiveList Mailbox ................................................................................................ 95

3.5.7

SetSlaveAddress Mailbox ....................................................................................... 96

3.5.8

SetOperatingMode Mailbox .................................................................................... 97

3.5.9

SetSlaveMode Mailbox ........................................................................................... 97

3.5.10

StartStopSlaves Mailbox ......................................................................................... 98

3.5.11

Coldboot Mailbox .................................................................................................... 99

4

Configuring the Processor with Concept 2.6

101

4.1

Overview ............................................................................................................... 102

4.2

Before You Begin .................................................................................................. 103

4.3

Information for Concept Version 2.6 Users .......................................................... 104

4.3.1

Installing MDC Configuration Files ....................................................................... 104

4.4

Step 1: Exporting the Files from PCB ................................................................... 106

4.4.1

-.ASC files ............................................................................................................. 107

4.4.2

-.DTY file ............................................................................................................... 108

4.4.3

-.TXT file ............................................................................................................... 108

4.5

Step 2: Converting the Function Blocks ............................................................... 109

4.6

Step 3: Setting up the Concept Project ................................................................ 113

4.7

Step 4: Importing the Variables ............................................................................ 116

4.8

Step 5: Creating the Function Block Instances ..................................................... 119

4.9

Step 6: Downloading the Concept Project ............................................................ 126

4.10

Using the Concept Project .................................................................................... 127

4.10.1

Accessing PROFIBUS Data ................................................................................. 127

4.10.2

Accessing Status Data .......................................................................................... 127

4.10.3

Configuration Validation & SETCRC Function Block............................................ 128

4.11

Using Mailbox Function Blocks ............................................................................. 130

4.11.1

Overview ............................................................................................................... 130

4.11.2

Configuration......................................................................................................... 130

4.11.3

Trigger Register .................................................................................................... 131

4.11.4

Specific Input Pins ................................................................................................ 132

4.11.5

Specific Output Pins ............................................................................................. 132

4.12

Mailbox Overview ................................................................................................. 136

4.12.1

Acyclic Read Mailbox ............................................................................................ 136

4.12.2

Acyclic Write Mailbox ............................................................................................ 137

4.12.3

Alarm Mailbox ....................................................................................................... 138

4.12.4

GetConfiguration Mailbox ..................................................................................... 139

4.12.5

GetDiagnostics Mailbox ........................................................................................ 140

4.12.6

GetLiveList Mailbox .............................................................................................. 140

4.12.7

SetSlaveAddress Mailbox ..................................................................................... 141