Mitsubishi Electric MELSEC-Q Series User Manual page 59

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

(4) The following table lists examples of the return values of the communication
library functions.
Function
Condition
Normal
completion
DevRead
Abnormal completion
Normal completion
DevWrite
Abnormal completion
Normal completion
RmtRun
Abnormal completion
Normal completion
RmtStop
Abnormal completion
Normal
completion
ReqCmd
Abnormal
completion
Normal completion
ProxySet
Abnormal completion
Normal completion
ProxyReset
Abnormal completion
<!OK>- The execution result of Device Read -<BR>The normal completion.<BR>Device code
RetType = other
D*<BR>
than "1"
Device 000000<BR>Number of device 4<BR>Reading data 123456789ABC1234
RetType = "1"
<!OK>123456789ABC1234
<!NG><!MCP error C056>- The execution result of Device Read -<BR>The abnormal completion.
C056<BR>
<!OK>- The execution result of Device Write -<BR>The normal completion.<BR>
<!NG><!MCP error C056>- The execution result of Device Write -<BR>The abnormal completion.
C056<BR>
<!OK>- The execution result of Remote RUN -<BR>The normal completion.<BR>
<!NG><!MCP error 4B00>- The execution result of Remote RUN -<BR>The abnormal completion.
4B00<BR>
<!OK>- The execution result of Remote STOP -<BR>The normal completion.<BR>
<!NG><!MCP error 4B00>- The execution result of Remote STOP -<BR>The abnormal
completion. 4B00<BR>
RetType = other
<!OK>- The execution result of Data Request -<BR>The MC protocol normal
than "1"
completion.<BR>D00000FF03FF0000140000123456789ABC1234<BR>
RetType = "1"
<!OK>D00000FF03FF0000140000123456789ABC1234
<!OK>- The execution result of Data Request -<BR>The MC protocol abnormal completion.
RetType = other
C056<BR>
than "1"
D00000FF03FF000016C05600FF03FF0004010000<BR>
RetType = "1"
<!OK>D00000FF03FF000016C05600FF03FF0004010000
<!OK>- The proxy setting -<BR>The proxy setting completion.<BR>
<!NG>- The communication library error -<BR>Check the setting value of the proxy.<BR>
<!OK>- The proxy setting -<BR>The proxy setting cancellation.<BR>
<!NG>- The communication library error -<BR>The proxy information is not set.<BR>
CHAPTER 6 COMMUNICATION LIBRARY FUNCTIONS
Return value (example)
6
57

Advertisement

Table of Contents
loading

Table of Contents