
| 
 | 
 | 
 | 
 | Driver Manual | 
 | |
| Read/ | COMMAND NAME | OPTO22_FORMAT | MASTER LENGTH | NOTES | ||
| Write/ | 
 | OPTION | CONSIDERED (See | 
 | 
 | |
| Both | 
 | 
 | Notes) | 
 | 
 | |
| 
 | 
 | 
 | Specified) module positions get set | |||
| 
 | 
 | 
 | 
 | 
 | ||
| 
 | 
 | 
 | 
 | 
 | ||
| w | SET LATCH OFF TO ON | 
 | 3 | Only module positions specified get | ||
| 
 | 
 | 
 | 
 | 
 | affected by command. | |
| w | SET LATCH ON TO OFF | 
 | 3 | Only module positions specified get | ||
| 
 | 
 | 
 | 
 | 
 | affected by command. | |
| r | READ LATCHES | 1 | 2 | If format=Bit then length is considered | ||
| 
 | 
 | 
 | 
 | 
 | during storage as bits are unpacked | |
| 
 | 
 | 
 | 
 | 
 | into data array. If format is non equal | |
| 
 | 
 | 
 | 
 | 
 | to bit then result is written as a single | |
| 
 | 
 | 
 | 
 | 
 | value into one array element. | |
| b | READ AND CLEAR LATCHES | 1 | 3,2 | |||
| 
 | 
 | 
 | 
 | 
 | positions get affected (cleared) by | |
| 
 | 
 | 
 | 
 | 
 | command. But all positions get read. | |
| 
 | 
 | 
 | 
 | 
 | Read data get stored in data array. | |
| 
 | 
 | 
 | 
 | 
 | During storage opto22_format is | |
| 
 | 
 | 
 | 
 | 
 | considered. If format=bit then data is | |
| 
 | 
 | 
 | 
 | 
 | unpacked and stored otherwise the | |
| 
 | 
 | 
 | 
 | 
 | result for all 16 positions is stored as | |
| 
 | 
 | 
 | 
 | 
 | one data element. | |
| w | CLEAR LATCHES | 
 | 3 | Only module positions specified get | ||
| 
 | 
 | 
 | 
 | 
 | affected by command. | |
| w | START/STOP COUNTERS | 
 | 3 | All positions are affected by | ||
| 
 | 
 | 
 | 
 | 
 | command.  | |
| 
 | 
 | 
 | 
 | 
 | module positions start counting, zero | |
| 
 | 
 | 
 | 
 | 
 | (unspecified) module positions stop | |
| 
 | 
 | 
 | 
 | 
 | counting | |
| w | START COUNTERS | 
 | 3 | Only module positions specified get | ||
| 
 | 
 | 
 | 
 | 
 | affected by command. | |
| w | STOP COUNTERS | 
 | 3 | Only module positions specified get | ||
| 
 | 
 | 
 | 
 | 
 | affected by command. | |
| r | READ COUNTERS | 
 | 1 | Data that is read is put into the | ||
| 
 | 
 | 
 | 
 | 
 | corresponding array elements of the | |
| 
 | 
 | 
 | 
 | 
 | data array based on which module | |
| 
 | 
 | 
 | 
 | 
 | positions are read. | |
| b | READ AND CLEAR COUNTERS | 
 | 1 | Data that is read is put into the | ||
| 
 | 
 | 
 | 
 | 
 | corresponding array elements of the | |
| 
 | 
 | 
 | 
 | 
 | data array based on which module | |
| 
 | 
 | 
 | 
 | 
 | positions are read. | |
| w | CLEAR COUNTERS | 
 | 3 | Only module positions specified get | ||
| 
 | 
 | 
 | 
 | 
 | affected by command. | |
| w | SET TIME DELAY | 
 | 3 | The Modifier is specified in the CSV | ||
| 
 | 
 | 
 | 
 | 
 | file with the opto22_modifier1 | |
| 
 | 
 | 
 | 
 | 
 | parameter. The data (timeout) is | |
| 
 | 
 | 
 | 
 | 
 | retrieved from the first element of the | |
| w | INITIATE SQUARE WAVE | 
 | 3 | data array. | ||
| 
 | 
 | 
 | ||||
| w | HIGH RESOLUTION SQUARE WAVE | 
 | 3 | 
 | 
 | |
| w | RETRIGGER TIME DELAY | 
 | 3 | Only module positions specified get | ||
| 
 | 
 | 
 | 
 | 
 | affected by command. | |
| w | GENERATE N PULSES | 
 | 3 | Only specified module positions get | ||
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408) 
Visit our website: www.fieldserver.com 
Page 21
