PTQ-PDPMV1 ♦ Quantum Platform
PROFIBUS DP Master Network Interface Module for Quantum
4.10 Using the Concept Project
4.10.1 Accessing PROFIBUS Data
After the module's CRC values are synchronized (through the SETCRC function
block) then no other function blocks are required for the PROFIBUS input/output
data exchange. You can refer to the variables that were imported to the Concept
project and use either the PTQPDPMV1_OUT_DATAF or
PTQPDPMV1_IN_DATAF data types. These variables contain a structure of sub
variables that will store the data associated to all slaves configured at ProSoft
Configuration Builder.
The following illustration shows an example in which two variables are used to
store the PROFIBUS input and output data.
PTQPDPMV1_OUT_DATA.Slave13Slot05[0]: Stores output byte 0 of slot 5 from
the slave (PROFIBUS address 13)
PTQPDPMV1_IN_DATA.Slave13Slot04[0]: Stores input byte 0 of slot 4 from the
slave (PROFIBUS address 13)
Note
: To verify that the CRC values are synchronized, look at the CFG ERR LED (OFF: CRCs are
1
synchronized, ON: CRCs are not synchronized).
Note
: The PTQPDPMV1_IN_DATA variable is the default variable name. The actual name for
2
your application might vary depending on the module name that you selected in PCB.
4.10.2 Accessing Status Data
The module constantly updates the status data to the processor. The status data
provides general information about the module, PROFIBUS slaves and
backplane status. It is automatic (no function blocks are required). Refer to
Status Data in the Input Data Block (page 256) for more information.
Refer to the imported variables that use the PTQPDPMV1_IN_STATUS data
type for the status data.
ProSoft Technology, Inc.
August 12, 2014
Configuring the Processor with Concept 2.6
Page 127 of 306
User Manual
Need help?
Do you have a question about the ProTalk PTQ-PDPMV1 and is the answer not in the manual?
Questions and answers