Omron SYSMAC CS Series Operation Manual page 166

Profibus master units
Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Command / Response Reference
Response Codes
Slot number (Command)
The parameter Slot number is used in the destination device for addressing
the desired data slot (typically an I/O module). The number ranges from 0 to
254.
Index number (Command)
The parameter Index is used in the destination device for addressing the data
block within a specified slot to which the data must be written. The number
ranges from 0 to 254.
Data length (Bytes) (Command, Response)
The Data length indicates the number of bytes, which must be written. If the
actual data block length is less than the length of the data written, the
response will contain an error code in the Error code 1 byte. If the actual data
block length is greater or equal than the length of the data block written, the
response will contain the actual number of bytes written. The data length
number ranges from 0 to 240.
Data (Command)
Data to be written to the PROFIBUS DP-V1 slave device.
Error decode (Response)
The Error decode byte defines the type of errors reported in the Error code 1
and Error code 2, e.g. PROFIBUS DP-V1 error. This response will only be
returned if the FINS message was delivered successfully, but the PROFIBUS
service returned an error. Refer to Appendix B-5 PROFIBUS DP-V1 Error
codes for more information.
Error code 1, Error code 2 (Response)
The contents of the Error code bytes depends on the contents of the Error
decode byte and the slave device. Refer to Appendix B-5 PROFIBUS DP-V1
Error codes for more information.
Response code
0000
Normal completion
1001
Command too large, i.e. > 125 words
1002
Command too short, i.e. < 5 words.
110C
• Device Address Invalid, i.e. > 7E (Hex).
• The slot number is invalid, i.e. > FE (Hex).
• The Index number is invalid, i.e. > FE (Hex).
• The Data Length is invalid, i.e. > F0 (Hex)
2208
PROFIBUS Master unit not in correct mode, i.e. it is in
OFFLINE mode.
0001
• The slave has deactivated this service.
• The slave has not responded to the request.
• The slave does not have sufficient memory space for the
request data.
• Destination address is same as current master address.
0402
Service is not supported:
• Device Service Access Point is invalid.
• The Function code is invalid
Section 5-2
Description
145

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj-seriesSysmac cj1w-prm21Sysmac cs1w-prm21

Table of Contents