User Tools

Site Tools

한국어

cubloc:byteout:index

ByteOut

ByteOut portBlock, value

portBlock I/O Port Block Number (0 to 15)
value Value to be output (o to 255)

ByteOut outputs a value to a port block (a group of 8 I/O ports). When using this command, all I/O ports within the specified port block are set to output.

The CB220 and CB280 port block groupings are shown below.

ByteOut 1,255           ' Output 255 to Port Block 1.
                        ' Ports 8 through 15 are set to HIGH.

NOTE: On the CB280, P1 only supports input. Therefore, ByteOut 0 will not set P1 to Output.

Go CUBLOC home

cubloc/byteout/index.txt · Last modified: 2017/08/03 10:09 by COMFILE Technology