Visual Inspection System Protocol

 

 

 

 

Appendix L

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Offset

Content (data format)

 

 

 

Data

 

 

 

 

 

 

 

 

 

 

 

 

 

+0

Number of receive data words

0006

 

 

 

 

 

 

 

 

(4 digits BCD)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+1

Output No. (2 digits BCD)

00 to 07

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+2

Evaluation result (1 digit BCD)

0:

OK

 

 

 

 

 

 

 

 

1:

NG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+3 to

Measurement value (decimal portion)

Example

Example

 

 

+5

(3 digits BCD)

–123.456

+123.456

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+3

 

3456

+3

3456

 

 

 

 

 

Measurement value (integer portion)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(7 digits BCD)

+4

 

0012

+4

0012

 

 

 

 

 

 

+5

 

 

+5

 

 

 

 

 

 

 

 

F000

0000

 

 

 

 

 

Measurement value (sign)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(1 digit)

F is stored for negative values.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note 1. Only one output No. can be designated.

2.Turn OFF CIO 28911 (if port A is used) or CIO 28915 (if port B is used) to terminate this sequence.

3.The ranges of measurement values are as follows:

For calibration OFF setting : –2147483.648 to 2147483.647

For calibration ON setting : –9999999.999 to 9999999.999

4.If a measurement value exceeds the range of measurement values when calibration is turned off, unde- fined data is stored in the specified words.

Continuous Measurement Execution (Interrupt) (F200) (Sequence No. 452)

This sequence carries out continuously setting the F200 and stores measurement results in the specified words. The interrupt notification method is used for the receive data. The interrupt No. is 102.

Send Data Word Allocation (2nd Operand of PMCR)

None.

Receive Data Word Allocation (3rd Operand of PMCR)

Receive data

+0

storage words

+1

 

 

+2

 

+3

 

+4

 

+5

Number of receive data words

 

(Undefined)

 

 

Output No.

 

 

(Undefined)

 

Evaluation

 

 

 

result

 

 

 

 

 

 

 

 

 

 

 

Decimal portion

 

 

 

 

 

 

 

 

Integer portion

 

 

 

 

 

 

 

 

 

Sign

 

0

 

 

 

 

 

 

 

 

 

 

 

 

Measurement value

Offset

Content (data format)

 

 

 

Data

 

 

 

 

 

 

 

 

 

+0

Number of receive data words

0006

 

 

 

 

 

(4 digits BCD)

 

 

 

 

 

 

 

 

 

 

 

 

 

+1

Output No. (2 digits BCD)

00 to 07

 

 

 

 

 

 

 

 

 

 

 

+2

Evaluation result (1 digit BCD)

0:

OK

 

 

 

 

 

1:

NG

 

 

 

 

 

 

 

 

 

 

+3 to

Measurement value (decimal portion)

Example

Example

+5

(3 digits BCD)

–123.456

+123.456

 

 

 

 

 

 

 

 

 

 

 

+3

 

3456

+3

3456

 

 

Measurement value (integer portion)

 

 

 

 

 

 

 

 

 

(7 digits BCD)

+4

 

0012

+4

0012

 

 

 

+5

 

 

+5

 

 

 

 

 

F000

0000

 

 

Measurement value (sign)

 

 

 

 

 

 

 

 

 

 

(1 digit)

 

 

F is stored for negative values.

 

 

 

 

 

 

 

 

 

 

 

 

Note 1. Only one output No. can be designated.

2. Turn OFF CIO 28911 (if port A is used) or CIO 28915 (if port B is used) to terminate this sequence.

353

Page 356
Image 356
Omron CQM1H-SCB41 operation manual Continuous Measurement Execution Interrupt F200 Sequence No, Appendix L