User Tools

Site Tools

한국어

logicpython:cubloc_api:put

This is an old revision of the document!


Put

Send an integer value as 1 to 4 little-endian bytes.

Syntax

from cubloc import Put
 
Put(channel: int, data: int, byteLength: int)

Parameters

  • channel: RS-232 channel number.
  • data: Integer value to send.
  • byteLength: Number of bytes to write, from 1 to 4.

Example

from cubloc import Put
 
# Example usage
Put(0, 1, 1)
logicpython/cubloc_api/put.1775786798.txt.gz · Last modified: by 127.0.0.1