Control barcodes

From PlcWiki

(Difference between revisions)
Jump to: navigation, search
Line 16: Line 16:
| '''Reset of sequence'''
| '''Reset of sequence'''
| Request for the sequence reset is sent to PLC kernel. If the product ID is scanned after this bar code, the sequence pointer will be set to that product. It is not possible to reset a sequence backwards.
| Request for the sequence reset is sent to PLC kernel. If the product ID is scanned after this bar code, the sequence pointer will be set to that product. It is not possible to reset a sequence backwards.
-
|-  
+
|-
| PLCEOP
| PLCEOP
-
| '''End of program'''
+
| '''End of programm'''
-
| End of PLC client, after end of client system prompt will appear.
+
| End of PLC client. A system prompt will appear when the client is finished. So then it is possible to log in on a console.
|-  
|-  
| PLCNEXT
| PLCNEXT
-
| '''Scan next cockpit'''
+
| '''Scan next product'''
-
| Simulates next cockpit number scanning.
+
| Simulates a scanning of the next product ID in the sequence. It is not possible to use this bar code after the "Sequence error" situation. Only the correct product ID can be scanned then.
 +
|-
 +
| PLCD<DebugLevel>
 +
| '''Debug Level'''
 +
| Sets the debug to the specified level. The standard level is 0. The higher level, the more information is stored in the log file.
|}
|}
{| class="wikitable" border="1" cellspacing="0"
{| class="wikitable" border="1" cellspacing="0"

Revision as of 15:51, 27 November 2009

Following barcodes can be scanned or sent by a script plc_vscan
Barcode content Action Description
PLCHUP New configuration After the scanning of this barcode, the configuration of PLC client will be reloaded from the configuration file (/usr/local/plc/etc/plc_client_XY.cfg). If the current product is not finished, the configuration is not reloaded immediately, but after the product is finished.
PLCREBOOT Restart PLC station PLC station will be restarted, not client only, but the whole system.
PLCROS Reset of sequence Request for the sequence reset is sent to PLC kernel. If the product ID is scanned after this bar code, the sequence pointer will be set to that product. It is not possible to reset a sequence backwards.
PLCEOP End of programm End of PLC client. A system prompt will appear when the client is finished. So then it is possible to log in on a console.
PLCNEXT Scan next product Simulates a scanning of the next product ID in the sequence. It is not possible to use this bar code after the "Sequence error" situation. Only the correct product ID can be scanned then.
PLCD<DebugLevel> Debug Level Sets the debug to the specified level. The standard level is 0. The higher level, the more information is stored in the log file.
Emergency barcodes
PLCIL[<OpID>] Invalid Label This bar code is used when it is not possible to scan a bar code to fulfill a part check operation (standard part check, rack part check (pick-to-light), camera inspection) and/or a serial number evidence and/or Poka-Yoke check). An optional part [<OpID>] can specify an operation, for which the control bar code should be used. If omitted, the first available operation is used. An "available operation" means an operation of a type part check or serial or Poka-Yoke, which is requested and not yet fulfilled. If there is no such operation, an error message "Invalid ID" is evoked.
PLCABC<OpID>

PLCABCALL

Accept Bad Count PLC client will accept a bad count of OK results of an operation. It is used when it is not possible to reach OK fulfilling of an operation (for example tightening).
Personal tools