Download REMIO Modbus Comms manual issue 2

Transcript
• Only Port1, 2, 3, 4, 5, 6 and the Command Word CW can be accessed as bits.
• Bit addresses are as follows:
PORTS:
Port1
Port3
Port5
Port2
port4
Port6
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
8
16
24
32
40
48
7
15
23
31
39
47
6
14
22
30
38
46
5
13
21
29
37
45
4
12
20
28
36
44
3
11
19
27
35
43
2
10
18
26
34
42
1
9
17
25
33
41
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
108
116
107
115
106
114
105
113
104
112
103
111
102
110
101
109
Command Word (CW):
CWL
CWH
• Only these bit addresses are valid.
• Bits 1 to 24 are output only (Readable and Writable)
• Bits 25 to 48 are:
⇒ Output (Readable and Writable) if SW1.1= 1
⇒ Input (only Readable) if SW1.1 = 0
• Bits 101 to 108 (CWL) are readable and writable (preferably with function 5 to avoid
false bits modifications).
Bit 101 = 1L ===> port2, port4, port6 read in positive logic (when selected as
Input).
• Bits 109 to 116 (CWH) are only readable. This byte is reserved for factory setting.
Bit 109 = 1L ===> TPO module 1 fit. (deactive port1 and port2).
Bit 110 = 1L ===> TPO module 2 fit. (deactive port3 and port4).
Bit 111 = 1L ===> TPO module 3 fit.(deactive port5 and port6).
Bit 112
5.8.
= 0 ===> SW1.1 = 0
= 1 ===> SW1.1 = 1
Read 1 or several bits :
ports2,4,6 configured as INPUT
ports2,4,6 configured as OUTPUT
function 1 / function 2
_______________________________________________________________________________
_______
REMIO : Modbus Communications Interface
Communications Manual