2.4
Control
2.4.6
CPX_ZSW
19
Example: Switch from Hand+ to Hand-
!
Reset Hand+: data bit 1[0] = "0"
!
Wait until COMPAX has recognised through the Interbus-S (till "Ready to start" has been set) or Handshake through
CPX_STW.
!
Set Hand-: data bit 1[1] = "1"
2.4.6 CPX_ZSW
The CPX status word shows information about the status of the device as well as messages.
COMPAX Software Version 3.64 or above allows the status information S16 and S17 to be assigned to CPX_ZSW via
parameter 203 Bit 0 = 1.
Object description
Index
0x5FD3
Symbol
CPX_ZSW
Length
2
Access groups
0
Object code
Simple var.
Password
0
Data type
Octet String
Access rights
Read all
PD Map
PED
Data description (P203 Bit 0 = 0)
Data byte [Bit]
Assignment
Data byte [Bit]
Assignment
1 [7]
Status A16
2 [7]
Motor stalled
1 [6]
Status A15
2 [6]
Lag error
1 [5]
Status A14
2 [5]
Idle after stop
1 [4]
Status A13
2 [4]
Target position reached
1 [3]
Status A12
2 [3]
Ready for start
1 [2]
Status A11
2 [2]
MN was reached
1 [1]
Status A10
2 [1]
No warning
1 [0]
Status A9/
AckToggle
2 [0]
No fault
Data description (P203 Bit 0 = 1)
Data byte [Bit]
Assignment
Data byte [Bit]
Assignment
1 [7]
---
2 [7]
2 [6]
0
0
OUTPUT A0 = x
after OUTPUT A0 = 0
1 [6]
RUN ("0"= off or turned off in the event
of an error)
0
1
1
0
after OUTPUT A0 = 1
after OUTPUT A0 = 2
1 [5]
Reserved
2 [5]
Idle after stop
1 [4]
Stop over input E6
2 [4]
Target position reached
1 [3]
Program memory running
2 [3]
Ready for start
1 [2]
Command active
2 [2]
MN was reached
1 [1]
Service password active
2 [1]
No warning
1 [0]
Password 302 active/
AckToggle
2 [0]
No fault
&
The status information
AckToggle
only appears in CPX_ZSW when
PD-Length = 4 and P196 Bit 7 = 1 and OBJECT_REQ
is on the PAD channel or can be temporarily assigned to the
PAD channel.
(P196 Bit 5 = 1)
!
For a description please see page 64onwards.
Содержание Hauser COMPAX-M Series
Страница 84: ...6 Index Interbus S 84 ...