PartCheck

From PlcWiki

(Difference between revisions)
Jump to: navigation, search
m (Other parameters)
m (Other parameters)
Line 8: Line 8:
*Operation.''name''.PartStart[i] = int
*Operation.''name''.PartStart[i] = int
*Operation.''name''.PartLength[i] = int
*Operation.''name''.PartLength[i] = int
-
*Operation.''name''.CheckSumType = int
+
*Operation.''name''.CheckSumType[i] = int
-
  Possible values of CheckSumType[i]:
+
  Possible values of CheckSumType:
  '''0 - No check''' (default settings)
  '''0 - No check''' (default settings)
  1 - SumEven + 3*SumOdd MOD 10
  1 - SumEven + 3*SumOdd MOD 10
  2 - SumEven + 3*SumOdd MOD 36
  2 - SumEven + 3*SumOdd MOD 36
  3 - Sum MOD 43 (Code39)
  3 - Sum MOD 43 (Code39)

Revision as of 07:33, 14 May 2010

Generally, this type of an operation checks if the scanned part is the correct one, which is requested for this product.

Mandatory parameters

  • Operation.name.Type = PartCheck
  • Operation.name.Index = (int) index

Other parameters

Bar code settings

  • Operation.name.SelectPattern[i] = Regexp
  • Operation.name.PartStart[i] = int
  • Operation.name.PartLength[i] = int
  • Operation.name.CheckSumType[i] = int
Possible values of CheckSumType:
0 - No check (default settings)
1 - SumEven + 3*SumOdd MOD 10
2 - SumEven + 3*SumOdd MOD 36
3 - Sum MOD 43 (Code39)
Personal tools