Mask Control

The eGauge PRM3 has 3 independently controlled relay contacts. When controlling polyphase loads such as single or three-phase loads, the multiple relay contacts used should be open and closed simultaneously to avoid damaging the equipment. Neutral conductors always remain connected and are not switched by a relay.

To control relay contact simultaneously, the PRM3 interface provides commands to be used with masks. The command used will vary based on the interface used.

 

Command Description
Mask Any relay bit set (1) will be CLOSED, any bit unset (0) will be OPENED
Set Any relay bit set (1) will be CLOSED, any bit unset (0) will be UNAFFECTED
Clear Any relay bit set (1) will be OPENED, any bit unset (0) will be UNAFFECTED

 

List of Masks

Mask (Decimal) Mask (Binary) Relays SET
0 000 None
1 001 1
2 010 2
3 100 3
4 011 1 and 2
5 101 1 and 3
6 110 2 and 3
7 111 1, 2, and 3

 

Understanding the Mask

The mask value is a set of 3 bits. The lowest bit (position 0) is for the lowest numbered relay (#1). The middle bit (position 1) is for the middle numbered relay (#2), and the highest bit (position 2) is for the highest numbered relay (#3).

The decimal value is simply the binary value, which can be determined by adding the set bits (1) values.

Depending on the command used, the set and unset bits will affect their respective relays differently.

MASK is the binary mask value sent or received

RELAY is the relay for the respective column values

VALUE is the decimal value for that bit

BIT POS is the bit position