Omron SYSMAC CS Series Operation Manual page 165

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

Advertisement

MSAC1_Write Service
Command Format
Response Format
Parameters
The PROFIBUS DP-V1 MSAC1_Write service allows a PROFIBUS DP-V1
Master Unit to write (parameter) 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.
28
09
33
Command
code
Device
address
Device Service
Access Point
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 FINS command and the PROFIBUS service.
• A normal response frame containing PROFIBUS error codes, indicating
that the PROFIBUS service was not completed correctly, although the
FINS message was completed normally.
Both response frames are shown below.
28
09
Response
Command
code
code
28
09
Command
Response
code
code
Destination address (Command, Response)
The address of the device on the PROFIBUS network, to which the PROFI-
BUS 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 message. For the MSAC1_Read service it must be fixed to
005F (Hex). The Response Format will contain either 005F (Hex) indicating a
normal PROFIBUS completion, or 00DF (Hex), indicating PROFIBUS errors.
00
5F
Function
Data length
code
(bytes)
Slot
number
Index number
00
5F
Function
Actual length
code
of data written
(bytes)
00
DF
Function
code
Error
Error
decode
code 2
Error
code 1
Data

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj-seriesSysmac cj1w-prm21Sysmac cs1w-prm21

Table of Contents