
CHAPTER 6 DIGITAL AND OPTO PORTS
RPC-30 Page 25
COMMANDS
The following tables shows the CAMBASIC commands
used for digital I/O.
Command Function
AIN Returns value from G5 input module
AOT Outputs value to G5 output module
BIT Function returns status of bit at an I/O
address
BIT Comm and sets a bit at an I/O address
CONFIG PIO Configures J3 I/O port
INP Returns a byte fr om an I/O address
LINE Returns status of an opto line
OPTO Sets an opto module output
OUT Writes a byte to an I/ O address
PULSE Reads or writes a pulse at a por t.
See also ON BIT, ON C OUNT , ON INP, and related
statements.
Kommentare zu diesen Handbüchern