Parker HannifinBinary Mask CommandA binary mask command consists of a four-byte header followed byan address and two bit masks to be combined with the data at thataddress. There is no information returned from this command. Theaddress must point to a long integer storage area. The NAND mask isused to clear bits and the OR mask is used to set bits. The data ismodified as follows:data = ( data AND NOT nandmask ) OR ormaskBinary Mask PacketTransmit PacketData Field Data Type DescriptionByte 0 BYTE Header ID ( 0x00 )Byte 1 BYTE Packet ID ( 0x94 )Byte 2 BYTE Reserved ( 0x00 )Byte 3 BYTE Reserved ( 0x00 )Long 0 BYTE Data AddressLong 1 BYTE NAND MaskLong 2 BYTE OR MaskReceive PacketNone.Usage ExampleNOTE: Addresses shown are for example only. Addresses will varyfrom card to card, depending on system memoryallocation.This example uses the Binary Mask Command to clear all of theOpto-isolated Outputs and then set Output 32. The data address forOpto-isolated Outputs Parameter P4097 is assumed to have beenpreviously returned using the Binary Parameter Address Commandon the previous page.Fields: Header Parameter Address NAND Mask OR MaskOutput: 00 94 00 00 43 60 40 00 FF FF FF FF 01 00 00 00Opto-isolated Output Parameter P4097 Modified Data at address:0x406043: 0x00000001Binary Host Interface 111