Profibus

Page 1

4 Data formats of telegram - / data blocks, which are transmitted via Profibus 4.1 Byte areas DFUE read und DFUE write Please attend: The beginning of the respective byte area has to be programmed as long aligned. That means that the respective byte area has to begin with a byte number, which is divisible by 4.

4.1.1 Result telegrams via DFUE write The transmission of result telegrams via DFUE WRITE takes place in 2 different ways. Without the extended IP-entry AUTO_PBSTV the selected telegram (tele2 or tele6) will be sent with the positive face of the entry DAT SEND. With the extended entry AUTO_PBSTV Telegram 2 will be send automatically after every fastening.

4.2 Data format of the telegrams, which are transmitted via Profibus 4.2.1 Telegram 1

Byte

transmission of work piece identification

Telegram No. 001 Format Content Signification

Bit 0 Bit 1

Fastener 2 accept identification

Bit 2

Fastener 3 accept identification

Bit 3

Fastener 4 accept identification

Bit 4

Fastener 5 accept identification

Bit 5

Fastener 6 accept identification

Bit 6

Fastener 7 accept identification

Bit 7

Fastener 8 accept identification

Bit 0

Fastener 9 accept identification

Bit 1

Fastener 10 accept identification

Bit 2

Fastener 11 accept identification

Bit 3

Fastener 12 accept identification

Bit 4

Fastener 13 accept identification

Bit 5

Fastener 14 accept identification

Bit 6

Fastener 15 accept identification

Binary

0x01

1

Binary

0x0C

3

m-Pro-400

Telegram number Number N of (ASCII-) characters of the work piece identification Fastener 1 accept identification

0

2

PLC

Fastener 16 accept identification

Bit 7 4

ASCII

0x41

5

ASCII

0x42

...

....

n+3

0x38

Work piece identification (maximal 39 characters)

The length of the telegram is based on the quoted length in byte 1of the work piece identification. The telegram length amounts according N+4 bytes.

F168811-113en.doc

Software description

Page 14


Please attend: With receiving a new work piece number all collected measuring values of a group will be cancelled.

4.2.2 Telegram 2 Byte

Transmission of work piece identification

Telegram No. 002 Format Content Signification

0

Binary

0x02

1

Binary

0x0C

2

3

4

5

PLC

m-Pro-400

Telegram number

Bit 0

-) characters of the work piece identification Tool group 1 accept identification

Bit 1

Tool group 2 accept identification

Bit 2

Tool group 3 accept identification

Bit 3

Tool group 4 accept identification

Bit 4

Tool group 5 accept identification

Bit 5

Tool group 6 accept identification

Bit 6

Tool group 7 accept identification

Bit 7

Tool group 8 accept identification

Bit 0

Tool group 9 accept identification

Bit 1

Tool group 10 accept identification

Bit 2

Tool group 11 accept identification

Bit 3

Tool group 12 accept identification

Bit 4

Tool group 13 accept identification

Bit 5

Tool group 14 accept identification

Bit 6

Tool group 15 accept identification

Bit 7

Tool group 16 accept identification

Bit 0

Tool group 17 accept identification

Bit 1

Tool group 18 accept identification

Bit 2

Tool group 19 accept identification

Bit 3

Tool group 20 accept identification

Bit 4

Tool group 21 accept identification

Bit 5

Tool group 22 accept identification

Bit 6

Tool group 23 accept identification

Bit 7

Tool group 24 accept identification

Bit 0

Tool group 25 accept identification

Bit 1

Tool group 26 accept identification

Bit 2

Tool group 27 accept identification

Bit 3

Tool group 28 accept identification

Bit 4

Tool group 29 accept identification

Bit 5

Tool group 30 accept identification

Bit 6

Tool group 31 accept identification Tool group 32 accept identification

Bit 7 6

ASCII

0x41

7

ASCII

0x42

...

F168811-113en.doc

Work piece identification (maximal 39 characters):

....

Software description

Page 15


N+3

0x38

Telegram 2 transmits the work piece identification for maximal 32 groups. The length of the telegram is based on the quoted length n in byte 1 of the work piece identification. The telegram length amounts according N+6 bytes. Please attend: With receiving a new work piece number all collected measuring values of a group will be cancelled.

F168811-113en.doc

Software description

Page 16


4.2.3 Telegram 2 Byte 0 1 2

Format Integer Integer Integer

3

Bit

4 5 6 7 8 9 10 11 12 13 14 15 16 ... 29 30 ... 43

