PartCheck

From PlcWiki

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