dS1242
dS1242 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 10-bit analog value
GC [Counter number]
GC 1 Get Counter1 – responds with count, capture values.
Typical PuTTY session.
Copyright © 2016-2021, Devantech Ltd.
All rights reserved.
www.robot-electronics.co.uk
43