Appendix LVisual Inspection System Protocol
353
Offset Content (data format) Data
+0 Number of receive data words
(4 digits BCD)
0006
+1 Output No. (2 digits BCD) 00 to 07
+2 Evaluation result (1 digit BCD) 0: OK
1: NG
+3 to
+5
Measurement value (decimal portion)
(3 digits BCD)
Example
–123.456
Example
+123.456
Measurement value (integer portion)
(7 digits BCD)
+3
+4
3456
0012
+3
+4
3456
0012
Measurement value (sign)
(1 digit)
+5 +5
F000 0000
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)
Integer portion
Receive data
storage words
Number of receive data words+0
+1
+2
+3
+4
+5
(Undefined)
Output No.
(Undefined)
Measurement value
Evaluation
result
Decimal portion
Sign 0
Offset Content (data format) Data
+0 Number of receive data words
(4 digits BCD)
0006
+1 Output No. (2 digits BCD) 00 to 07
+2 Evaluation result (1 digit BCD) 0: OK
1: NG
+3 to
+5
Measurement value (decimal portion)
(3 digits BCD)
Example
–123.456
Example
+123.456
Measurement value (integer portion)
(7 digits BCD)
+3
+4
3456
0012
+3
+4
3456
0012
Measurement value (sign)
(1 digit)
+5 +5
F000 0000
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.