Mitsubishi Electric Melsec Q Series Programming Manual page 366

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

5 OPERATION CONTROL PROGRAMS
(4) 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]
19[CR][LF]
<Float>92</Float>[CR][LF]
(a) 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.)
(b) 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
Status code
Data
19.0
92.0
5 - 143
1
24
"1"
"9"
[CR]
[LF]
"<"
"F"
"I"
"o"
"a"
"t"
">"
"9"
"2"
"<"
"/"
"F"
"I"
"o"
"a"
"t"
">"
[CR]
[LF] [NULL]
1
16
+5
+4
+3
+9
+8
+7
(D)
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
(D)
+0
+1
+2
+6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents