212 – ReadInput
The table below contains the values for the following example to read the state
of an input:
$PLSC,212,1*0C
213 – WriteOutput
The table below contains the values for the following example to write the state
of GPIO 1 to low:
$PLSC,21 3 ,1,0*11
Name
MID
GPIO
Number
Example
$PLSC,212
1
Units
Description
Message ID
Number of the GPIO line to read. Only
one line can be set at a time.
Name
MID
GPIO
Number
Example
$PLSC,21 3
1
Units
Description
Message ID
Number of the GPIO line to write. Only
one line can be set at a time.
Checksum
<CR> <LF>
*0C
End of message termination
State
Checksum
0
*11
State; 0 = Low; 1 = High
Table 2 8 : ReadInput Example
The receiver outputs a response to this command. The table below contains the
response for the above command:
<CR> <LF>
Table 3 0: WriteOutput Example
End of message termination
Name
MID
Example
$PLSR,212
Units
Message ID
Description
The receiver outputs a response to this command. The table below contains the
response for the above command:
GPIO
Number
1
Number of the GPIO line to set. Only one
line can be set at a time.
Name
MID
Example
$PLSR,21 3
Units
Message ID
Description
State
Checksum
0
*01
0 = Low; 1 = High; 2 = the referenced
GPIO is not an input
Valid
Checksum
<CR> <LF>
1
*1C
0: command invalid, 1: command valid
End of message termination
<CR> <LF>
End of message termination
Table 3 1: WriteOutput Response Example
Table 29: ReadInput Response Example
For some further examples of this command:
n Read that GPIO 1 is low
Input command: $PLSC,212,1*0C
Output response: $PLSR,212,1,0*01
n Read that GPIO 1 is high
Input command: $PLSC,212,1*0C
Output response: $PLSR,212,1,1*00
n Read that GPIO 1 is not an input
Input command: $PLSC,212,1*0C
Output response: $PLSR,212,1,2*0 3
Page 24
For some further examples of this command:
n Set GPIO 1 to low
Input command: $PLSC,21 3 ,1,0*11
Output response: $PLSR,21 3 ,1*1C
n Set GPIO 1 to high
Input command: $PLSC,21 3 ,1,1*10
Output response: $PLSR,21 3 ,1*1C
n GPIO 1 is not an output
Input command: $PLSC,21 3 ,1,1*10
Output response: $PLSR,21 3 ,0*1D
Page 25
相关PDF资料
RXM-GPS-SR-T GPS MODULE SMD SIRF W/ANT
RZE002P02TL MOSFET P-CH 20V 200MA EMT3
RZF020P01TL MOSFET P-CH 12V 2A TUMT3
RZF030P01TL MOSFET P-CH 12V 3A TUMT3
RZM002P02T2L MOSFET P-CH 20V 0.2A UMT6
RZQ045P01TR MOSFET P-CH 12V 4.5A TSMT6
RZQ050P01TR MOSFET P-CH 12V 5A TSMT6
RZR020P01TL MOSFET P-CH 12V 2A TSMT3
相关代理商/技术参数
RXM-GPS-SR-B 功能描述:GPS模块 GPS Receiver with Integrated Antenna RoHS:否 制造商:Linx Technologies 频带:1.575 GHz 通道数量:20 首次定位时间(冷启动):35 s 获取敏感性:- 144 dBm 水平位置精确度:10 m 工作电源电压:3 V to 4.2 V 工作电源电流:46 mA 接口类型:Serial 最大工作温度:+ 85 C 安装风格:SMD/SMT 尺寸:15 mm x 13 mm x 2.2 mm
RXM-GPS-SR-T 功能描述:GPS模块 GPS Receiver with Integrated Antenna RoHS:否 制造商:Linx Technologies 频带:1.575 GHz 通道数量:20 首次定位时间(冷启动):35 s 获取敏感性:- 144 dBm 水平位置精确度:10 m 工作电源电压:3 V to 4.2 V 工作电源电流:46 mA 接口类型:Serial 最大工作温度:+ 85 C 安装风格:SMD/SMT 尺寸:15 mm x 13 mm x 2.2 mm
RXM-UHF 制造商:RADIOMETRIX 制造商全称:RADIOMETRIX 功能描述:UHF Radio Telemetry Receiver Module
RXP0005 制造商:Panasonic Industrial Company 功能描述:ARM
RXP0014 制造商:Panasonic Industrial Company 功能描述:PULLEY
RXP0015 制造商:Panasonic Industrial Company 功能描述:ROLLER
RXP0016 制造商:Panasonic Industrial Company 功能描述:ROLLER
RXP0016-4 制造商:Panasonic Industrial Company 功能描述:ROLLER