dS378
dS378
User Manual v2.19
Valid commands are:
ST
STatus request
SR [Relay number] [on/off] {Pulse time in mS}
SR 1 on
Set Relay 1 on
SR 1 off
Set Relay 1 off
SR 1 on 1000
Set Relay 1 on for 1 second
SO [Output number] [on/off]
SO 1 on
Set Output 1 on
SO 1 off
Set Output 1 off
GR [Relay number]
GR 1
Get relay 1 status – responds with Active or Inactive
GI [Input number]
GI 1
Get Input 1 status – responds with Active or Inactive
GA [Analog Input number]
GA 1
Get Analog input 1 – responds with the 10-bit analog value
GC [Counter number]
GC 1
Get Counter1 – responds with count, capture values.
Note – on the dS378, GI and GA are identical, getting the digital state or analogue value
depending on the port configuration in the I/O Types tab.
Typical PuTTY session.
Copyright
© 2016-2017,
Devantech Ltd.
All rights reserved.
30
www.pishrobot.com