EasyManua.ls Logo

Devantech dS2832 - Page 49

Devantech dS2832
68 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
dS28
dS28
32
32 User Manual v4.10
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 12-bit analog value
GC [Counter Number]
GC 1 Get Counter 1 – responds with count, capture values.
Note – on the dS2832, GI and GA are identical, getting the digital state or analogue value de-
pending on the port configuration in the I/O Types tab.
Typical PuTTY session.
Copyright © 2016-2022, Devantech Ltd.
All rights reserved.
www.robot-electronics.co.uk
49