EFKA AB286A5400
27
Example: Reaching the position is signalled by interrupt after a delay of 20ms
Step B
Provide interrupt line 1 for slave by means of control byte 0F
No reception IRQ1
Interrupt Byte 0F
Bit 0
- EIQ1
= 0
Transmit on IRQ1
Bit 1
- SIQ1
= 1
No reception IRQ2
Bit 2
- EIQ2
= 0
No transmission IRQ2
Bit 3
- SIQ2
= 0
With delay IRQ1
Bit 4
- ZIQ1
= 1
Bit 5
- TIQ1
= 1
Without delay IRQ2
Bit 6
- ZIQ2
= 0
Bit 7
- TIQ2
= 0
Master
SOH
ADR
STX
($30 $46 $3D $33 $32)
ETX
BCC
Slave
ADR
ACK
Step C
Selection of bit 2 in status byte 1 for triggering the interrupts, when position is reached.
Master
SOH
ADR
STX
($30 $32 $3D $30 $34)
ETX
BCC
Slave
ADR
ACK
Step D
Drive is to stop in position 2. Default options by means of control byte 04
No reset
Control Byte 04
Bit 0
- RES
= 0
Change direction of rotation
Bit 1
- DRI
= 1
Select speed 1
Bit 2
- V1
= 0
Bit 3
- V2
= 0
Drive is to stop in pos. 2
Bit 4
- STP1
= 1
Bit 5
- STP2
= 1
Bit 6
- STP3
= 0
Do not go to reference point
Bit 7
- NPA
= 0
Master
SOH
ADR
STX
($30 $34 $3D $33 $32)
ETX
BCC
Slave
ADR
ACK
When bit 2 in status byte 1 changes from 0 to 1, time IRQ1 = 20ms starts and interrupt IRQ1 is triggered by the
slave.
The master can identify without polling whether the position has been reached, by receiving interrupt 1.
13 Position Settings
Group
No.
Description
MINIMUM
MAXIMUM
PRESET
STEP
5
50
Position 1E
$00
$FF
$80
1
5
51
Position 1A
$00
$FF
$8A
1
5
52
Position 2E
$00
$FF
$00
1
5
53
Position 2A
$00
$FF
$0A
1
5
54
Position 3E
$00
$FF
$C0
1
5
55
Position 3A
$00
$FF
$CA
1
Group
No.
Description
Bit
7
6
5
4
3
2
1
0
0
02
Status Byte 1
PSYN
NPE
RDY
P01
P02
P0E
DZE
STP
0
03
Status Byte 2
180
P3A
P3E
P2A
P2E
P1A
P1E
0
04
Control Byte
NPA
STP3
STP2
STP1
V2
V1
DRI
RES
PSYN
=
Position transmitter synchronized 180
=
180° window reached
STP3
=
Stop bit 3
NPE
=
Reference point reached
P3A
=
Position 3A reached
STP2
=
Stop bit 2
RDY
=
Drive is ready
P3E
=
Position 3E reached
STP1
=
Stop bit 1
P01
=
Is in position 1
P2A
=
Position 2A reached
V2
= Speed bit 2
P02
=
Is in position 2
P2E
=
Position 2E reached
V1
=
Speed bit 1
P0E
=
Position reached
P1A
=
Position 1A reached
DRI
=
Direction of rotation
DZE
=
Speed reached
P1E
=
Position 1E reached
RES
=
Software reset
STP
=
Motor at standstill
NPA
=
Go to reference point
Содержание AB286A5400
Страница 2: ......