User’s Manual
DM5856HR/DM6856HR
21
RTD Finland Oy
Isolated Output Programming
The optoisolated outputs are controlled with a register structure.
These outputs can be commanded in the following ways (examples in "C" syntax):
1.
Software controlled byte write
outp(BA,
low_byte);
outp(BA,
high_byte);
2.
Software controlled direct word write
outpw(BA,
word);
Isolated Input Programming
The optoisolated inputs are read from a data latch.
These inputs can be interrogated in the following ways (examples in "C" syntax):
1.
Software controlled byte read
low_data = inp(BA);
high_data = inp(BA+1);
2.
Software controlled direct word read
word_data = inpw(BA);