Omron SYSMAC CS Series Operation Manual page 163

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

Advertisement

Command / Response Reference
MSAC1_Read Service
Command Format
Response Format
Parameters
142
The PROFIBUS DP-V1 MSAC1_Read service allows a PROFIBUS DP-V1
Master Unit to read (parameter) data acyclically from 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
00
Function
Command
code
code
Device
address
Device Service
Access Point
Upon normal completion of the MSAC1_Read command service two types of
response frames can be returned:
• A normal data response frame containing the requested data.
• 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
00
Response
Function
Command
code
code
code
28
09
00
Command
Response
Function
code
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 the MSAC1_Read PROFIBUS service
must be set to 33 (Hex).
Function code (Command, Response)
The function code is defined by the PROFIBUS standard and defines the type
of MSAC1 message. In the command it must be fixed to 005E (Hex). The
response will contain either 005E (Hex) indicating a normal PROFIBUS com-
pletion, or 00DE (Hex), indicating PROFIBUS errors.
5E
Data length
(bytes)
Slot
number
Index number
5E
Actual data
Data
length read
(bytes)
DE
Error
Error
decode
code 2
Error
code 1
Section 5-2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj-seriesSysmac cj1w-prm21Sysmac cs1w-prm21

Table of Contents