BCD, HB BCD, LB BCD, HB BCD, LB Float HB Float Float Float LB Float HB Float Float Float LB Integer Float LB Integer Float

Transmission of all rundowns Telegram No. 002 m-Pro PLC Content Meaning 0x02 Telegram number Joint number 0x03 Joint number 0x01 Not processed Tq OK Ang OK

Spindle

Tq oversized Tq undersized Ang oversized Ang undersized 0x01 0x54 0x01 0x54

Tq act

Data set Spindle 1

Ang act

Tq act

Ang act 0x01

Joint number

0x01

Ang act Joint number Ang act

Data set Spindle 2 Data set Spindle 3

Byte 2.-.15 (13 Byte) are repeated for each spindle.

F168811-113en.doc

Software description

Page 17


4.2.4 Telegram 6

Transmission of all rundowns

Telegram 6 without DDM sequence 56

Telegram No. 006

m-Pro

PLC

Byte

Format

Content

Meaning

0

Binary

0x06

1

Binary

0x13

Telegram number Number of spindles whose values are transferred from

2

Binary

0x0F

Spindle-No. (here 15)

3

Binary

0x03

PS (here 3)

4

Binary

0x02

Step (here 2)

5

Bit oriented

Fastening fault 1

6

Bit oriented

Fastening fault 2

7

Binary

8

Binary HB

0x01

9

Binary LB

0x65

Joint number with factor 1 (here e.g.: 0x0165 = 357 dec.)

0x03

Tq act -. with factor 10 (signed)

0xA5

(here e.g.: 0x03A5 = 93,3)

0x03

Tq min - with factor 10 (signed)

0x2A

(here e.g.: 0x032A = 81,0)

0x04

Tq max - with factor 10 (signed)

0x00

(here e.g.: 0x0400 = 102,4)

0x00

Ang act - with factor 1

0x2E

(here e.g.: 0x002E = 46)

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

Binary Binary Binary Binary Binary Binary Binary Binary Binary Binary Binary Binary

(is set by m-Pro-400)

Target bit (is set by PLC)

0x00

Ang min - with factor 1

0x2D

(here e.g.: 0x002D = 45)

0x00

Ang max - with factor 1

0x78

(here e.g.: 0x0078 = 120)

0x02

Threshold torque act - with factor 10

0x58

(here e.g.: 0x0258 = 60,0)

0x02

Threshold torque min (-10%) with factor 10

0x1C

(here e.g.: 0x021C = 54,0)

0x02

Threshold torque max (+10%) with factor 10

0x94

(here e.g.: 0x0294 = 66,0)

0x00

Grad. act. - with factor 100 (signed)

0x69

(here e.g.: 0x0069 = 1,05)

0x00

Grad. Min - with factor 100 (signed)

0x32

(here e.g.: 0x0032 = 0,50)

0x00

Grad max - with factor 100 (signed)

0xE6

(here e.g.: 0x00E6 = 2,30)

Byte 2..33 (32 Byte) are repeated for each spindle.

F168811-113en.doc

Software description

Page 18


Telegram 6 with DDM sequence 56

Byte

Format

0

Binary

Telegram No. 006 Content

m-Pro

0x06

Telegram number

PLC Meaning

1

Binary

0x13

Number of spindles from which the values are transferred here 19) (is set by m-Pro-400)

2

Binary

0x0F

Spindle-No. (here 15)

3

Binary

0x03

PS (here 3)

4

Binary

0x02

Step (here 2)

5

Bit oriented

Fastening fault 1

6

Bit oriented

Fastening fault 2

7

Binary

8

Binary HB

0x01

9

Binary LB

0x65

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

Binary Binary Binary Binary Binary Binary Binary Binary Binary Binary Binary Binary

Target bit (is set by PLC)

0x02 0x7B 0x01 0x90 0x00 0x05 0x01 0xF4 0x01 0xAE 0x02 0x64 0x02 0x58 0x02 0x1C 0x01 0x25 0x00 0xFA 0x01 0x2C 0x00 0x00

