REMGRID        Remove groups from the group ID

Syntax                        

REMGRID (value_1, value_2, …)

Remove specified groups from GRoup ID

 

Operandsvalue_1, value_2: specify a group number between 1 and 8

PlaceTMLOnline

Binary code

REMGRID

DescriptionThe command removes groups from the group ID. On each axis, the group ID represents a filter for a multicast transmission. When a multicast message is received, each axis compares the message group ID with its own group ID. If the two group IDs have at least one group in common, the message is accepted. For example, if an axis is member of group 1 and group 3, it will receive all the messages sent with a group ID including group 1 or group 3. The group ID is an 8-bit integer value. Each bit corresponds to one group: bit 0 – group 1, bit 1 – group 2… bit 7 – group 8.

After the execution of this command, the group ID value is modified as follows:

Bit 0 is set to 0, if (group) 1 occurs in the parenthesis
Bit 1 is set to 0, if (group) 2 occurs in the parenthesis
Bit 7 is set to 0, if (group) 8 occurs in the parenthesis.

 

Example                

GROUPID (8);//local axis belongs to groups 8

ADDGRID (2, 5);//local axis belongs to groups 2, 5 and 8

...

REMGRID (5, 8);//local axis belongs only to group 2