Communication via CC-Link
03.99
6SE7087-6NX84-0GB0
Siemens AG
4-20
Operating Instructions
SIMOVERT MASTERDRIVES
You want to change the setpoint input (source main setpoint) to fixed
setpoints because you want to control the drive by the bits RL, RM and
RH:
1) Read the actual value of parameter P443 (only information):
Because parameter P443 is an indexed parameter you send first time
an INDEX Command:
Command Code (RWwm+2)
=
0801h
Written Data (RWwm+3)
=
irrelevant
You want to read index 1. There is no write sequence, so register
Written data is irrelevant. You start the command
code execution by
activating RYnF (=1).
CBL react with activating RXnF (complete flag). You see:
Reply Code (RWrm+2)
=
0000h
Read Data (RWrm+3)
=
irrelevant
Reply code 0000 means no error. Deactivate RYnF! CBL also
deactivates RXnF.
Now you send a PKE Command:
Command Code (RWwm+2)
=
61BBh
Written Data (RWwm+3)
=
irrelevant
You want to read to an indexed (array) word (16-bit): Task ID is 6 (PKE
bit 15...12). Parameter 443 (decimal) is 1BBh (hexadecimal).
After you have activated the command
code execution you get the
acknowledge command complete from CBL. You see:
Reply Code (RWrm+2)
=
0003h
Read Data (RWrm+3)
=
3002h
Reply code 0003 indicates there was no error and the answer is a 16
bit word (reply code 0004 means 32 bit word). P443 = 3002 shows you,
that the source main setpoint is routed to CBL interface (first
communication board interface: PZD2 = setpoint).
A READ Command is not relevant because you have only a 16-bit
word in the PKW reply.
2) Write parameter P443 = 0040:
Because parameter P443 is an indexed parameter you send first time
an INDEX Command:
Command Code (RWwm+2)
=
0801h
Written Data (RWwm+3)
=
irrelevant
Register Written data is irrelevant because P443 is a 16-bit parameter.
You activate INDEX Command
and get the reply:
Reply Code (RWrm+2)
=
0000h
Read Data (RWrm+3)
=
irrelevant
Now you send a PKE Command:
Command Code (RWwm+2)
=
71BBh
Written Data (RWwm+3)
=
0040
Example
All manuals and user guides at all-guides.com
Summary of Contents for Simovert Masterdrive FANC-SB
Page 8: ...All manuals and user guides at all guides com ...
Page 14: ...All manuals and user guides at all guides com ...
Page 48: ...All manuals and user guides at all guides com ...
Page 58: ...All manuals and user guides at all guides com ...
Page 70: ...All manuals and user guides at all guides com ...
Page 72: ...All manuals and user guides at all guides com ...