Technical data
Manual – MOVI-PLC® advanced DH.41B Controller
55
5
Parameter setting via PROFIBUS-DP
Operating Characteristics on PROFIBUS-DP
Management of
the 8-byte
MOVILINK
®
parameter channel
The entire procedure for setting parameters is coordinated using management byte 0.
This byte provides important service parameters such as service identifier, data length,
version and status of the service performed.
The following table shows the structure of the 8-byte MOVILINK
®
parameter channel.
• Bits 0, 1, 2 and 3 contain the service identifier. These bits determine which service is
to be executed.
• Bits 4 and 5 specify the data length in bytes for the write service. The data length
should be set to 4 bytes for the MOVI-PLC
®
advanced DHF41B control card.
• Bit 6 is used as the handshake bit between the higher-level controller and the
MOVI-PLC
®
advanced DHF41B control card. Bit 6 triggers the implementation of the
transmitted service in the control card. With PROFIBUS-DP, the parameter channel
is transmitted cyclically with the process data. For this reason, the execution of the
service in the MOVI-PLC
®
advanced DHF41B control card must be triggered by
edge control using the handshake bit 6. For this purpose, the value of this bit is
altered (toggled) for each new service that is to be executed. The MOVI-PLC
®
advanced DHF41B control card uses handshake bit 6 to signal whether the service
was executed or not. The service is executed as soon as the handshake bit received
in the control card is the same as the one that was sent.
• Status bit 7 indicates whether the service was carried out properly or if errors
occurred.
Index addressing Byte 2: Index high and byte 3: Index low determines the parameter that is to be read or
written via the fieldbus system. The parameters of the MOVI-PLC
®
advanced DHF41B
control card are addressed using a standard index regardless of the fieldbus system that
is connected.
Byte 1 is reserved and must always be set to 0x00.
7 / MSB 6 5 4 3 2 1 0 / LSB
Service identifier
0000 = No service
0001 = Read parameter
0010 = Write parameter
0011 = Write parameter volatile
0100 = Read minimum
0101 = Read maximum
0110 = Read default
0111 = Read scale
1000 = Read attribute
Data length
00 = 1 byte
01 = 2 bytes
10 = 3 bytes
11 = 4 bytes (must be set)
Handshake bit
Must be changed on every new task in cyclical transmission.
Status bit
0 = No error during execution of service
1 = Error during execution of service
00
I