Download SC-4104-W1 User Manual

Transcript
3.33. ~aaRS
Description:
Read current rotary switch and DIP switch value of the module.
Syntax:
~aaRS [CHKSUM](CR)
~
Delimiter character.
aa
The address of the module to be read in hex format (00 to FF).
RS
The command for read rotary switch and DIP switch value.
Response:
Valid Command:
!aard[CHKSUM](CR)
Invalid Command:
?aa[CHKSUM](CR)
!
Delimiter character to indicate that the command was valid.
?
Delimiter character to indicate that the command was invalid.
aa
The address of the responding module in hex format (00 to FF).
r
Rotary switch value, range is from 0 ~ F.
d
DIP switch value, range is from 0 ~ F.
Examples:
Command: ~03RS
Response:
!0331
Read module 03 switch value returns rotary switch value is 3 and
DIP switch value is 1.
Related Command:
None
Related Topics:
Section 2.5 DIP Switch and Rotary Switch Configuration
SC-4104-W1 User Manual v1.01, Feb / 16 / 2015
------------------------------ 62