6 Message Communications
6-18
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
Response Codes
The PROFIBUS DP-V1 MSAC1_Write service allows a PROFIBUS DP-V1 Master Unit to write (param-
eter) data acyclically to a PROFIBUS DP-V1 slave device, which is allocated to that Master unit.
The figures below show the command and response message formats.
Command Format
Response Format
Upon normal completion of the MSAC1_Write command service two types of response frames can
be returned:
• A normal data response frame, signalling successful completion of both the command and
the PROFIBUS service.
• A normal response frame containing PROFIBUS error codes, indicating that the PROFIBUS
service was not completed correctly, although the message was completed normally.
Both response frames are shown below.
Response code Description
0000 Normal completion
1001 Command too large, i.e. > 5 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
MSAC1_Write Service
Device
address
Command
code
28 09
Device Service
Access Point
Function
code
00 5F33
Data length
(bytes)
Slot
number
Index number
Data