command line interface - control chamber
TRANSCRIPT
Command Line Interface (CLI) Remotely Control Chamber
Mr. Worachart Pirunruk Sr. TE CISCO RCFA
2
What is Command Line Interface ???
A command-line interface or Command Language interpreter (CLI), also known as command-line user interface, console user interface, and character user interface (CUI), is a means of interacting with a computer program where the user (or client) issues commands to the program in the form of successive lines of text (command lines). [1]
[1] “Text mode programs (CUI: Console User Interface)” Wine User Guide. Sep 22, 2013
3
Graphic User Interface – Vostron Chamber
4
Graphic User Interface – Vostron Chamber (Cont.)
Note. Profile 1 only available to use by remote session only.
It is not available for GUI control.
5
Vostron Chamber Communication Tunnel
Protocol
- Telnet
Default IP Address
- 10.1.1.61
Default Port
- 36888
Example (VB script)
- /telnet 10.1.1.61 36888
6
Command List
Command Description
= + Turn on
= - Turn off
= ptyp x Set Program type
0 = Time Based
1 = Ramp Based
? ptyp View Program Type
Return 0,1
= sp1 x Set Temperature Set Point
X = Temperature in Celsius
? c1 Check Current Temperature
7
Command List (Cont.)
Command Description
= stp A B C D E F G H I Setting the profile Step
A = Profile Number
B = Step Number
C = Action (0: End, 1: Ramp, 2: Soak)
D = Temperature Set Point
E = Hour
F = Minute
G = Second
H = Event (Just insert *)
I = Event (Just insert *)
? stp A B View The Profile
A = Profile Number
B = Step Number
8
Command List (Cont.)
Command Description
= strt A B Starting a Profile
A = Profile Number
B = Step Number
? rhs Check Current Status (Run/Hold Status)
Return 0: Hold, 1: Run, 2: Pre-Run
9
Example
= stp 1 1 1 55 0 30 0 * *
- Set Profile 1, Step 1: Ramp to 55 C in 30 minutes
= stp 1 2 2 0 0 60 0 * *
- Set Profile 1, Step 2: Soak 60 minutes (For soaking, don’t have to set temperature).
= +
- No return value, but the chamber will turn on, and ramp to Set point temperature.
10
Example (Cont.)
= strt 1 1
- Start Profile 1, Step 1: In this case, the chamber will ramp to 55 in 30 minutes. (Beware of Program type, should set program type before start any profile.)
? rhs
- After start any profile, when use this command, it will return value 1 (Run). Keep check for return value 0 (Hold). It means the profile is executed completely. Then, you could perform next process.
? c1
- 22 (Current temperate)
11
Example (Cont.)
= sp1 55
- No return value. But if the chamber is on. The chamber will start to ramp to this set point temperature based on ramp rate. It means, the chamber will ramp to target temperature as soon as it can.
? sp1
- 55 (Return current set point temperature value)
= -
- No return value, but the chamber will turn off, even the profile is still running.
12