![background image](http://html1.mh-extra.com/html/omron/sysmac-cj1w-prm21/sysmac-cj1w-prm21_operation-manual_743083018.webp)
4
Overview of PROFIBUS
Section 1-1
1-1-3
Device Types
PROFIBUS distinguishes between master devices and slave devices.
Master devices
Master devices determine the data communication on the bus. A Master can
send messages without an external request, as long as it holds the bus
access right (the token). Masters are also referred to as active stations in the
PROFIBUS standard.
There are two types of master devices:
Class 1 Master (DPM1)
A PROFIBUS-DP Class 1 Master (DPM1) device is a central controller, which
exchanges information with the decentralized stations (i.e. DP slaves) within a
specified message cycle.
Class 2 Master (DPM2)
PROFIBUS-DP class 2 Master (DPM2) devices are programmers, configura-
tion devices or operator panels. They are used during commissioning, for con-
figuration of the DP system, or for operation and monitoring purposes.
The CS1W-PRM21 and the CJ1W-PRM21 are both PROFIBUS-DP Class 1
Master devices.
Slave devices
Slave devices are peripheral devices. Typical slave devices include input/out-
put devices, valves, drives, and measuring transmitters. They do not have bus
access rights and they can only acknowledge received messages or send
messages to the master when requested to do so. Slaves are also called pas-
sive stations
Device profile
To enable the exchange of devices from different vendors, the user data has
to have the same format. The PROFIBUS-DP protocol does not define the
format of user data, it is only responsible for the transmission of this data. The
format of user data may be defined in so called profiles. Profiles can reduce
engineering costs since the meaning of application-related parameters is
specified precisely. Profiles have been defined for specific areas like drive
technology, encoders, and for sensors / actuators.
1-1-4
Bus Access Protocol
OSI Layer 2: Bus access
protocol
The PROFIBUS bus access protocol is implemented by OSI layer 2. This pro-
tocol also includes data security and the handling of the transmission proto-
cols and messages.
Medium Access Control
The Medium Access Control (MAC) specifies the procedures which determine
when a station is permitted to transmit data. A token passing procedure is
used to handle the bus access between master devices, and a polling proce-
dure is used to handle the communication between a master device and its
assigned slave device(s).
Token passing
The token passing procedure guarantees that the bus access right (the token)
is assigned to each master within a precisely defined time frame. The token
message, a special message for passing access rights from one master to the
next master, must be passed around the logical token ring - once to each
master - within a specified target rotation time. Each master executes this pro-
cedure automatically. A user can only change the target rotation time, but is
not recommended.
Polling procedure
The polling or master-slave procedure permits the master, currently in pos-
session of the token, to access its assigned slaves. The figure below shows a
possible configuration The configuration shows three active stations (mas-
ters) and six passive stations (slaves).
Содержание SYSMAC CJ1W-PRM21
Страница 2: ...iv...
Страница 36: ...22 Basic Operating Procedure Section 1 5...
Страница 52: ...38 Defining PROFIBUS DP in the Software Section 2 5...
Страница 112: ...98 Allocated CIO Area Words Section 4 2...
Страница 122: ...108 Command Response Reference Section 5 2...
Страница 160: ...146 Replacing the Unit Section 7 8...
Страница 174: ...160 Appendix...
Страница 180: ...166 I O Data Conversions Appendix D...
Страница 186: ...172 Configurator Error and Warning Messages Appendix E...
Страница 187: ...173 Index...
Страница 188: ...174 Index...
Страница 190: ...176 Revision History...