Digital Inputs / Outputs - Etel DSC Series Operation & Software Manual

Hide thumbs Also See for DSC Series:
Table of Contents

Advertisement

170
13.4

Digital inputs / outputs

13.4.1 Digital inputs
The number of digital inputs is different from a position controller to another. Here is a table giving the number
of digital inputs present on each position controller (refer to the corresponding 'Hardware Manual' for more
information):
DSC2P / DSC2V
DSCDP / DSCDL
DSCDM
Caution:
On the DSCDM, the digital inputs and outputs are on the same pin. The pin must be selected in
order to have an input or an output. It is NOT possible to have both on the same pin. To
use a pin as a digital input, the bit corresponding to this input MUST be equal to 0 in parameter
K171 (otherwise the hardware of the controller and the one of the user can be damaged).
13.4.1.1 Digital inputs on position controller
Available on
The DIN command enables the reading of the digital inputs states. This command is an alias of monitoring M50.
M
Alias
M50
DIN
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:
DIN #
Bit #
Decimal value
Hexadecimal value
Example:
A simple conversion in binary of the value shown by DIN (in hexadecimal) is enough to know which digital
inputs are activated and deactivated.
DIN
values
3
3
769
301
Decimal
Hexa.
In the first line of the above-mentioned example, DIN1 and DIN2 are activated.
;Reads the digital inputs state. The controller gives the value 3 in hexa, because 0x3 in binary is
DIN.1
0000000011 and each bit represents one of the digital inputs, from right to left.
In the second line of the above-mentioned example DIN1, DIN9 and DIN10 are activated.
;Reads the digital inputs state. The controller gives the value 301 in hexa, because 0x301 in binary
DIN.1
is 1100000001 and each bit represents one of the digital inputs, from right to left.
Chapter C: System functions
Operation & Software Manual
Direct Drives & Systems
DIN #
10
9
DIN #
10
9
DIN #
-
-
DSC2P
DSC2V
Name
DIN status
Gives the status of the digital inputs: DIN1 (bit# 0), DIN2 (bit# 1)...
10
9
9
8
512
256
200
100
DIN10
DIN9
-
Bit# 9
Bit# 8
-
0
0
-
1
1
-
-
7
6
-
-
-
-
-
-
DSCDP
Comment
-
7
6
-
6
5
-
64
32
-
40
20
DIN7
DIN6
DIN5
Bit# 6
Bit# 5
Bit# 4
0
0
0
0
0
0
Binary
ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
5
4
3
-
-
-
-
-
3
DSCDL
5
4
3
4
3
2
16
8
4
10
8
4
DIN4
DIN3
DIN2
Bit# 3
Bit# 2
Bit# 1
0
0
0
0
2
1
2
1
2
1
DSCDM
2
1
1
0
2
1
2
1
DIN1
Bit# 0
1
1
0
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DSC Series and is the answer not in the manual?

This manual is also suitable for:

Dsc2pDsc2vDscdpDscdmDscdl

Table of Contents

Save PDF