![background image](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586705.webp)
676
Visual Inspection System Protocol
Appendix O
Receive Data Word Allocation (4th Operand of PMCR(260))
Note
1.
Only one output No. can be designated.
2.
Measurement is not performed with this command. The measurement results of the last measure-
ment will be stored in the specified words.
3.
This command can acquire only the measurement value of the window No. set by output format.
4.
For data 1 and 2, the receive data is compared with the send data. If the receive data is not the same
as the send data, the following flags will be turned ON: The flags for port 1 are CIO 190914 for the
Serial Communications Board and CIO 1500 + 25 x unit 9, bit 14 for Serial Communications
Units. The flags for port 2 are CIO 1919114 for the Serial Communications Board and CIO 1500 + 25
x unit 19, bit 14 for Serial Communications Units.
5.
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
6.
If a measurement value exceeds the range of measurement values when calibration is turned off, un-
expected data is stored in the specified words.
Offset
Content (data format)
Data
+0
Number of send data words
(4 digits Hex)
0003
+1
Data 1 (2 digits BCD)
00: Area
01: Center of gravity x
02: Center of gravity y
03: Main axis angle
04: Output format
05: Reference value of output format
06: X displacement
07: Y displacement
08: Angle displacement
09: X reference position
10: Y reference position
11: Angle reference position
+2
Data 2 (2 digits BCD)
When 00 to 03 is set to data 1
Window No.:
00 to 07
When 04 to 05 is set to data 1
Output No.:
00 to 07
When 06 to 11 is set to data 1
Camera No.:
00 to 01
Offset
Content (data format)
Data
+0
Number of receive data words
(4 digits BCD)
0004
+1 to +3 Measurement value (decimal portion)
(3 digits BCD)
Measurement value (integer portion)
(7 digits BCD)
Measurement value (sign)
(1 digit)
(Undefined)
Integer portion
Receive data
storage words
Number of receive data words
+0
+1
+2
+3
Measurement value
Decimal portion
Sign
0
Example
–123.456
+3
+4
+5
3456
0012
Example
+123.456
+3
+4
+5
3456
0012
F000
0000
F is stored for negative values.
Summary of Contents for SYSMAC CJ1W-SCU21-V1
Page 3: ...iv...
Page 5: ...vi...
Page 9: ...x...
Page 15: ...xvi...
Page 89: ...60 Basic Operating Procedure Section 1 9...
Page 151: ...122 RS 232C and RS 422A 485 Wiring Section 3 4...
Page 173: ...144 Host Link Function for Replacing Existing PLCs Section 4 6...
Page 223: ...194 Enhanced Protocol Macro Functions Section 5 6...
Page 277: ...248 Communications Frames Section 6 8...
Page 291: ...262 Basic Operating Procedure in No protocol Mode Section 7 4...
Page 301: ...272 Auxiliary Area and CIO Area Allocations Section 8 3...
Page 391: ...362 Introduction Appendix A...
Page 421: ...392 CompoWay F Master Protocol Appendix B...
Page 513: ...484 E5 K Digital Controller Read Protocol Appendix F...
Page 571: ...542 E5ZE Temperature Controller Write Protocol Appendix I...
Page 587: ...558 E5 J Temperature Controller Protocol Appendix J...
Page 627: ...598 ES100 Digital Controller Protocol Appendix K...
Page 661: ...632 V500 V520 Bar Code Reader Protocol Appendix M...
Page 697: ...668 3Z4L Laser Micrometer Protocol Appendix N...
Page 717: ...688 Visual Inspection System Protocol Appendix O...
Page 755: ...726 V600 V620 ID Controller Protocol Appendix P...
Page 763: ...734 Hayes Modem AT Command Protocol Appendix Q...
Page 767: ...738 Changing Communications Port Settings Using STUP 237 Appendix R...
Page 781: ...752 Revision History...