KL2542 - DC motor output stage terminal

Control and status byte

 

Channel 1

 
 

Process data mode

 
 

Control byte 1 (for process data mode)

Control byte 1 (CB1) is located in the output image, 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
GetLatchData
enLatch FallEdge
enLatch RiseEdge
SetPos
 disMixed DecayMan
 
 

Key

Bit
Name
Description
CB1.7
RegAccess
0bin
Register communication off (process data mode)
CB1.6
Reset
1bin
all errors that may have occurred are reset by setting this bit (rising edge)
CB1.5
Enable
1bin
Enables channel 1
CB1.4
GetLatchData
0bin
Show the current position in the input process data
1bin
Show the current latch value in the input process data
CB1.3
enLatch FallEdge
1bin
External latch event is enabled (for latch inputs with falling edge, the terminal saves the current position)
CB1.2
enLatch RiseEdge
1bin
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
1bin
Position value is set with register R1 (rising edge)
CB1.0
disMixed DecayMan
0bin
Motor control via 2 pulsed transistors per half-wave
1bin
Motor control via one pulsed and one switched transistor per half-wave (manual deactivation. Automatic deactivation is triggered through a threshold that is specified with registerR41).
 
 

Status byte 1 (for process data mode)

The status byte 1 (SB1) is located in the input image, 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
 
 

Key

Bit
Name
Description
SB1.7
RegAccess
0bin
Acknowledgement for process data mode
SB1.6
Error
1bin
An error has occurred (is displayed in the status word in register R0)
SB1.5
Warning
1bin
The internal temperature exceeds 80 °C, the supply voltage has dropped, or the current torque exceeds the value specified in register R38 (with torque monitoring switched off).
SB1.4
Ready
0bin
Motor control is disabled or an error has occurred (SB.6=1)
1bin
Motor control is enabled and no error has occurred (acknowledgement for enable, SB.6=0)
SB1.3
LatchData
0bin
The current position is mapped into the input process data
1bin
The most recent latch value is mapped into the input process data, provided a valid latch value exists (acknowledgement for GetLatchData)
SB1.2
LatchValid
1bin
A latch event has occurred (with CB1.2=1 or CB1.3=1)
SB1.1
SetPos Ready
1bin
The current position has been set (acknowledgement for SetPos)
SB1.0
Input E1
Status of input E1
 
 

Register communication

 
 

Control byte 1 (in register communication)

Control byte 1 (CB1) is located in the output image, 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
R/W
Reg. no.
 
 

Key

Bit
Name
Description
CB1.7
RegAccess
1bin
Register communication switched on
CB1.6
R/W
0bin
Read access
1bin
Write access
CB1.5 to CB1.0
Reg. no.
Register number:
Enter the number of the register that you
- want to read with input data word DataIn or
- want to write with output data word DataOut.
 
 

Status byte 1 (in register communication)

The status byte 1 (SB1) is located in the input image, 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
R/W
Reg. no.
 
 

Key

Bit
Name
Description
SB1.7
RegAccess
1bin
Acknowledgement for register access
SB1.6
R
0bin
Read access
SB1.5 to SB1.0
Reg. no.
Number of the register that was read or written.
 
 

Channel 2

The control and status bytes of channel 2 (CB2 and SB2) have the same structure as the control and status bytes of channel 1.