Joint number with factor 1 (here e.g.: 0x0165 = 357 dec. Tq act. max. Phase 2 with factor 10 (here e.g.: 0x27B = 63,5 Nm) Tq act. max. Phase 3 with factor 10 (here e.g.: 0x190A = 40,0 Nm) Tq target min. Phase 3 with factor 10 (here e.g.: 0x005 = 0,5 Nm) Tq target max. Phase 3 with factor 10 (here e.g.:. 0x1F4 = 50 Nm) Tq act. min. Phase 4 with factor 10 (here e.g.: 0x01AE = 43,0 Nm) Tq act. max. Phase 4 with factor 10 (here e.g.: 0x0264 = 61,2 Nm) Tq target min Phase 4 with factor 10 (here e.g.: 0x0258 = 60,0 Nm) Tq target max Phase 4 with factor 10 (here e.g.: 0x021C = 54,0 Nm) Ang act shut off angle (here e.g.: 0x0125 = 293 deg.) Ang target min (here e.g.: 0x00FA = 250 deg.) Ang target max (here e.g.: 0x012C = 300 deg) Not busy 0x0000

Byte 2..33 (32 Byte) are repeated for each spindle.

F168811-113en.doc

Software description

Page 19


4.2.5 Content of the error bytes (Tightening fault 1 and 2) Error bytes without DMM sequence 56 Byte

1

2

Bit

Content fault

0

OK

1

NOK

2

Tq too small

3

Tq too high

4

Ang too small

5

Ang too high

6

GD too small

7

GD too high

0

Timeout (TMAX)

1

Start break off (SA)

2

Emergency stop activated

3

Prevailing torque fault

4

Redundancy fault

5

Last Step not reached

6

Hardware fault internal

7

Hardware fault external

Error bytes with DDM sequence 56

Byte

1

2

F168811-113en.doc

Bit

Content fault

0

OK

1

NOK

2

Tq too small

3

Tq too High

4

Ang. too small

5

Ang. too high

6

Bearing fault

7

Gear wheel fault

0

Time out (TMAX)

1

Start break off (SA)

2

Emergency stop activated

3

Seq. 56 generally fault

4

Redundancy fault

5

Last Step not reached

6

Hardware fault internal

7

Hardware fault external

Software description

Page 20


4.3 Byte area DATA 4.3.1 General At parameterize of the DATA - Byte areas can the data format (Data content), which by dint of Byte areas should be transmitted, determined. The data transmission per spindle does not take place with Synchronization, whereas the number of the transmitted spindle data sets from the length of the Byte areas depends. Following selection of formats is available: - ASCII Transmission of telegram 2 (14 Byte per Spindle) - ASCII-ByteSwap Out of function - SpiBitErg Bit results (1 Byte per Spindle) - SpiByteErg BCD actual values (6 Byte per Spindle)

4.3.2 ASCII

Telegram 2

Byte 0

Format Integer

1

Bit

2 3 4 5 6 7 8 9 10 11 12 13 14 ... 27 28 ... 41

BCD, HB BCD, LB BCD, HB BCD, LB Float HB Float Float Float LB Float HB Float Float Float LB Integer Float LB Integer Float

F168811-113en.doc

DATA Byte area Content 0x01

m-Pro PLC Meaning Joint number Not worked Tq OK Ang OK

Spindle

Tq too high Tq too low Angle too high Angle too low 0x01 0x54 0x01 0x54

Tq. Act.

Dataset Spindle 1

Ang. Act.

Tq. Act.

Ang. Act. 0x01

Joint number

0x01

Ang. Act. Joint number Ang. Act.

Software description

Dataset Spindle 2 Dataset Spindle 3

Page 21


4.3.3 SpiBitErg

Bit results DATA Byte area

Byte

0

1

Bit

m-Pro

PLC

Content fault

0

Not worked

1

OK

2

NOK

3

Hardware failure

4

Tq too high

5

Tq too low

6

Angle too high

7

Angle too low

0

Not worked

1

OK

2

NOK

3

Hardware failure

4

Tq too high

5

Tq too low

6

Angle too high

7

Angle too low

2.

Spindle

1

2

3 n

4.3.4 SpiByteErg - BCD actual values Byte 0 1 2 3 4 5 6 ... 11 12 ... 17

Format BCD, HB BCD, LB BCD, HB BCD, LB BCD, HB BCD, LB Integer Float LB Integer Float

F168811-113en.doc

DATA Byte area Content 0x01 0x54 0x01 0x54 0x01 0x54 0x01

0x01

m-Pro PLC Meaning

Spindle

Tq act * 10 Ang. act

Dataset Spindle 1

GD act * 100 Tq act * 10 Ang act GD act * 100 Tq act * 10 Ang act GD act * 100

Software description

Dataset Spindle 2 Dataset Spindle 3

Page 22


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.