Download BIS M-62_ Processor Unit

Transcript
PROFIBUS INTERFACE
9
When the Slave sees Bit 1 of the OBCB & OBDBC toggle, it grabs the command fragment
from the Output Buffer. The Slave then acknowledges the command fragment by toggling
Bit 1 of the IBCB & IBDCB.
(See the Green changes below)
Output Buffer
Input Buffer
Byte #
Byte #
Value
00:
8A
01:
02:
03:
04:
05:
06:
00
1C
00
1F
AA
06
07:
08:
09:
10:
00
01
03
E8
11:
12:
00
00
13:
14:
00
32
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
8A
Output Buffer Control Byte
(OBCB)
7
6
5
4
3
2
1
0
[1] [0] [0] [0] [1] [0] [1] [0]
(Always 0)
(Packet length in bytes)
(CBx Command word length MSB)
(CBx Command word length LSB)
(CBx Command Type) Always AA
(CBx Command Opcode)
0x06 = Write Tag Data
(CBx Command, byte not used)
(CBx Command “Node ID”)
(CBx Command Timeout MSB)
(CBx Command Timeout LSB)
0xE8 = 1000 ms timeout
(CBx Command Start Address MSB)
(CBx Command Start Address LSB)
address 0
(CBx Command Length MSB)
(CBx Command Length LSB)
50 bytes
(CBx Command Data Byte 1)
(CBx Command Data Byte 2)
(CBx Command Data Byte 3)
(CBx Command Data Byte 4)
(CBx Command Data Byte 5)
(CBx Command Data Byte 6)
(CBx Command Data Byte 7)
(CBx Command Data Byte 8)
(CBx Command Data Byte 9)
(CBx Command Data Byte 10)
(CBx Command Data Byte 11)
(CBx Command Data Byte 12)
(CBx Command Data Byte 13)
(CBx Command Data Byte 14)
(CBx Command Data Byte 15)
(CBx Command Data Byte 16)
Data Consistency Byte (OBDCB)
Value
00
82
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
..
30:
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
..
00
31:
82
Input Buffer Control Byte
(IBCB)
7
6
5
4
3
2
1
0
[1] [0] [0] [0] [0] [0] [1] [0]
Data Consistency Byte (IBDCB)
153