Product Overview ......................3 Description of Connections ...................4 How to get started......................5 Operating Modes ......................6 Using the PLCS-21 as a Control Unit for a Laser Diode Driver........6 Using the PLCS-21 as a Digital Function Generator ............7 Calibration ........................7 Trigger Modes .......................8 Pulse Jitter ........................9...
Off: PLCS-21 not operational Red LED: On: Error Blinking: Calibration in progress The connectors on the bottom side of the device allow connecting the PLCS-21 to a PicoLAS laser diode driver. They must not be used for any other purpose. 网址:www.bonphot.com 邮箱:sales@bonphot.com...
Mount the PLCS-21 to your PicoLAS laser diode driver (e.g. LDP-V 50-100). Connect the power supply. See Figure 1for details Connect the PLCS-21 either to the PLB-21 or See Figure 1for details a PC via USB. Optional: Connect an external trigger source.
Using the PLCS-21 as a Control Unit for a Laser Diode Driver First of all the PLCS-21 must be mounted on the laser diode driver by using the two connectors on its bottom side and three screws M3 x 8 mm. PLCS-21 and the diode driver are both powered by a single 15 V power supply via connector 1.
Using the PLCS-21 as a Digital Function Generator The PLCS-21 will automatically work in this mode if it is not connected to a laser diode driver. Only the functions for setting the pulse width, repeat rate, trigger modes and activating/ deactivating of the output are active. All others are not used and the corresponding LSTAT and ERROR bits can be ignored.
Trigger Modes The PLCS-21 supports a number of trigger modes which are described below. The width and repetition rate of the pulses generated are user defined. Pulses will always be generated as long as the trigger condition matches and the laser is enabled.
External Trigger Pulse Positive Pulse Negative Edge Rising Edge Falling Figure 4: Schematic pulse diagram Pulse Jitter The following table shows the typical jitter values for the pulse to pulse and the pulse length jitter. These are identical for all trigger modes as the pulses are generated the same way.
PLB-21 will not work if both, the USB and the PLB-21, are connected the same time. When the PLB-21 is connected the first time to a PLCS-21 you are asked to download a new driver. This must be confirmed with “yes” for the PLB-21 to work properly.
Page 11
The available operation modes depend on your hardware configuration. If you use the PLCS-21 as a stand alone device (without a connected laser diode driver) it can only be used as a frequency generator (“Freq. gen”), otherwise “Voltage” and/or “Current” are possible.
Page 12
Trigger The PLCS-21 supports a number of trigger modes. For a detailed description of each mode see section “Trigger Modes”. Mode This selects the used trigger mode. The modes are equal for all operation modes and connected drivers. Available are “edge”, “internal” and “pulse”.
Controlling the PLCS-21 via USB Introduction In addition to being able to connect up a PLB-21, the PLCS-21 also has a USB interface to communicate with a computer/laptop. This interface allows communications over both a serial text interface as well as using the PicoLAS protocol. While the text interface is designed for communication with a terminal program, the PicoLAS protocol is designed as a system interact protocol.
Page 14
The following section describes the structure and commands of the text interface. Structure Every command that is sent to the PLCS-21 must be completed with a CR (Enter). It consists of a command word followed by a parameter. If the command was successfully executed then a “0”...
Page 15
Command Parameter Answer Description gvoltagemin -- Voltage in mV Outputs the minimum precharger voltage of the driver gvoltagemax -- Voltage in mV Outputs the maximum precharger voltage of the driver scurrent Current in mA Sets the pulse current to the indicated value [Only in Current Mode (mode 2)] gcurrent...
Page 16
Command Parameter Answer Description stempoff Temperature in °C -- Changes the switch-off temperature to the passed value gtempoff Temperature in Outputs the current switch-off °C temperature gtempoffmin -- Temperature in Outputs the minimum switch-off °C temperature gtempoffmax -- Temperature in Outputs the maximum switch-off °C temperature...
Page 17
The PicoLAS Protocol The following section describes the structure and possible commands of the PicoLAS protocol. Structure Each transmission consists of 12 bytes – called a frame as follows – which must be sent consecutively. Otherwise the system times out and the transmission must start again from the beginning.
Page 18
General Commands The following list contains an overview of the general commands which are supported by every product from PicoLAS which makes use of this protocol. The explanation of the individual commands is given further below. Command Name Sent Frame...
Page 19
Instructs the recipient to carry out a software reset. This resets the device to the switch-on state. The parameter is always 0. Commands for the PLCS-21 The following table contains a list of the commands which the PLCS-21 supports in addition to the generally applicable commands. An explanation of the individual commands follows afterwards.
Page 21
Description of the individual Commands GETCPUTEMP Contains as return value the current temperature of the PLCS-21 in °C. The two low bytes of the answer parameter represent a “signed short”. GETDEVTEMP Contains as return value the current temperature in °C of the driver connected to the PLCS-21.
Page 22
0 … 4095. If a value in mA is required, then this can be queried with GETOVERCURVAL. This register is only used if the PLCS-21 is not being used as frequency generator. GETOVERCURMIN Contains as return value the minimum settable value for overcurrent detection. This is indicated in the range from 0 …...
Page 23
GETERROR Contains as return value the present content of the error register. There is a description of the individual bits further on in the document. GETDEVICENAME Instructs the recipient to send back a string which contains the name of the connected driver.
Page 24
Instructs the driver to carry out a calibration. If the answer parameter is zero then a calibration is initiated by the PLCS-21. If it is unlike zero then it is currently not possible to carry out a calibration. This occurs when the PLCS is currently carrying out a calibration or if no driver is connected.
Page 25
The following table contains the appropriate LSTAT bits for the trigger modes described in section “Trigger Modes”. Mode LSTAT Bits Description Bit 5 Bit 4 Bit 3 Bit 2 External trigger, falling edge. Number of pulses can be set. External trigger, rising edge. Number of pulses can be set.
Page 26
Description of the ERROR Register The following list contains a description of the individual bits of the ERROR register. A “1” as a bit leads to a deactivation of the driver output. Bit 5 and 10 are excluded of this directive.
Page 27
Example Implementation in MS Visual Basic The following is a possible implementation of the protocol for uni-directional communications in MS Visual Basic. No guarantee of functionality is assumed. Public Class Protocol Public Const PING As UShort = &HFE01 Public Const IDENT As UShort = &HFE02...
Page 28
End Get Set(ByVal Value Integer) End Set End Property Public Function Enable(ByVal port String) As Boolean (PortOpen) Then Return True End If If (Not (port = "")) Then Comport = port End If Serial = IO.Ports.SerialPort(Comport, 115200, IO.Ports.Parity.Even, 8, IO.Ports.StopBits.One) Serial.Open() PortOpen = True...
Page 29
Public Function SendReceive(ByVal command UShort, ByVal param UInt64, ByVal expectet_answer UShort) Boolean Timeout UInt32 = 10000 buffer(12) As Byte If (Not PortOpen) Then Return False End If (IamBusy) Then Application.DoEvents() Loop While IamBusy = True End If IamBusy = True As UInteger Timeout = 10000 Serial.DiscardInBuffer()
Page 30
RecParameter += Convert.ToUInt64(buffer(9)) << 56 IamBusy = False Return (RecAnswer = expectet_answer) End If End If End If Next IamBusy = False Return False End Function Private Function Send(ByVal command UShort, ByVal param UInt64) As Boolean buffer(12) As Byte buffer(0) = command &HFF buffer(1) = (command >>...
Page 31
Private Function CheckByte(ByVal buffer() Byte) Byte returnvalue As Byte As UInteger Step returnvalue = returnvalue buffer(i) Next Return returnvalue End Function Private Sub WriteByte(ByVal zeichen() Byte) Serial.Write(zeichen, 0, 12) End Sub Private Function ReadByte() As Byte Return Serial.ReadByte() End Function End Class Using this example code, a connection can be set up using the following lines of code: MyProto...
Need help?
Do you have a question about the PLCS-21 and is the answer not in the manual?
Questions and answers