RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
122
innovators for industry
Ctrl Command write_8bit_port
Function
writes an 8-bit value to the digital output port on the LASER EXTENSION connector
Parameter
value
output value for the digital output port as unsigned 16-bit value.
Allowed range: [0 … 255]
Integration
Pascal:
procedure write_8bit_port(value: word);
C:
void write_8bit_port(unsigned short value);
Basic:
sub write_8bit_port(ByVal value%)
Comments
• Please refer to
chapter "8-Bit Digital Output Port", page 53
, and to the section
Output Port (Laser Extension Connector)", page 60
• The upper 8 bits of the specified value are ignored.
References
List Command
write_8bit_port_list
Function
same as
(see above), but a list command
Integration
Pascal:
procedure write_8bit_port_list(value: word);
C:
void write_8bit_port_list(unsigned short value);
Basic:
sub write_8bit_port_list(ByVal value%)
Ctrl Command write_da_1
Function
see
Integration
Pascal:
procedure write_da_1(value: word);
C:
void write_da_1(unsigned short value);
Basic:
sub write_da_1(ByVal value%)
List Command
write_da_1_list
Function
see
Integration
Pascal:
procedure write_da_1_list(value: word);
C:
void write_da_1_list(unsigned short value);
Basic:
sub write_da_1_list(ByVal value%)
Ctrl Command write_da_2
Function
see
Integration
Pascal:
procedure write_da_2(value: word);
C:
void write_da_2(unsigned short value);
Basic:
sub write_da_2(ByVal value%)