Click or drag to resize

OpCode Enumeration

The types of opcode used by a command protocol to communicate with a serial connected IPG YLP laser device. According to document 'Interface Specification "Type E" YLP series Pulsed Fiber Lasers', dated from 06.08.15 ("150806-YLP series interface specification type E.pdf"), see e-mail from René Meinel to FSe from 02.12.2021.

Namespace: RAYLASE.MarkerPlugin.Devices.Laser.IPG.YLP
Assembly: RAYLASE.MarkerPlugin (in RAYLASE.MarkerPlugin.dll) Version: 2.19.0
Syntax
C#
public enum OpCode
Members
Member nameValueDescription
ReadDeviceId1 Read device identifier written to the laser in the factory.
ReadDeviceSn2 Read device serial number.
ReadFwRevision3 Read device firmware revision.
ReadDeviceStatus4 Read device status, decimal to binary decoding is required.
ReadDeviceTemperature5 Read module temperature in degree Celsius.
ReadDigitalInterfaceStatus10 Reads digital interface status, decimal to binary decoding is required.
ReadExtendedStatus11 Read device extended status, decimal to binary decoding is required.
ReadBrCounter12 Read back reflection counter.
ReadSessionBrCounter13 Read back reflection counter for the current session. The session starts with supplying voltage to the laser module.
ReadNominalAveragePower14 Read nominal average power of the laser in [W], return value is float in [W].
ReadNominalPulseDuration15 Read nominal pulse duration of the laser [ns].
ReadNominalPulseEnergy16 Read nominal pulse energy of the laser [mJ]
ReadNominalPeakPower17 Read nominal peak power of the laser in [kW]. Value is calculated from the nominal energy and the nominal pulse duration.
ReadPrrRange18 Read pulse repetition rates range. Return value is two floats separated by a semicolon, corresponding to minimum and maximum PRR [kHz].
ReadHeadTemperature19 Read remote head temperature in degree Celsius, if the head is installed.
ReadMainSupplyVoltage21 Read main 24V supply voltage in [V].
Read24VHousekeepingVoltage22 Read 24V housekeeping supply voltage in [V].
ReadOperatingMode23 Read active control interface operating mode, decimal to binary decoding is required.
SetOperatingMode24 Set active control interface operating mode, binary to decimal encoding is required. The command parameter is validated before the execution. In case some bits are not correct, the command is not executed. All 32 bits (even unused) should have corrects values. To set correctly all bits, the existing operating mode should be read by the command 24, only necessary bits should be updated and then new value sent to the device.
ReadInstalledOptions25 Read list of installed options and operating modes, decimal to binary decoding is required.
SetStartOperatingMode26 Set initial control interface operating mode, binary to decimal encoding is required. This mode becomes active after supplying the laser with electrical power. Value is stored permanently in the laser EEPROM.
ReadStartOperatingMode27 Read control interface operating mode, which activates after connecting the laser to the supply voltage. The value is stored permanently in the laser EEPROM, decimal to binary decoding is required
SetPrr28 Set operating pulse repetition rate in [kHz].
ReadPrr29 Read back operating pulse repetition rate in [kHz] set by command 28.
SetLaserEmissionOn30 Switch ON laser emission.
SetLaserEmissionOff31 Switch OFF laser emission.
SetOperatingPower32 Set operating power in [%]. Range 0…100, resolution 255 levels for the full scale.
ReadOperatingPowerWatt33 Read back operating power in [W] set by command 32 (in RS-232 mode) or via digital interface (in DB- 25 mode), but recalculated into Watts using nominal laser parameters.
ReadOperatingPowerPercent34 Read back operating power in [%] set by command 32 (in RS-232 mode) or via digital interface (in DB-25 mode).
ReadOperatingPulseEnergy36 Read operating pulse energy in [mJ]. Value is calculated using nominal laser parameters and power settings.
ReadPrrMonitor38 Read back operating PRR in [kHz] set by command 28 (in RS-232 mode) or applied via Sync input of digital interface (in DB-25 mode).
SetGuideLaserOn40 Switch ON guide laser.
SetGuideLaserOff41 Switch OFF guide laser.
SetEeOn42 Switch ON Emission Enable
SetEeOff43 Switch OFF Emission Enable.
SetResetAlarms50 Reset alarms, see alarms description for details.
SetSaveApdModeIndex54 Permanently save the APD mode index to EEPROM. Next start the device will be initialized by saved APD mode index.
ReadNumberOfApdModes55 Read number of APD modes (N). ======
ReadApdModeDescription56 Read a text description of APD mode with index M. Parameter is M is APD mode index, integer, range 0 to N-1. N is number of APD modes read by command $55. ======
ReadModuleTemparatureRange58 Read operating temperature range. Return value is two floats separated by a semicolon, corresponding to minimum and maximum temperatures in degree Celsius.
ReadNominalFrequency59 Read back nominal PRR in [kHz].
ReadMaximumPrepump63 Return maximum value of the prepump compensation. The value is always 10000.
SetPrepump64 Set the prepump compensation value. Range is 0…10000
ReadPrepump65 Read back value of the prepump compensation set by command $64 or through DB-25 serial.
ReadApdModeIndex68 Read current APD mode index. ======
SetApdModeIndex69 Set APD mode index. ======
ReadAlarmCounters70 Read alarm counters. The command contains a parameter which specifies the alarm counter: 1 – 24V main supply 2 – 24V housekeeping supply 3 – System 4 – Temperature 5 – Head Temperature
ReadCriticalErrorCounter95 Read critical error counter.
ReadCriticalErrorCode96 Read critical error code.
ResetCriticalErrorAlarms97 Reset the critical error. The command contains one parameter, which is a one-time use code generated in IPG factory. In case the correct code is sent to the device, the command is executed with answer “Y” and critical error is cleared.
ReadVendor99 Read device vendor written to the laser in the factory.
See Also