Download User Manual - FLEXIVA automation & Robotik

Transcript
User manual DC/DC-Module PM3Kxxx
Programming / Parameterisation
6.2.6
Concrete example
To explain the above-mentioned paragraphs, the sequences of instructions to be
transferred to the module and the corresponding answers of the module are listed in
the following at a concrete example. The case without errors is treated.
The module variable zk_umin_g is to be read-out and a new value is to be stored in it.
The corresponding code is "zn", the old value in the variable is "+3500" and the new
value is "+3600". This results for the two ASCII modes in the following communication
with the module:
6.2.6.1 ASCII-long
To the Module
ASCII
%
z
n
HEX
25 7A 6E
From the Module
ASCII
z
n
HEX
7A 6E
CR
OD
CR
0D
NL
0A
+
2B
3
33
5
35
0
30
Tab. 18:
To the Module
ASCII
%
z
n
HEX
25 7A 6E
From the Module
ASCII
z
n
HEX
7A 6E
0
30
CR
0D
NL
0A
O
4F
K
4B
CR
0D
NL
0A
NL
0A
Reading ASCII-long
+
2B
3
33
6
36
0
30
0
30
CR
0D
+
2B
3
33
6
36
0
30
0
30
CR
0D
NL
0A
Tab. 19:
+
2B
3
33
6
36
0
30
0
30
CR
0D
NL
0A
O
4F
K
4B
CR
0D
NL
0A
NL
0A
Writing ASCII-long
6.2.6.2 ASCII-short
To the Module
ASCII
$
z
n
HEX
24 7A 6E
From the Module
ASCII
z
n
HEX
7A 6E
CR
OD
CR
0D
+
2B
3
33
5
35
0
30
0
30
Tab. 20:
To the Module
ASCII
$
z
n
HEX
24 7A 6E
From the Module
ASCII
z
n
HEX
7A 6E
52
Reading ASCII-short
+
2B
3
33
6
36
0
30
0
30
CR
0D
+
2B
3
33
6
36
0
30
0
30
CR
0D
Tab. 21:
CR
0D
+
2B
3
33
6
36
0
30
0
30
CR
0D
Writing ASCII-short
Flexiva automation & Robotik GmbH
Weißbacher Straße 3
D – 09439 Amtsberg