• No results found

Free Message Frame Configuration via BICO

7 Commissioning (software)

7.10 Configuring drive-related I/Os

7.10.4 Free Message Frame Configuration via BICO

Overview

For the "free message frame configuring using BICO", dedicated message frames for the data transmission are assigned to the associated drive objects (e.g. Terminal Modules).

Message frame type: Free message frame configuring using BICO (message frame 999) To allow SIMOTION to access the SINAMICS drive signals, e.g. I/Os, they must be interconnected to the SINAMICS using BICO to the message frame. The "free message frame configuring using" is a preferred solution when I/Os are to be divided channel-granular between SIMOTION and SINAMICS and a module view is preferred.

Table 7- 10 Drive object: Maximum number of PZDs

Maximum number of PZDs for configuring the PROFIBUS message frames

Drive object

Input data

(from the SIMOTION D viewpoint)

Output data

(from the SIMOTION D viewpoint)

TM15 DI/DO 5 5

TM31 5 5

TM41 19 16

Control Unit (CU) 15 5

Free message frame configuring using the TM31 as example

The example describes the interconnection of a signal to the TM31, which is connected to a SIMOTION D4x5.

Steps in configuring user-specific message frames using BICO:

● Configuring user-specific message frames

● Interconnecting the message frame for TM31

● Create I/O variables in SIMOTION SCOUT

Requirement

You have already created a project and configured a drive.

Configuring user-specific message frames

1. Double-click "Insert I/O component" under "SINAMICS_Integrated" in the project

navigator, and then select the "TM31" Terminal Module from the "Drive objects type" field

7.10 Configuring drive-related I/Os

"Free message frame configuration with BICO" (message frame 999) is set for the inserted TM31. Insert the number of PZDs (Process Status Data) for the I/O data. Please note the maximum possible number of PZDs for the various drive objects. An TM31, for example, supports 5 PZDs in both the send and the receive direction.

4. Enter the value 5 in the "Length" column in the "Input data" or "Output data" fields.

Figure 7-48 Inserting a specific number of PZDs for the I/O data

5. Click "Transfer to HW Config" in order to transfer the data to HW Config and to specify the address space of the I/O data.

Note

Before the matching, all drive objects without input/output addresses ("---..---") must be moved behind the objects with valid input/output addresses or those still to be matched ("???..???").

The icons in the status column show the following information:

The message frame is configured differently in HW Config. You must match with HW Config.

You are using a predefined standard message frame or free BICO interconnection.

You are using a modified standard message frame that you have extended to include additional data.

You are using a message frame for which one of the two message frame lengths is too long. The drive object cannot process this entry.

7.10 Configuring drive-related I/Os

Figure 7-49 Reading the I/O address space

You can now transfer data from TM31 to SIMOTION (PROFIBUS send direction) or receive data from there (PROFIBUS receive direction).

Interconnecting the message frame for TM31

The next section describes how you can transfer signals from TM31 to SIMOTION (PROFIBUS send direction).

Note

To perform interconnections in online mode, you must:

• Prior to the interconnection, download the message frame configuration into the target device. Function: Download the CPU/drive unit to the target unit.

• After the interconnection, load the settings from the target device to the PC/PC. Function:

Load the CPU / drive unit to the PG.

1. Double-click the "PROFIBUS" entry in the "Communication" dialog of the TM31 you created. The corresponding dialog box opens.

2. Click "Binector/connector converter" in the "PROFIBUS send direction" tab. The

"Binector/connector converter" tab opens

7.10 Configuring drive-related I/Os

3. Select the source for status word 1 by clicking the "Status word 1 sources" field, and then select the corresponding PZD: In this example, TM31 -> p2051. . . Select PZD1.

Figure 7-50 Selecting the PZD

4. Click the button in front of the "Status word 1 sources" field. The PZD bits will now be displayed.

5. Click in a field and select the default signal, for example, bit 0.

This bit can be used, for example, to transmit the status at digital input DI 0 to SIMOTION.

Figure 7-51 Selecting a signal

6. Interconnect all signals you need.

How to transfer a signal from SIMOTION to TM31 (PROFIBUS receive direction):

1. Double-click the "PROFIBUS" entry in the "Communication" dialog of the TM31 you created. The corresponding dialog box opens.

2. Click "Binector/connector converter" in the "PROFIBUS receive direction" tab. The

"Connector/binector converter" tab opens

3. Interconnect all required signals. Proceed as defined in the description of the "PROFIBUS send direction".

7.10 Configuring drive-related I/Os

Creating an I/O variable in SIMOTION

Create the I/O variables in SIMOTION SCOUT in order to access the signals of TM31. You require the input or output addresses for the TM31 message frame in the "PROFIBUS Message Frame" dialog box. This allows you to assign the variable either as a complete word, a byte or a single bit.

1. In the project navigator, double-click "I/O" below the D4x5 created. The symbol browser opens

2. Enter a name for the I/O variable.

3. Enter an I/O address, e.g.

PI277.0 - This accesses PZD1, bit 0 of the configured message frame.

PI276.0 - This accesses PZD1, bit 8 of the configured message frame.

SIMOTION can now access the signal.

The PROFIdrive profile specifies that the process status data (PZD) is defined as a 16-bit value. When determining the I/O address note that the low-order byte of the SIMOTION I/O variable is assigned to the high-order process data (PZD) bits of the message frame, and vice versa: