SEGMENTO 2 :
// SENDING OF DATA
// 0 SENT
U
"START COMMAND"
SPBN E0
L
"ID MESSAGE"
L
0
==I
SPBN E0
// START COMMAND ADDRESS
L
W#16#9CE6
T
"AUX.DIR.DATO.WORD_0"
// 1=START COMMAND
L
W#16#100
T
"AUX.DIR.DATA.WORD_2"
E0: NOP 0
// ENVIO 1
U
"STOP COMMAND"
SPBN E1
L
"ID MESSAGE"
L
1
==I
SPBN E1
// WRITE COMMAND ADDRESS
L
W#16#9CE7
T
"AUX.DIR.DATO.WORD_0"
// 1=STOP COMMAND
L
W#16#1
T
"AUX.DIR.DATO.WORD_2"
E1: NOP 0
// SEND OF 2
L
"ID MESSAGE"
L
2
==I
SPBN E2
L
W#16#0
T
"AUX.DIR.DATA.WORD_0"
T
"AUX.DIR.DATA.WORD_2"
E2: NOP 0
POWER ELECTRONICS Manual Profibus Interface
46
PROFIBUS INTERFACE
MT0005 Rev.D