IP320 ADC

 
The IP408 provides 32 channels of digital I/O. Each channel can be used as an input or output. Outputs are always off upon power-up and are automatically cleared following a software reset. See the manufacturer's documentation for more complete information. The IP408 object can only be placed onto an IP Carrier board. See the manual for more information.
 

A 32-bit mask to limit which bits are changed in a write operation

A 32-bit value to write to hardware

A 32-bit mask to limit which bits are reported in a read operation

The 32-bit value that was read out

 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx

 ^^^^ ^^^^ ^^^^ ^^----------------------- Data ID (from header)

 -----------------^^ ^^^^ ^^^^ ^^^^ ^^^^- length

 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx

 --------^-^^^--------------------------- Crate number

 -------------^-^^^^--------------------- Card number

 -----------------------------------^^^^- IP Card number

 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx -Unix Time (seconds from 1970)

 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx -Write Mask

 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx -Read Mask

 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx -Write Value

 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx -Read Value

The IP408 doesn’t generate any data on its own, by its values can be inserted into the ORCA data stream by calling the “shipRecord” method from a script. The resulting data record format is: