Mitsubishi Electric R16MTCPU Programming Manual page 259

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

• The return value of Native Mode command is stored as below by specifying (S3) in the device specified with (D). When the
return value data is the following ([CR] indicates a return code, and [LF] indicates a line feed code.)
1[CR][LF]
Status code
19[CR][LF]
<Float>92</Float>[CR][LF]
■0(ASCII mode) specification
When 0 (ASCII Mode) is specified with (S3), the data is stored from the device specified with (D) by the following procedure.
1.
Status code (16-bit integer format)
2.
Number of character string parts of data 3. (16-bit integer format)
3.
The character string parts of data (ASCII code)
(The end code [NULL] is stored at the end of data.)
■1(Binary mode) specification
When 1 (Binary Mode) is specified with (S3), the data is stored from the device specified with (D) by the following procedure.
1.
Status code (16-bit integer format)
2.
Number of character string parts of data 3. (16-bit integer format)
3.
Data converted into a 64-bit floating-point type value
• (S4) is set in increments of 10ms. When the setting is omitted, the timeout time is 10 seconds (same as setting 1000).
Data
" 1 "
[CR]
[LF]
" < "
" l "
" a "
" > "
" 2 "
" / "
" l "
" a "
" > "
[CR]
[LF]
[NULL]
19.0
+5
92.0
+9
4 OPERATION CONTROL PROGRAMS
4.17 Vision System Dedicated Function
(D)
1
+0
24
+1
" 9 "
+2
+3
" F "
+4
" o "
+5
" t "
+6
" 9 "
+7
" < "
+8
" F "
+9
" o "
+10
" t "
+11
+12
+13
(D)
1
+0
16
+1
+4
+3
+2
+8
+7
+6
257
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents