|
|
|
| Driver Manual | |
Read/ | COMMAND NAME | OPTO22_FORMAT | MASTER LENGTH | NOTES | |
Write/ |
| OPTION | CONSIDERED (See |
| |
Both |
|
| Notes) |
| |
|
|
|
|
affected. The Modifier (byte 1&2) are specified in the CSV file with the opto22_modifier1/2 parameters. The data (number of pulses) is retrieved from the 1st element of the data array.
w | START ON PULSE |
| 3 | Only specified module positions get |
|
|
|
| affected. The data (period of pulses) |
|
|
|
| is retrieved from the 1st element of |
|
|
|
| the data array. |
w | START OFF PULSE |
| 3 | Only specified module positions get |
|
|
|
| affected. The data (period of pulses) |
|
|
|
| is retrieved from the first element of |
|
|
|
| the data array. |
w | SET TRIGGER POLARITY |
| 3 | All Module positions are affected by |
|
|
|
| this command. |
|
|
|
| module positions triggered by on, |
|
|
|
| zero module positions |
|
|
|
| elements get triggered by off. |
w | TRIGGER ON POSITIVE |
| 3 | Only module positions specified get |
|
|
|
| affected by command. |
w | TRIGGER ON NEGATIVE |
| 3 | Only module positions specified get |
|
|
|
| affected by command. |
r | READ PULSE COMPLETE BITS | 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. |
|
|
|
| Retrieved data is stored in standard |
|
|
|
| data array. |
r | READ DURATION COUNTERS |
| 3 | Only specified module positions get |
|
|
|
| read. Data read gets put in |
|
|
|
| corresponding positions of data array. |
b | READ AND CLEAR DURATION |
| 3 | Only specified module positions get |
| COUNTERS |
|
| read. Data read gets put in |
|
|
|
| corresponding positions of data array. |
w | CLEAR DURATION COUNTERS |
| 3 | Only module positions specified get |
|
|
|
| affected by command. |
w | WRITE ANALOG OUTPUTS |
| 3 | Only specified module positions get |
|
|
|
| written. Data written gets extracted |
|
|
|
| from corresponding positions of data |
|
|
|
| array. |
r | READ ANALOG OUTPUTS |
| 3 | Only specified module positions get |
|
|
|
| read. Data read gets put in |
|
|
|
| corresponding positions of data array. |
w | UPDATE ANALOG OUTPUTS |
| 3 | Only specified module positions get |
|
|
|
| written. Data written gets extracted |
|
|
|
| from corresponding positions of data |
|
|
|
| array. |
r | READ ANALOG INPUTS |
| 3 | Only specified module positions get |
|
|
|
| read. Data read gets put in |
|
|
|
| corresponding positions of data array. |
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408)
Visit our website: www.fieldserver.com
Page 22