Parker Hannifin
home | products | how to buy | support & downloads | literature | search

Click Here to go to new EM&D Knowledge Base (FAQ) site


ACR Binary Host Interface SET and CLR (copy)

Supplement to ACR Programmers Guide,Binary Host Interface

Products: ACR9000,9030,9040,9600,9630,9640, AR-xxCE (Aries Controlller)

The immediate setting and clearing of bits can be accomplished with a 3-byte binary command sequence. This sequence is a 1-byte command header followed by a two-byte index value. The index value is sent low order byte first. The command is not queued and the set or clear occurs when the command is first seen by the board.

Note: Ethernet communications expects 4 byte packets.

Binary CLR  
Data Type Description
Byte 0 Header ID ( 0x1C )
Byte 1 Index Byte 0
Byte 2 Index Byte 1
Byte 3 0x00, add this byte is for Ethernet or ACR8020 DPCB
   
Binary SET  
Data Type Description
Byte 0 Header ID ( 0x1D )
Byte 1 Index Byte 0
Byte 2 Index Byte 1
Byte 3 0x00, add this byte is for Ethernet or ACR8020 DPCB

 

Ethernet Examples:

Binary Output Description
1C 08 02 00 Set bit 520 ( 0x0208 )
1D 20 00 00 Clear bit 32 ( 0x0010 )
1C 11 21 00 Set bit 8465 ( 0x2111 )
1D 13 21 00 Clear bit 8467 ( 0x2113 )

 

23-Mar-2012