EasyManuals Logo
Home>Lightware>Switch>UCX-4x2-HC30

Lightware UCX-4x2-HC30 User Manual

Lightware UCX-4x2-HC30
167 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #130 background imageLoading...
Page #130 background image
 UCX series – User's Manual 130

Setting the Output Level of a GPIO Pin
Command and Response
ç <port>.Output(<value>)
æ <port>.Output(<value>)
Parameters
See the previous section.
Example
ç 
æ 

Command and Response
ç <port>:interval(<value>;<time>)
æ <port>:interval=
Parameters
Parameter Parameter description  
<value> The output value of the GPIO pin.
High
high level
Low
low level
<time> Duration of the desired value in seconds.
1-120
second
Example
ç 
æ 
Toggling the Level of a GPIO Pin
The output level can be changed from high to low and low to high by the command below.
Command and Response
ç <port>:toggle()
æ <port>:toggle
Example
ç 
æ 

DIFFERENCE: 

Command and Response #ocs
ç 
æ <value>
Parameters
Parameter Parameter description  
<value> The input value of the OCS pin.
High
high level
Low
low level
Example
ç 
æ 
Set the Sensor Type
Command and Response
ç <sensor_type>
æ <sensor_type>
Parameters
Parameter Parameter description  
<sensor_type> 
input level means the occupancy.
Active low
Occupancy status is
'Occupied' when the
input level is low.
Active high
Occupancy status is
'Occupied' when the
input level is high
(default value).
Example
ç 
æ 

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Lightware UCX-4x2-HC30 and is the answer not in the manual?

Lightware UCX-4x2-HC30 Specifications

General IconGeneral
BrandLightware
ModelUCX-4x2-HC30
CategorySwitch
LanguageEnglish

Related product manuals