
6AW5451-6XX01-1K
ES 030-K Manual
Subject to change without prior notice
3 - 35
RD: 08.2000
(4)J31069-D0136-U001-A0-7618
3.4.7
PROFIBUS-DP
Description
An optional module with PROFIBUSDP interface is available
for operation of the ES 030K on the PROFIBUSDP. The inter
face operates
“
word by word". Two words (minimum) of user
data to 122 words (maximum) can be exchanged in one cycle.
Transmission speeds of 9.6 Kbaud to 1.5 Mbaud are automati
cally recognized by the interface.
Setting of the L2 Parameters in DB 1
Station address
Version of the option
Provided By
DL 88
User
DR 88
System
Sending length in
words
DL 89
Receiving length in
words
DR 89
Receiving buffer
address
Outputs, master
DW 90 (DB, DW)
Sending buffer
address
Inputs, slave
DW 93 (DB, DW)
Parameter
Address
User diagnostics
DW 95/DW 96
User
User
User
User
User
Actions/Reactions
The reset takes effect even when the job is not triggered. It ap
plies to receiving and sending. A reset deletes all other com
mands.
All commands are concluded with an acknowledgement. Trig
gering of sending and/or receiving, and diagnostics can be
processed simultaneously.
An error is always indicated simultaneously in bit 2 of FY 22 and
FY 23.
Receiving is enabled by setting bit 0 in FY 22. The receiving
buffer always contains new data when acknowledgement bit 1
is set in FY 22.
Sending to the master is activated by setting bit 0 in FY 23.
Transmission to the master is performed when the system re
sets bit 0 and sets bit 1.
A knowledge of the PROFIBUSDP is required if you are work
ing with diagnostic evaluation. See chapter 12.3 of the manual
on the ET 200 decentralized I/O system for a detailed descrip
tion.
3.4.7.1 Sample Program
NAME: PROFIBUS
:AN F 1.0
:
:JC=ANF
:R F 1.0
:R F 1.1
:S F 10.0
Enable keyboard
:S F 11.0
Enable display
:
:L KY 1,100
:T DW 9
:L KY 0,40
:T DW 10
ANF
:
For test only
:L FY 22
Load the flag byte for
:T QB 9
receiving in output byte 9
:
= LED of the keyboard display
:L FY 23
Load the flag byte for
:T QB 10
sending in output byte10
:
= LED of the keyboard display
:
:A F 22.2
Receiving error
:= Q 8.0
:
:A F 22.1
Acknowledge receiving
:S F 22.0
Trigger job
:R F 22.1
Reset receiving
:S F 11.0
Trigger job on display
:
:A I 0.5
Execute RESET
:= F 23.3
Sending and receiving
:
are terminated when the
:
flag is set
:
:A F 23.2
Send error
:= Q 8.1
:
:AN I 0.7
Start sending
:JC =M001
:A DB 1
:L KY 1,152
:T DW 93
:S F 23.0
Job trigger 1
:
M001 :AN I 0.6
:JC =M002
:A DB 1
:L KY 1,176
:T DW 93
:S F 23.0
Job trigger 2
:
M002 :BE
DB 1
.
.
.
88: KY = 003,000; Station number, version number
89: KY = 016,016; Length of sending and receiving buffer
90: KY = 001,100; Receiving buffer, master, DB1, DW100
91: KY = 000,000; Reserved
92: KM = 00000000 00000000; Reserved
93: KY = 001,152; Sending buffer, slave, DB1, DW152
.
.
.
100: KS=
‘XXXXXXXXXXXXXXXXXXXXXXXX‘
; Display indi
112: KS=
‘XXXXXXXXXXXXXXXXXXXXXXXX‘
; cation for
.
new start and
.
receiving buffer
.
152: KS='ES030K sends telegram'; Send. buffer of 1st tele
164: C = 'to S5 123456789012345678'; gram to master
176: KS='ES030K sends telegram'; Send. buffer of 2nd
188: C = 'to S5 098765432109876543'; telegram to master
Содержание MOBY ES030-K
Страница 1: ...s MOBY ES 030 K Acquisition Station Manual Release 08 2000 ...
Страница 2: ......
Страница 99: ......