Omron CJ Series Operation Manual page 229

Master unit
Hide thumbs Also See for CJ Series:
Table of Contents

Advertisement

 Parameters
Destination address (Command, Response)
The address of the device on the PROFIBUS network, to which the PROFIBUS message will be
sent. The valid address range is 0 to 7E (Hex). The most significant byte in the Response Format is
set to 00.
Device Service Access Point (Command)
The Device Service Access Point for MSAC1 PROFIBUS services must be set to 33 (Hex).
Function code (Command, Response)
The Function code is defined by the PROFIBUS standard and specifies the type of MSAC1 mes-
sage. For the MSAC1_Read service it must be fixed to 005F (Hex). The Response Format will con-
tain either 005F (Hex) indicating a normal PROFIBUS completion, or 00DF (Hex), indicating
PROFIBUS errors.
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 speci-
fied 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 message was delivered success-
fully, but the PROFIBUS service returned an error. Refer to A-7-4 PROFIBUS DP-V1 Error Codes
for more information.
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
28
09
00
Command
Response
Function
code
code
code
28
09
00
Command
Response
Function
code
code
code
6 Message Communications
5F
Actual length
of data written
(bytes)
DF
Error
Error
decode
code 2
Error
code 1
6
6-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj seriesProfibus cj1w-prm21

Table of Contents