ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
Chapter C: System functions
Operation & Software Manual
Direct Drives & Systems
161
If for any kind of reason, one of the axis cannot execute the movement started by
STI
within the
time defined in parameter K164 (because another movement is being realized, eg.), all controllers
switch to error mode and the
SYNCHRO START
error (M64=63) is displayed on the LCD screen
of this axis. This will never happen with the STA command, where each available axis immediately
executes the movement and the others do it as soon as they can.
13.3.5.1 DIN and DOUT with the STI command
With command STI, the synchronized start of the movements on one or several axis depends on the status (0/
I) of one or several DIN(s). They are defined by parameters
K160
and
K161
.
When a synchronized movement starts on one or several axis with command STI, one or several DOUT(s) are
set or reset (I/0). They are defined by parameters
K162
and
K163
.
K160 and K161: DIN mask and status
Remark:
Parameter K160 is always > K161
The controller's DINs are represented by a mask of bits, to be used with the STI command. 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):
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).
Example:
K160.1 = 513
;513 = (1 + 512) means that the inputs DIN1(=1, bit# 0) and DIN10 (= 512, bit# 9) will
be tested to execute a STI command
K161.1 = 512
;the movement will start when DIN1 = 0 and DIN10 = 1 (bit# 9, value 512)
K162 and K163: DOUT mask and status
Remark:
Parameter
K162 is always > K163
Available on
DSC2P
DSC2V
DSCDP
DSCDL
DSCDM
K
Name
Comment
K160
STI DIN mask
Defines with a mask of bits which DIN will be tested to execute a STI command.
K161
STI DIN status
Defines with a mask of bits which DIN status is required to start the movement after a STI command.
DSC2P / DSC2V
DIN #
10
9
-
7
6
5
4
3
2
1
DSCDP / DSCDL
DIN #
10
9
-
-
-
-
-
-
2
1
DSCDM
DIN #
-
-
-
-
-
-
-
3
2
1
Bit #
9
8
-
6
5
4
3
2
1
0
Decimal value
512
256
-
64
32
16
8
4
2
1
Hexadecimal value
200
100
-
40
20
10
8
4
2
1
K
Name
Comment
K162
STI DOUT mask
Defines with a mask of bits which DOUT will be modified when a STI command is executed.
K163
STI DOUT status
Defines with a mask of bits which DOUT status will be set after a STI command.