Siemens D410 appendix Creating an I/O variable in Simotion, Address

Models: D410

1 150
Download 150 pages 59.82 Kb
Page 96
Image 96

Commissioning (software)

4.6 Using drive-related I/Os by SIMOTION

Figure 4-25 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".

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 created D410. 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 PSD1, bit 0 of the configured message frame. PI276.0 - This accesses PSD1, bit 8 of the configured message frame. SIMOTION can now access the signal.

The PROFIdrive profile specifies that the process status data (PSD) is defined as a 16-bit value. Take into account when determining the I/O address that the least significant byte of the SIMOTION I/O variable is assigned to the most significant PSD bits of the message frame and vice versa:

I/O address

 

 

 

Byte 276

 

 

 

 

 

 

Byte 277

 

 

 

Bytes represented in

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

bit format

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSD in bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

representation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

96

D410

Commissioning Manual, 08/2008 Edition

Page 96
Image 96
Siemens D410 appendix Creating an I/O variable in Simotion, Address