----- Supply network analyzer CVM 96 Ethernet -------- ----- Page No. 41
b.- Reading digital outputs (relays) - Function 01 :
Inquiry
:
PP
01
0000
0008
CRC (PP = peripheral No.)
Answer
:
PP
01
01
XX
CRC
Where XX (hexadecimal byte)
Æ
translated to binary
b7 b6 b5 b4 b3 b2
b1 b0
bit
b0
= relay 1 ( 1 = ON ; 0 = OFF)
bit
b1
= relay 2 ( 1 = ON ; 0 = OFF)
c.- Write of digital outputs
This function is used to force the status of the CVM 96 digital outputs.
Output No.
Message
Answer
Relay 1
Relay 2
PP050000xx00 CRC
PP050001xx00 CRC
PP050000xx00 CRC
PP050001xx00 CRC
Where: PP
Æ
peripheral No.
xx
Æ
00 Deactivate
Æ
FF Activate