beautypg.com

Profibus communication – Lenze I/O system 1000 System Manual User Manual

Page 462

background image

PROFIBUS communication

Time stamp parameterising
2 digital outputs with time stamp function − EPM−S310

9

l

462

EDSIO1000 EN 7.0

Write data: 20 bytes/60 bytes

Depending on project planning, the output area can be used to write up to 15 time stamp
entries. 4 bytes in the process image are intended for each time stamp entry:

Output area

Addr.

Access

Assignment

+0

Byte

Status of outputs (PAA)

+1

Byte

Running number (RN)

+2

Word

Ticker value

Status of outputs:the status of the outputs for the time required is stated here. You can
project plan the following variants by incorporating the GSD file LE010C3A.gsd.gsd:

20 bytes, 5 time stamp entries:

Addr.

+0

+1

+2

+3

+0

PAA

RN

16−bit

ms value

+4

PAA

RN−1

16−bit

ms value

+8

PAA

RN−2

16−bit

ms value

+12

PAA

RN−3

16−bit

ms value

+16

PAA

RN−4

16−bit

ms value

60 bytes, 15 time stamp entries:

Addr.

+0

+1

+2

+3

+0

PAA

RN

16−bit

ms value

+4

PAA

RN−1

16−bit

ms value

+8

PAA

RN−2

16−bit

ms value

+12

PAA

RN−3

16−bit

ms value

...

...

...

...

+56

PAA

RN−14

16−bit

ms value

Running number: the "running number" (RN) is a consecutive number between 0 ... 63,
which always starts afresh from 0. You use the "running number" to determine the time
sequence of entries. This should be incremented with every time stamp entry.

)

Note!

If using SFC 15 to write consistent user data, up to 15 time stamp entries can
be written. If less than 15 time stamp entries are written, bit 6 must also be
set for the last RN. This has to be done to ensure that the following entries
don’t have to be written in an "invalid" way. The module ignores all time
stamp entries after an entry with a set bit 6.

Ticker value: Specify a time here in

ms at which the status of the outputs is to be accepted

(value range: 0 ... 65535).