• No results found

Use of message frame 39x

7 Commissioning (software)

7.10 Configuring drive-related I/Os

7.10.2 Use of message frame 39x

The following section describes the configuration of the onboard I/Os of a SIMOTION D4x5.

Configuration of the onboard I/Os of a CU310, CU320, or CX32 Control Unit connected to a SIMOTION controller is carried out in much the same way in each case. With the exception of the "high-speed output cams/DOs", the same functionality as the D4x5 is available on a CU310/CU320/CX32.

Functionality of the 390, 391 and 392 message frames

A Control Unit's onboard I/Os assigned to SINAMICS can be used by SIMOTION with message frames 39x. This functionality is available as of SIMOTION V4.1, SP1. If a

message frame 39x is set, however, all the onboard I/Os are interconnected automatically to this message frame 39x using BICO interconnections and so available for SIMOTION. All onboard I/Os of a Control Unit that are parameterized as a digital output are available for SIMOTION only. Digital inputs can be used by both SIMOTION and SINAMICS.

In addition to the use of the onboard I/Os, the 39x message frame permits the use of:

● High-speed outputs for output cams and high-speed digital outputs (DO)

● "Global" measuring inputs

● The control and status word of the Control Unit (CU_STW, CU_ZSW)

Depending on the selected 39x message frame type, various functionalities can be used.

Table 7- 8 Functionality of the 390, 391 and 392 message frames, overview Telegram Functionality available on the DI/DO

D4x5 CX32, CU310, CU320

390 CU_STW, CU_ZSW

I/O access to the DIs and DOs

Maximum of 8 high-speed output cams/DOs

CU_STW, CU_ZSW

I/O access to the DIs and DOs

391 CU_STW, CU_ZSW

I/O access to the DIs and DOs

Maximum of 8 high-speed output cams/DOs

Maximum of 2 inputs for measuring inputs (global measuring inputs) 1)

392 CU_STW, CU_ZSW

I/O access to the DIs and DOs

Maximum of 8 high-speed output cams/DOs

Maximum of 6 inputs for measuring inputs (global measuring inputs) 1)

7.10 Configuring drive-related I/Os

Message frame 39x configuration

The following requirements must be satisfied before configuring the onboard I/Os of a D4x5:

● A SCOUT project has been created

● The D4x5 has been created

● A SINAMICS Integrated drive has been configured Proceed as follows:

1. In the project navigator, double-click the "Configuration" entry under "SINAMICS Integrated". In the work area, the "PROFIBUS message frame" tab is displayed in the

"SINAMICS Integrated - Configuration" dialog box.

2. Select the message frame type (SIEMENS message frame 390, 391 or 392) for the Control Unit.

3. Click the "Transfer to HW Config" button to transfer the message frame data to hardware configuration.

A message frame 39x is configured for the D4x5 Control Unit. The address area of the message frame is displayed in "SINAMICS_Integrated – Configuration" dialog. The 39x message frame configuration automatically makes the BICO interconnections for the DI and DI/DO which are then available for SIMOTION.

Figure 7-45 Message frame 39x configuration

7.10 Configuring drive-related I/Os

Use of the onboard I/O by SIMOTION

For DI/DO channels, the terminal status of the output can be fetched back using the input (DI).

Message frame 390 transfers the control and status word of the Control Unit in PZD1 and the status of the onboard inputs/outputs in PZD2.

For the 391 and 392 message frames, additional control and status information for the global measuring inputs is transferred. The content of PZD3 to PZD15 is used exclusively by the measuring input technology object.

Table 7- 9 Assignment of addresses: Control/status word and onboard I/Os

PZD Logical hardware address and bit number: D4x5, CU320 CX32, CU310

Input Output Input Output

PZD1 Start address message frame 39x + 0 CU_ZSW CU_STW CU_ZSW CU_STW

PZD2 Start address message frame 39x + 2, bit 0 Start address message frame 39x + 2, bit 1 Start address message frame 39x + 2, bit 2 Start address message frame 39x + 2, bit 3 Start address message frame 39x + 2, bit 4 Start address message frame 39x + 2, bit 5 Start address message frame 39x + 2, bit 6 Start address message frame 39x + 2, bit 7

DI 0 Start address message frame 39x + 3, bit 0

Start address message frame 39x + 3, bit 1 Start address message frame 39x + 3, bit 2 Start address message frame 39x + 3, bit 3 Start address message frame 39x + 3, bit 4 Start address message frame 39x + 3, bit 5 Start address message frame 39x + 3, bit 6 Start address message frame 39x + 3, bit 7

DI 8 PZD3 Start address message frame 39x + 4 Used

internally for

PZD4-7 Start address message frame 39x + 6 Used internally for

7.10 Configuring drive-related I/Os

PZD Logical hardware address and bit number: D4x5, CU320 CX32, CU310

Input Output Input Output

PZD8-15 Start address message frame 39x + 10 Used internally for global measuring inputs 3 to 6 (only for message frame 392)

Used

internally for global measuring inputs 3 to 6 (only for message frame 392)

To allow access to the individual PZDs by the I/Os, I/O variables must be created in SIMOTION. For this purpose, the input/output addresses displayed in the "PROFIBUS message frame" tab in the "SINAMICS Integrated - Configuration" dialog box are required.

The following figure shows an example of I/Os created in SCOUT: In this example, the start address of the 390 message frame for the input and output data is each 276.

Figure 7-46 Example: Access to message frame 390 using I/O variables.

7.10 Configuring drive-related I/Os

Configuring DI/DO as input or output

When a DI/DO is to be used as digital input or digital output, interconnection screen forms can be used for configuring.

Proceed as follows:

1. Double-click the "Inputs/outputs" entry below the SINAMICS_Integrated > Control Unit in the project navigator.

2. Click the "Bidirectional digital inputs/outputs" tab.

3. In this tab, configure the required inputs or outputs.

Figure 7-47 Configuring DI/DO as input or output

The configuration can also be set channel-granular on the p728 parameter using the expert list of the Control Unit.

Note

When the 39x message frames are used, a HW Config must always be performed after changes have been made to onboard I/O-relevant parameters. "Download to the target system" must then be used to download the changed configuration data into the target device. The matching is always made only for the associated selected Control Unit and not project-global.

7.10 Configuring drive-related I/Os