
Access from the user program
5.2
Control and status bytes
Channel 1
Process data mode
Control byte 1 (for process data mode)
Control byte 1 (CB1) is located in the
, and is transmitted from the controller to the
terminal.
Bit
CB1.7
CB1.6 CB1.5
CB1.4
CB1.3
CB1.2
CB1.1 CB1.0
Name
RegAccess Reset Enable
GetLatchDat
a
enLatch
FallEdge
enLatch
RiseEdge
SetPo
s
enDithering
Legend
Bit
Name
Description
CB1.7
RegAccess
0
bin
Register communication off (process data mode)
CB1.6
Reset
1
bin
all errors that may have occurred are reset by setting this bit (rising edge)
CB1.5
Enable
1
bin
Enables channel 1
CB1.4
GetLatchData
0
bin
Show the current position in the input process data
1
bin
Show the current latch value in the input process data
CB1.3
enLatch
FallEdge
1
bin
External latch event is enabled (for latch inputs with falling edge, the
terminal saves the current position)
CB1.2
enLatch
RiseEdge
1
bin
External latch event is enabled (for latch inputs with rising edge, the
terminal saves the current position)
ATTENTION: Higher priority than CB1.3 !
CB1.1
SetPos
1
bin
Position value is set with register
CB1.0
enDithering
1
bin
=1)
Status byte 1 (for process data mode)
The status byte 1 (SB1) is located in the
, and is transmitted from terminal to the controller.
Bit
SB1.7
SB1.6
SB1.5
SB1.4
SB1.3
SB1.2
SB1.1
SB1.0
Name
RegAccess
Error
Warning
Ready
LatchData
LatchValid SetPos Ready
Input E1
Legend
Bit
Name
Description
SB1.7
RegAccess
0
bin
Acknowledgement for process data mode
SB1.6
Error
1
bin
An error has occurred (is displayed in the status word in register R0)
SB1.5
Warning
1
bin
The internal temperature has risen to more than 80
℃
, or the power supply
voltage has dropped.
SB1.4
Ready
0
bin
Motor control is disabled or an error has occurred (SB.6=1)
1
bin
Motor control is enabled and no error has occurred (acknowledgement for
enable, SB.6=0)
SB1.3
LatchData
0
bin
The current position is mapped into the input process data
1
bin
The most recent latch value is mapped into the process data, provided a
valid latch value exists (acknowledgement for GetLatchData)
SB1.2
LatchValid
1
bin
A latch event has occurred (when CB1.2=1 or CB1.3=1)
SB1.1
SetPos Ready 1
bin
The current position has been set (acknowledgement for SetPos)
SB1.0
Input E1
Status of input E1
KL2535, KL2545
38
Version: 2.0.0
Содержание KL2535
Страница 1: ...Documentation KL2535 KL2545 Pulse width current terminals 2 0 0 2016 02 29 Version Date...
Страница 2: ......