EasyManua.ls Logo

Control Techniques Profibus-DP - Writing Parameters Using Mode 1

Control Techniques Profibus-DP
47 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Issue Number: 3 29
TELEGRAM 4
The fourth telegram from the master acts as the indication to the slave
node to send the data high byte from the requested parameter. The
data byte is not used in this telegram and should be set to 0.
Bit b15-b12 b11-b8 b7-b4 b3-b0
Value 1XXX 0100 XXXX XXXX
Data word = 0x8400 Stamp number = 4
When the fourth telegram has been received and processed in the
slave node, the node will mirror the stamp number in the non-cyclic IN
word, and load the low byte of the parameter value into the data byte.
Bit b15-b12 b11-b8 b7-b4 b3-b0
Value 1XXX 0100 1101 1100
Data word = 0x84DC Stamp number = 4 Data low byte = 0xDC
Speed feedback = (high data byte * 256) + low data byte
= (0x05 * 0x100) + 0xDC
= 0x05DC
= 1500 rpm
6.1.2 Writing parameters using Mode 1
To write to parameters using the non-cyclic channel, the following
telegrams must be sent on each network cycle to construct the final
message.
Telegram 1 Define menu number.
Telegram 2 Define parameter number.
Telegram 3 Set data high byte.
Telegram 4 Set data low byte.
Start
Send first telegram
to OUT word 0
Read IN
word 0
Tx_Stamp_No =
Rx_Stamp_No?
Send next
telegram to
OUT word 0
Tx_Stamp_No
= 4?
No
Yes
No
Yes
Check status
of ERR bit
1
ERROR
Check paramter
exists, and that it is
a Read/Write
parameter
Parameter
written OK
END OF
SEQUENCE
WRITE

Table of Contents

Related product manuals