CBOX - Clever Box
From PlcWiki
(Difference between revisions)
(Created page with 'There are new scripts for accessing the stations now - we call them cbox. If you type cbox, you will get this help: Usage: cbas [wpid] …') |
|||
Line 24: | Line 24: | ||
cbshow B31 # B3 robotic | cbshow B31 # B3 robotic | ||
cbssh B32 # B3 manual | cbssh B32 # B3 manual | ||
+ | |||
+ | Quick overview: | ||
+ | |||
+ | cbfa cbshow @wpid@lo | ||
+ | |||
+ | Reload all stations: | ||
+ | |||
+ | cbfa cbscan @wpid@lo |
Revision as of 09:47, 26 July 2017
There are new scripts for accessing the stations now - we call them cbox. If you type cbox, you will get this help:
Usage: cbas [wpid] (active stations) cbras [-p <port>] <station> [<ip>] (remove active station) cboa [-b] <command> (on all) cbfa [-b] <command> (for all) cbshow [-c <console>] <station>[<num>] [<interval>] (show station screen) cbssh [-b] <station>[<num>] [<command>] (ssh to station) cbscan <station>[<num>] [<barcode>] (scan on station) cbseq [-p <port>] <station> (get sequence) cbros [-p <port>] <station> [<product ID>] (reset sequence) cberase [-p <port>] <product ID>|all (erase product/erase all)
With cbssh, cbscan and cbshow, you can append an index or the last octet of the IP to the workplace ID:
cbshow B3153 # B3 robotic (IP 10.5.4.153) cbssh B3154 # B3 manual (IP 10.5.4.154)
Or you can use just indexes 1 and 2:
cbshow B31 # B3 robotic cbssh B32 # B3 manual
Quick overview:
cbfa cbshow @wpid@lo
Reload all stations:
cbfa cbscan @wpid@lo