3.3. Edit Network Configuration Page ....................26 3.4. Edit Port Configuration ........................27 3.4.1. Edit Serial Configuration ......................28 3.4.2. Packet ID Settings ......................... 29 3.4.3. Saving Port Options........................30 3.5. Configuration Updated ........................30 Contents DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D - iii...
Page 4
4.11.1. Erasing Persistent Connections....................42 4.11.2. Changing the IP Address ......................43 4.11.3. Changing the IP Address in SIMATIC iMap ................43 4.11.4. Downloading Interconnections....................44 Index ............................45 iv - DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D Contents...
® platform. The DeviceMaster UP provides a PROFINET CbA interface for 1 and 4-port models, which may or may not have the PROFINET CbA firmware loaded (depending on the model you purchased). Note: Models that have PROFINET CbA loaded on the DeviceMaster UP are identified in PortVision Plus and the DeviceMaster UP is labeled accordingly.
1.3. Locating Updated Software and Documents You can access the firmware software assembly, PortVision Plus, and the DeviceMaster UP documentation from the CD shipped with the DeviceMaster UP or you can download the latest files using these internet links. DeviceMaster UP...
Page 7
PROFINET CbA Application Setup Use the following steps to complete the DeviceMaster UP configuration for PROFINET CbA. 1. Change the DeviceMaster UP serial port settings using Chapter 3. Embedded Configuration Pages Page 25. 2. Commission the device. For more information, see the instructions in Chapter 4.
Page 8
PROFINET CbA Application Setup 8 - DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D Chapter 1. Introduction...
Chapter 2. Programming Interface 2.1. Overview The DeviceMaster UP provides a PROFINET CbA interface for 1 to 4 serial ports. This section is intended for the application programmer responsible for installing this product. This section covers the following topics: •...
Acyclical - Use this transfer mode for engineering data and non time-critical data. The transfer modes are selectable properties for the DeviceMaster UP. You can change these properties through SIMATIC iMap. The following table displays the supported transfer properties for DeviceMaster UP.
When the first byte is STX, the DeviceMaster UP collects the data. When the DeviceMaster UP finds an ETX or Timeout, the DeviceMaster UP declares the data to be a packet and moves the packet into the bstring output variable.
The PROFINET CbA component is written in XML (Extended Markup Language) and is intended for use with SIMATIC iMap. There are two XML files shipped on the CD for the DeviceMaster UP in the .MSI file. They are also available for downloading from the Internet. These XML files are included in the .MSI file: •...
SIMATIC iMap Variables 2.5.4. SIMATIC iMap Variables The SIMATIC iMap variables for the DeviceMaster UP are contained in a PROFINET CbA component. When you insert the PROFINET CbA component into a project (see 4.3. Inserting the PROFINET CbA Component into a SIMATIC iMap Project on Page 33), you can view the SIMATIC iMap variables associated with the device through the Plant view in SIMATIC iMap.
Page 35 for instructions. • You must initialize the DeviceMaster UP inputs for the handshake variables to zero. • You can use reset (Px_RESET) in the PLC program to break out of hang or error conditions. Toggling the enable False-True will have the same effect.
For more information on creating connections, see 4.6. Setting a Project’s Transfer Properties on Page 2.5.6.1. DeviceMaster UP (1-Port) If you have a DeviceMaster UP 1-port, you can configure the connections to a port for one of the following QOS options: • Cyclical...
2.6. How the DeviceMaster UP Transmits Data The following information describes how the DeviceMaster UP sends and receives data. 2.6.1. Receive Serial Packet Example The following diagram shows how data flows when using DeviceMaster UP to receive serial data. Receive Serial Packet Serial Packet Px_RECV_DATA...
Send Serial Packet Example 2.6.2. Send Serial Packet Example The following diagram shows how data flows when using DeviceMaster UP to send serial data. Send Serial Packet Serial Packet Px_SEND_DATA Serial Px_SEND_HSK_ID Device PX_SEND_HSK_ACK DeviceMaster The following example shows a SIMATIC iMap connection.
Handshaking (Optional) 2.7. Handshaking (Optional) Handshaking between the DeviceMaster UP and the PLC assures the producer (for example, the PLC component) that the consumer (for example, DeviceMaster UP) received the serial packet. The producer must know this before it sends another packet. This avoids possible data loss that might occur due to dissimilar polling periods or system busy conditions.
1. Consumer loops reading HSK_ID. 2. Producer writes packet of serial data to DATA variable. 3. Producer increments HSK_ID. 4. Consumer observes incremented HSK_ID, consumes DATA. Chapter 2. Programming Interface DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D - 19...
Page 20
General Serial Transfer Procedure: Handshaking Disabled 20 - DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D Chapter 2. Programming Interface...
Guide. 3.1. Accessing the Server Configuration Page The following is an overview of how to use PortVision Plus to access the DeviceMaster UP Server Configuration page and configure the serial port characteristics. Note: Optionally, enter the IP address of the device in the Address box of your web browser, and press Enter to access the Server Configuration page.
PortVision Plus to Change the PROFINET CbA Page 28 Number on Page 40. Serial Counters Page 24 Status Area Page 25 Packet ID Settings Page 29 22 - DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D Chapter 3. Configuring the DeviceMaster UP...
Page 29 for a description of the remaining fields. Selecting the Reboot button opens a Reboot DeviceMaster page. Select Yes - Reboot to reboot the DeviceMaster UP. You may need to refresh the view within the browser. Reboot Reset port(s) to factory settings (network setting left unchanged). - When selected, changes all factory settings except network settings to original default values.
Displays the number of received serial packets dropped due to: • No STX byte(s) found Dropped Packets • No ETX byte(s) found • UART errors • Handshaking errors 24 - DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D Chapter 3. Configuring the DeviceMaster UP...
Queue full - The serial packet queue is full and the packet was dropped. Displays the last read packet corresponding to the Last Read Pkt Status. Last Read Pkt Chapter 3. Configuring the DeviceMaster UP DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D - 25...
Edit Network Configuration Page 3.3. Edit Network Configuration Page You can use the Edit Network Configuration page to change the DeviceMaster UP network configuration after using PortVision Plus for initial network configuration. Use the following procedure to change the network configuration.
Use the Edit Port Configuration page to change a serial port parameters (for example, baud, parity, etc.) and serial port protocol settings. See the following subsections for screen details. Chapter 3. Configuring the DeviceMaster UP DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D - 27...
Select a method for error checking. • None - When the parity is set to none, there is no parity bit, and DeviceMaster UP does not perform parity checking. • Odd - Indicates that the sum of all the 1-bits in the byte plus the parity bit must be Parity odd.
This check box is clear by default. When you select this check box, the DeviceMaster UP strips STX/ETX characters from received serial packets. Clear the check box when you do not want the DeviceMaster UP to strip STX/ ETX characters from received serial packets.
This page appears when there are changes to the IP address or PROFINET CbA and indicates a reboot is required for changes to take affect. • Continue - Returns to the Server Configuration page without rebooting the DeviceMaster UP. • Reboot - Restarts the DeviceMaster UP with the latest changes.
• A PROFINET CbA component (.xml) file and the icon (.ico) file provided in the self-installing (.MSI) file. These files are copied to the Comtrol/PROFINET_CbA folder on your computer when you open the .MSI file and follow the prompts. Chapter 4. Commissioning the DeviceMaster UP...
Note: The file name drop-down list contains the most recently opened SIMATIC iMap projects. 3. Select the Project Library window and select Library > Import components from the menu and browse to location of your .xml files. For information on locating the .xml files for the DeviceMaster UP, see 4.1.
Record the PROFINET CbA number, its associated IP address and subnet mask for each PROFINET CbA component you insert into a project. You will need the PROFINET CbA number when you change the network settings through the web page for each DeviceMaster UP. For more information, see 4.8. Using PortVision Plus to Change the PROFINET CbA Number on Page 40.
2. Record the PROFINET CbA number for each PROFINET CbA component that you insert into a project. (See 4.3.2. What is a PROFINET CbA Number? on Page 33, for a description of the PROFINET CbA number.) 34 - DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D Chapter 4. Commissioning the DeviceMaster UP...
The PLC program must enable the serial port (Px_ENABLE) before data will flow. To enable the serial port the pin must be tied to True. You can enable the serial port in SIMATIC iMap. Note: You must set the DTR (Data Terminal Ready) option in the web page for the DeviceMaster UP to WhenEnabled.
If you selected several inputs using the CTRL key, release the CTRL key and select the required output. In this procedure, compatible connectors are always highlighted in color. 36 - DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D Chapter 4. Commissioning the DeviceMaster UP...
You can change the transfer properties of individual interconnections through the interconnection properties. Note: The transfer properties of a highlighted interconnection are also displayed as a tooltip. Chapter 4. Commissioning the DeviceMaster UP DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D - 37...
Steps 1 through 2 for each additional interconnection that you want to change. 4. Click OK or Accept to confirm and save your changes. 38 - DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D Chapter 4. Commissioning the DeviceMaster UP...
IP address to a device, see the DeviceMaster UP Hardware Installation Guide. 4. Click OK to save your changes. Chapter 4. Commissioning the DeviceMaster UP DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D - 39...
Page 33. 4.8.1. Procedure Use the following procedure to change the PROFINET CbA number assigned to the DeviceMaster UP on the web page. 1. Double-click the PortVision Plus icon or select Start > Programs > Comtrol > PortVision Plus to start PortVision Plus.
2. Click Yes to continue. 4.10. Documenting and Printing a Project Comtrol recommends keeping a written record of your project for future reference to record project changes. The following subsections describe what you can include in the project documentation and how to create the project documentation.
Changing the IP Address 4.11. Changing the IP Address If you have one installed DeviceMaster UP, with no connections to other devices, you can change the IP address at any time. If you have a DeviceMaster UP installed with bi-directional connections to another device and you want to change the IP address for one of these devices, you have to delete persistence connections stored in the DeviceMaster UP.
CbA number. 4.11.3. Changing the IP Address in SIMATIC iMap You can change the IP address for a DeviceMaster UP in SIMATIC iMap after initial configuration. Use PortVision Plus to initially configure the IP address (above). 1. Start SIMATIC iMap. Select Start > Programs > Component based Automation > SIMATIC iMap or double- click the iMap icon on the desktop.
6. Click OK to save your changes. 4.11.4. Downloading Interconnections This procedure describes how do download interconnections to DeviceMaster UP devices in your project. Note: If you created an interconnection to a device that represents a PLC program, you may need to generate the PLC component and that requires Step 7 installed on your computer.
4-port DeviceMaster Description Described Range Input variables Transfer mode Interconnect Constants Interconnecting technological functions Interconnections Data Bits Described Defining transfer properties Downloading Device Status Rules DHCP IP configuration Index DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D - 45...
Page 46
Enabling the serial port (Px_Enable) Port Quality of Service (QOS) Changing Described Parameters Optimal setting Erasing persistent connections 1-port Resetting 4-port Erasing persistent connections Recommended Serial port 1-port Enabling in iMap 4-port 46 - DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D Index...
Page 47
Receive example Use Handshake Send example Send/Receive example Serial port Enabling in SIMATIC iMap Variables Settings Input web page Output Version Serial Port Settings area PROFINET CbA component Setting Index DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D - 47...
Page 48
Index Edit Network Configuration Edit Port Configuration web page Serial port settings changing port settings Server Configuration Changing PROFINET number 48 - DeviceMaster UP PROFINET CbA User Guide: 2000409 Rev. D Index...
Need help?
Do you have a question about the DeviceMaster UP and is the answer not in the manual?
Questions and answers