ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
Chapter C: System functions
Operation & Software Manual
Direct Drives & Systems
173
In the second line of the above-mentioned example, DOUT3 is activated and DOUT1, 2 and 4 are deactivated.
DOUT.0=4
;Activates DOUT3 and deactivates DOUT1, 2 and 4.
13.4.2.2 Digital outputs on DSO-HIO
The DSO-HIO has 8 digital outputs (refer to the
'DSO-HIO User's Manual'
for more information).
Remark:
For the DSCDP and DSCDL, the 8 digital outputs are available for both axes.
The XDOUT command allows the user to activate or deactivate the 8 digital outputs of the DSO-HIO: XDOUT1
to XDOUT8. This command is an alias of parameter
K172
.
Remark:
For the DSCDP and DSCDL, if parameter K172 is modified, the SAV command must be executed
on both axes.
XDOUT alias use the same syntax than parameter K172. Refer to
for more information about
the syntax and the possible operators.
A bit equal to 1 means that the corresponding digital input is activated and equal to 0 means that the
corresponding digital input is deactivated. The digital inputs bits values are as follows:
Remark:
On the DSCDP and DSCDL, if parameter K172 of one axis is changed, K172 of the other axis will
be automatically changed.
Example:
In the first line of the above-mentioned example, XDOUT1 to 8 are activated.
K172.1=255
;Activates XDOUT1 to 8.
In the second line of the above-mentioned example, XDOUT1 is activated and XDOUT2 to 8 are deactivated.
K172.1=1
;Activates XDOUT1 and deactivates XDOUT2 to 8.
In the third line of the above-mentioned example, XDOUT2, 4, 6 and 8 are activated and XDOUT1, 3, 5 and 7
are deactivated.
K172.1=170
;Activates XDOUT2, 4, 6 and 8 and deactivates XDOUT1, 3, 5 and 7.
Available on
DSC2P
DSC2V
DSCDP
DSCDL
DSCDM
K
Alias
Name
Comment
K172
XDOUT
XDOUT value Activates / deactivates the 8 digital outputs (XDOUT1 to XDOUT8) of the DSO-HIO optional board
XDOUT #
8
7
6
5
4
3
2
1
Bit #
7
6
5
4
3
2
1
0
Decimal value
128
64
32
16
8
4
2
1
Hexadecimal value
80
40
20
10
8
4
2
1
XDOUT
value
XDOUT8
XDOUT7
XDOUT6
XDOUT5
XDOUT4
XDOUT3
XDOUT2
XDOUT1
Bit# 7
Bit# 6
Bit# 5
Bit# 4
Bit# 3
Bit# 2
Bit# 1
Bit# 0
FF
255
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
AA
170
1
0
1
0
1
0
1
0
Hexa.
Decimal
Binary