
Version 1.0
Outputs
Activate 1 or several outputs :
o
Command : OXX=YY<$0D>
Where XX = adress of the MB-IO module and YY the status of the
outputs in Hexadecimal
Example : Activate the output 8, 7 and 2 of the MB-IO module, previsouly
identified at the adress 0C
Pin
number
8
7
6
5
4
3
2
1
BIN
1
1
0
0
0
0
1
0
HEX
C
2
Command :
O0C=C2
<$0D>
Inputs
Read the inputs status of a MB-IO module :
o
Command : IXX<$0D>
Where XX = adress of the MB-IO module
o
Answer : YY<$0D>
Where YY = status of the inputs in Hexadecimal
Example : Read the input of the MB-IO module, previsouly identified at the
adress 0C. (For the example we define that the inputs 4 and 2 have been
activated by the external system).
HEX
0
A
BIN
0
0
0
0
1
0
1
0
Pin
number
8
7
6
5
4
3
2
1
Command :
I0C
<$0D>
Answer :
0A
<$0D>