List Command write_da_2_list
Function
see
write_da_x_list
Integration
Pascal:
C:
Basic:
Ctrl Command write_da_x
Function
writes a 10-bit value to one of the analog output ports of the RTC
®
RTC
4 I/O Extension Board
Parameters
x
value
Integration
Pascal:
C:
Basic:
Comments
• For the ANALOG OUT1 / ANALOG OUT2 ports, the commands
can be used alternatively (without parameter x).
• Note that the output range of the ANALOG OUT1 port can be either 0 V ... 2.56 V or
0 V ... 10 V (see
always 0 V ... 10 V. Also see the supplement manual
List Command write_da_x_list
Function
same as
Integration
Pascal:
C:
Basic:
Ctrl Command write_io_port
Function
writes a value to the 16-bit digital output port on the "EXTENSION 1" connector
Parameter
value
Integration
Pascal:
C:
Basic:
Comments
• Use the commands
of the 16-bit digital output port, depending on the state of the input port.
References
write_io_port_list,
®
RTC
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
procedure write_da_2_list(value: word);
void write_da_2_list(unsigned short value);
sub write_da_2_list(ByVal value%)
[1, 2]
ANALOG OUT1 / ANALOG OUT2 ports on the RTC
[3, 4, 5, 6] ANALOG OUT ports on the RTC
output value for the DA converter as unsigned 16-bit value.
Allowed range: [0 ... 1023].
If a value > 1023 is specified, the output value is set to 1023.
procedure write_da_x(x, value: word);
void write_da_x(unsigned short x, unsigned short value);
sub write_da_x(ByVal x%, ByVal value%)
page
59), whereas the output range of the ANALOG OUT2 port is
write_da_x
(see above), but a list command
procedure write_da_x_list(x, value: word);
void write_da_x_list(unsigned short x, unsigned short value);
sub write_da_x_list(ByVal x%, ByVal value%)
output value as unsigned 16-bit value (DIGITAL_OUT0 ... DIGITAL_OUT15)
procedure write_io_port(value: word);
void write_io_port(unsigned short value);
sub write_io_port(ByVal value%)
set_io_cond_list
read_io_port
®
®
4 I/O Extension Board (optional)
write_da_1
"I/O Extension
and
clear_io_cond_list
to set/clear individual bits
4 or the
®
4 board
/
write_da_2
Board".
123
Need help?
Do you have a question about the RTC 4 and is the answer not in the manual?