Control And Status Bytes - Beckhoff KL2535 Documentation

Pulse width current terminals
Hide thumbs Also See for KL2535:
Table of Contents

Advertisement

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 output image [} 37], and is transmitted from the controller to the
terminal.
Bit
CB1.7
CB1.6 CB1.5
Name
RegAccess Reset Enable GetLatchDat
Legend
Bit
Name
CB1.7
RegAccess
CB1.6
Reset
CB1.5
Enable
CB1.4
GetLatchData
CB1.3
enLatch
FallEdge
CB1.2
enLatch
RiseEdge
CB1.1
SetPos
CB1.0
enDithering
Status byte 1 (for process data mode)
The status byte 1 (SB1) is located in the input image [} 37], and is transmitted from terminal to the controller.
Bit
SB1.7
SB1.6
Name RegAccess
Error
Legend
Bit
Name
SB1.7
RegAccess
SB1.6
Error
SB1.5
Warning
SB1.4
Ready
SB1.3
LatchData
SB1.2
LatchValid
SB1.1
SetPos Ready 1
SB1.0
Input E1
38
CB1.4
a
Description
0
Register communication off (process data mode)
bin
1
all errors that may have occurred are reset by setting this bit (rising edge)
bin
1
Enables channel 1
bin
0
Show the current position in the input process data
bin
1
Show the current latch value in the input process data
bin
1
External latch event is enabled (for latch inputs with falling edge, the
bin
terminal saves the current position)
1
External latch event is enabled (for latch inputs with rising edge, the
bin
terminal saves the current position)
ATTENTION: Higher priority than CB1.3 !
1
Position value is set with register R1 [} 41] (rising edge)
bin
1
Dithering is active (when R32.5 [} 43]=1)
bin
SB1.5
SB1.4
Warning
Ready
Description
0
Acknowledgement for process data mode
bin
1
An error has occurred (is displayed in the status word in register R0)
bin
1
The internal temperature has risen to more than 80 ℃, or the power supply
bin
voltage has dropped.
0
Motor control is disabled or an error has occurred (SB.6=1)
bin
1
Motor control is enabled and no error has occurred (acknowledgement for
bin
enable, SB.6=0)
0
The current position is mapped into the input process data
bin
1
The most recent latch value is mapped into the process data, provided a
bin
valid latch value exists (acknowledgement for GetLatchData)
1
A latch event has occurred (when CB1.2=1 or CB1.3=1)
bin
The current position has been set (acknowledgement for SetPos)
bin
Status of input E1
Version: 2.0.0
CB1.3
CB1.2
enLatch
enLatch
FallEdge
RiseEdge
SB1.3
SB1.2
LatchData
LatchValid SetPos Ready
CB1.1 CB1.0
SetPo
 enDithering
s
SB1.1
SB1.0
Input E1
KL2535, KL2545

Advertisement

Table of Contents
loading

This manual is also suitable for:

Kl2545

Table of Contents