ATEN Command Line Interface Control System Tataiso ea Mosebelisi
Mabapi le Tataiso ena
ATEN Control System e sebelisa protocol ea Telnet ho kenya tšebetsong CLI bakeng sa basebelisi ho romella litaelo. Tataiso ena e sebetsa ho balaoli ba ATEN le mabokose a katoloso. Litaelo tsena li u lumella ho lokisa litlhophiso tsa Telnet, litlhophiso tsa I/O, ho romela litaelo tsa taolo ho lisebelisoa tse laoloang ke molaoli / lebokose la katoloso, le ho amohela likarabo tsa lisebelisoa.
Hlokomela: Litlhophiso tsa I/O tse entsoeng ka CLI li tla lahleha haeba a viewer e kenngoa ka ATEN Configurator (GUI) ka mor'a moo.
Ho sheba mokhoa oa hajoale oa taolo ea selaoli, etela web tšelisa.
Qala bocha
Tšebeliso:
Qala hape molaoli.
Syntax:
qala hape↙
Amohela:
Taelo OK↙ : Taelo e nepahetse mme mosebetsi o phethiloe.
Taelo e fosahetse↙ : Taelo le/kapa liparamente li fosahetse ebile ha lia etsoa.
ExampLe:
reboot↙ : qala sesebelisoa hape
Thusa
Tšebeliso:
Hlahisa taelo ea ho nolofalletsa mokhoa oa CLI oa molaoli.
Syntax:
thuso↙
Amohela:
Taelo OK↙ : Taelo e nepahetse mme mosebetsi o phethiloe.
Taelo e fosahetse↙ : Taelo le/kapa liparamente li fosahetse ebile ha lia etsoa.
ExampLe:
help↙ : bonts'a litaelo tsa mokhoa oa CLI
Echo
Tšebeliso:
Numella kapa o tima selaoli hore se arabele melaetsa e amohetsoeng ka bo eona.
Syntax:
echo[taolo]↙
Paramethara:
control : on - nolofalletsa ts'ebetso ena ho tima - tima ts'ebetso ena (kamehla e koetsoe)
Amohela:
Taelo OK↙ : Taelo e nepahetse mme mosebetsi o phethiloe.
Taelo e fosahetse↙ : Taelo le/kapa liparamente li fosahetse ebile ha lia etsoa.
ExampLe:
eho on↙ : seta molaoli hore a arabele melaetsa e amoheloang ka bo eona.
Telnet
Tšebeliso:
Lokisa litlhophiso tsa mokhoa oa Telnet CLI.
Syntax:
telnet[nako ea ho felloa ke nako][taolo ea ho kena]↙
Keyword:
timeout : Telnet timeout setting interval setting login : Telnet login function setting
Paramethara:
interval : nako ya nako ya kopano ka motsotso. (0 e bolela hore ha ho na nako ea nako) (ka ho feletseng ke 5)
control : on - nolofalletsa ts'ebetso ea ho kena (kamehla e buletsoe) - tima ts'ebetso ea ho kena
Amohela:
Taelo OK↙ : Taelo e nepahetse mme mosebetsi o phethiloe.
Taelo e fosahetse↙ : Taelo le/kapa liparamente li fosahetse ebile ha lia etsoa.
ExampLe:
telnet timeout 0↙ : lokisa nako ea ho tsoa ha nako hore e se ke ea fela telnet timeout 5↙ : lokisa nako ea ho tsoa ho metsotso e 5 ho kena ha telnet ho tima↙ : tima ts'ebetso ea ho kena
Seriale
Tšebeliso:
Laola le ho lokisa litlhophiso tsa serial port.
Syntax:
serial [p sequence] [mofuta oa mofuta] [baud baudrate] [dbit databit] [parity sparity] [sbit stopbit] [fctrl flowctrl] [dtype datatype] [endchar chars ] [checksumtype checksumtype] [acktimeout nako] [laola "data" ] [thuso]↙
Keyword:
p: boema-kepe
mofuta: mofuta oa serial
baud : sekhahla sa bohlasoa
dbit: data bit
parity : serial parity
sbit : ema hanyane
fctrl: taolo ea phallo
dtype: mofuta oa data
acktimeout : nako ea ho qeta nako (ms) e sebelisoa ho emela maikutlo a tsoang ho sendack control.
endchar : ho sebelisoa tlhaku e itseng ho supa molaetsa o felletseng.
checksumtype : haeba ho hlokahala fw ho bala checksum ea taelo, fana ka mofuta oa checksum
thuso: bontsha ditaelo
Paramethara:
tatelano : boema-kepe, bo arohaneng ka phegelwana bakeng sa likou tse ngata
* (likou tsohle)
mofuta: 232, 422, 485 (232 ea kamehla)
baudrate : 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 (ka ho sa feleng 9600)
databit: 7, 8 (ka ho feletseng 8)
sparity : ha ho le ea mong, esita le, e makatsang (ha ho ea kamehla)
stopbit: 1, 2 (ea kamehla 1)
flowctrl: ha ho letho, hw (ha ho ea kamehla)
mofuta oa data: ascii, hex (ascii ea kamehla)
checksumtype: ha ho letho, modbus (ha ho ea kamehla)
nako : nako e itseng (ms)(default 300)
chars : litlhaku tse qetellang ho latela molaetsa o felletseng.
control : bala - bonts'a molaetsa o amohetseng oa boema-kepe bo itseng ba serial
ngola – romela data ho tswa ho serial port. Sebelisa " letšoao le koahela data. Sebelisa \x letšoao ho romela
Hex khoutu
sendack – romella data ho tsoa boema-kepe ba serial le ho bonts'a molaetsa o amohetsoeng
Amohela:
Taelo OK↙ : Taelo e nepahetse mme mosebetsi o phethiloe.
Taelo e fosahetse↙ : Taelo le/kapa liparamente li fosahetse ebile ha lia etsoa.
ExampLe:
Thuso ea serial ↙ : bonts'a litaelo
serial p01 ↙ : bonts'a tlhahisoleseling ea serial port1.
serial p* ↙ : bonts'a tlhahisoleseling ea litlhophiso tsa likou tsohle tsa serial.
serial p01 mofuta 232 baud 115200 dbit 8 parity none sbit 1 fctrl none ↙ : lokisa port1.
serial p01,04,07 baud 19200 ↙ : lokisa port1, 4, 7 ho tekanyo ea baud 19200.
serial p02 baud 19200 ↙ : lokisa port2 ho baud 19200 'me u sebelise litlhophiso tsa kamehla bakeng sa liparamente tse ling.
serial p02 dtype hex bala ↙ : bonts'a molaetsa o amoheloang oa port2 ka sebopeho sa HEX.
serial p03 ngola “sw i01 o02\r\n” ↙ : romella mongolo oa ASCII 'sw i01 o02' ho tsoa port3.
serial p03 sendack “sw i01 o02\x0D\x0A” ↙ : romela mongolo wa ASCII 'sw i01 o02' ho tsoa port3 mme o hlahise maikutlo.
Relay
Tšebeliso:
Laola le ho lokisa likou tsa relay.
Syntax:
relay [p sequence] [tpulse duration] [taolo] [thuso] ↙
Keyword:
p: boema-kepe
tpulse : nako e koetsoeng bakeng sa ho otla ha pelo
thuso: bontsha ditaelo
Paramethara:
tatelano : boema-kepe, bo arohaneng ka phegelwana bakeng sa likou tse ngata
* (likou tsohle)
nako : nako ka millisecond.
control : bula – tima
koala – bulela
pulse - koala kanale ea relay ebe oa bula
toggle - relay toggle
bala – boemo ba pontsho
Amohela:
Taelo OK↙ : Taelo e nepahetse mme mosebetsi o phethiloe.
Taelo e fosahetse↙ : Taelo le/kapa liparamente li fosahetse ebile ha lia etsoa.
ExampLe:
relay help ↙ : bontša litaelo
relay p01 koala ↙ : koala port1 channel.
relay p01 bula ↙ : bula port1 channel.
relay p01,04,07 koala ↙ : koala boema-kepe 1, 4, 7 likanale relay.
relay p02 tpulse 500 pulse ↙ : koala port2 500ms ebe e bula.
relay p02 bala ↙ : bonts'a boemo ba port2.
I/O
Tšebeliso:
Laola le ho lokisa likou tsa I/O.
Syntax:
io [p sequence] [mofuta oa iotype] [lthresh threshold] [hthresh threshold] [tpulse nako] [taolo] [thuso]↙
Keyword:
p: boema-kepe
lthresh: moeli o tlase
hthresh : moeli o holimo-limo
tpulse : nako eo I / O e lulang e le boemong bo phahameng ka mokhoa oa ho otla ha pelo
thuso: bontsha ditaelo
HLOKOMELA: Haeba parameter e sa hlalosoa, boleng bo kentsoeng pele bo tla sebelisoa.
Paramethara:
tatelano : boema-kepe, bo arohaneng ka phegelwana bakeng sa likou tse ngata
* (likou tsohle)
iotype: omile, vdc, dout
threshold : trigger threshold in voltage
nako : nako ka millisecond.
control : bula
koala
pulse
toggle
bala
Amohela:
Taelo OK↙ : Taelo e nepahetse mme mosebetsi o phethiloe.
Taelo e fosahetse↙ : Taelo le/kapa liparamente li fosahetse ebile ha lia etsoa.
ExampLe:
io thuso ↙ : bonts'a litaelo
io p01↙ : bonts'a tlhahisoleseling ea tlhophiso ea port1 ea I/O.
io p*↙ : bonts'a tlhahisoleseling ea litlhophiso tsa likou tsohle tsa I/O.
io p01 mofuta o omileng ↙ : lokisa port 1 ho omisa mokhoa oa ho ikopanya.
io p01 mofuta oa dout ↙ : lokisa port 1 ho mokhoa oa tlhahiso ea dijithale.
io p01 mofuta oa vdc lthresh 1 hthresh 3 ↙ : lokisa port 1 ho vdc mode ka litlhophiso tsa monyako.
io p01 bula ↙ : bula port1 channel.
io p01 koala ↙ : koala port1 channel.
io p01,04,07 koala ↙ : koala port1,4,7 likanale.
io p02 tpulse 500 pulse ↙ : koala port2 channel 500ms ebe e bula.
io p02 bala ↙ : bonts'a boemo ba port2.
IR
Tšebeliso:
Laola le ho lokisa likou tsa IR.
Syntax:
ir [p sequence] [mofuta irtype] | [baud baudrate] [dbit databit] [parity sparity] [sbit stopbit] [dtype datatype] [checksumtype checksumtype] [laola “data”] [thuso]↙
Keyword:
p: boema-kepe
type : mofuta oa tlhahiso bakeng sa koung e itseng ea tlhahiso
baud** : sekhahla sa bolutu
dbit** : data bit
parity** : serial parity
sbit** : ema hanyane
dtype ** : mofuta oa data
checksumtype** : Lebokose la taolo / katoloso le lekanya ka bo eona mofuta o boletsoeng oa cheke
thuso: bontsha ditaelo
HLOKOMELA:
* : Lentsoe lena la sehlooho ke la mofuta oa IR
** : Mantsoe ana a bohlokoa ke a mofuta oa 232
Haeba parameter e sa hlalosoa, boleng bo kentsoeng pele bo tla sebelisoa.
Paramethara:
tatelano : boema-kepe, bo arohaneng ka phegelwana bakeng sa likou tse ngata
* (likou tsohle)
irtype: ir, 232 (ea kamehla ir)
baudrate : 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 (ka ho sa feleng 9600)
databit: 7, 8 (ka ho feletseng 8)
sparity : ha ho le ea mong, esita le, e makatsang (ha ho ea kamehla)
stopbit : 1, 2 (ea kamehla 1)
mofuta oa data: ascii, hex (ascii ea kamehla)
checksumtype: ha ho letho, modbus (ha ho ea kamehla)
taolo : ngola - romella khoutu ea IR kapa data ea RS232
Amohela:
Taelo OK↙ : Taelo e nepahetse mme mosebetsi o phethiloe. Taelo e fosahetse↙ : Taelo le/kapa liparamente li fosahetse ebile ha lia etsoa.
ExampLe:
ir help ↙ : bonts'a litaelo
ir p01 ↙ : bonts'a tlhahisoleseding ea tlhophiso ea IR port1.
ir p* ↙ : bonts'a tlhahisoleseling ea litlhophiso tsa likou tsohle tsa IR.
ir p01,04,07 mofuta oa 232 ↙: lokisa port1,4,7 ho mofuta oa RS232
ir p01 mofuta oa 232 baud 115200 dbit 8 parity none sbit 1 mofuta oa checksum modbus↙ :
lokisa port1 ho mofuta oa RS232 le litlhophiso tsa ir p02 ngola dtype hex "0a0b0c" ↙: romella data ea sebopeho sa hex 0a0b0c ho tloha port2
ir p02 baud 19200 ↙ : lokisa port2 ho baud 19200 'me u sebelise litlhophiso tsa kamehla bakeng sa liparamente tse ling.
ir p02 ngola “sw i01 o02\r\n” ↙ : romella mongolo oa ASCII 'sw i01 o02' ho tsoa port2.
ir p02 ngola “sw i01 o02\x0D\x0A”↙ : romella mongolo oa ASCII 'sw i01 o02' ho tsoa port2.
Litokomane / Lisebelisoa
![]() |
ATEN Command Line Interface Control System [pdf] Bukana ea Mosebelisi Taelo Line Interface, Control System, Command Line Interface Control System |