5function blocks – Lenze E94A User Manual
Page 270

5
Function blocks
5.71
L_DevParReadFix - read parameter
270
Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Step 2: Read access to the 9400 server
To gain read access to the parameters of the 9400 server, the L_DevParReadFix FB must be imple-
mented into the application of the 9400 client.
• The receive identifier of the server (in our example: 0x610) must be assigned to the dwTxCobId
input.
• The transmit identifier of the server (in our example: 0x590) must be assigned to the dwRxCobId
input.
• A numerical value of "2" must be assigned to the dwComChannel input for the communication
via "CAN on board" to be accomplished.
[5-36] Read access via parameter data channel 2 via the L_DevParReadFix FB
Due to the previously described measures, a connection has been established and the code
addressed via inputs dwCode and dwSubcode can be queried in the remote server now.
Every time the block is executed via the bExecute input, the switching operation highlighted in yel-
low as shown in illustration
is carried out for a short time, the addressed code is queried, and
a disconnection is made afterwards.
Write access with the FB
(QJLQHHU6WHXHUXQJ
6'2IUHLXQGDNWLYLHUW
5[,GHQWLILHU&
7[,GHQWLILHU&
[
[
/B'HY3DU5HDG)L[
GZ&RP&KDQQHO
GZ7[&RE,G [
GZ5[&RE,G [
6HUYHU1RGH,'
&
5HDG
SDUDPHWHU
&$1
5[,GHQWLILHU
7[,GHQWLILHU [
[
5[,GHQWLILHU
7[,GHQWLILHU [
[
6'2&OLHQW1RGH,'
6'2&OLHQW1RGH,'
6'2%DVLV6'2.DQDOIHVW
5[,GHQWLILHU&
7[,GHQWLILHU&
1RGH,'
[
[1RGH,'
6'2%DVLV6'2.DQDOIHVW
5[,GHQWLILHU&
7[,GHQWLILHU&
1RGH,'
[
[1RGH,'
&OLHQW1RGH,'