CBOX - Clever Box

From PlcWiki

Revision as of 09:38, 26 July 2017 by David (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
Personal tools