redPOWER Fibre Laser - SPI Fiber Laser Products

141
redPOWER Fibre Laser Serial Communications Protocol

Transcript of redPOWER Fibre Laser - SPI Fiber Laser Products

Page 1: redPOWER Fibre Laser - SPI Fiber Laser Products

redPOWER

Fibre Laser Serial Communications Protocol

Page 2: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

2

Safety Notes

These safety notes indicate potential hazards associated with the redPOWER Fibre Laser

and the probable consequences of not avoiding them. Directions on the safe use of the

redPOWER Fibre Laser are provided in the Instructions for Use.

General Hazard Information

WARNING: Ensure that all Users are fully aware of all safety

implications identified in the Instructions for Use before attempting

to install, operate or maintain the redPOWER Fibre Laser.

WARNING: Attempts to modify or alter the redPOWER Fibre

Laser or the use of controls or adjustments or performance of

procedures other than those specified in this User manual may

render the redPOWER Fibre Laser unsafe.

Attempts to modify or alter the redPOWER Fibre Laser or the use of controls or adjustments

or performance of procedures other than those specified in this User manual additionally will

invalidate the warranty and may result in patent infringement.

Laser Integrators are not authorized to modify the redPOWER Fibre Laser.

Laser Hazard Information

WARNING: The output aperture of the redPOWER Fibre Laser

may emit both invisible and visible laser radiation.

The invisible laser radiation may exceed the Accessible Emission

Limit (AEL) for a Class 4 laser.

AVOID EYE OR SKIN EXPOSURE TO DIRECT OR SCATTERED

RADIATION.

Page 3: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

3

WARNING: The output aperture of the redPOWER Fibre Laser

may emit both invisible and visible laser radiation.

The visible laser radiation is below the Accessible Emission Limit

(AEL) for a Class 2 laser. The wavelength of the visible laser

radiation is in the range 630 – 680nm.

DO NOT STARE INTO BEAM.

Warning: The redPOWER Fibre Laser does not control the pump

power supply and has no safety functionality to de-energise or

control the pump diodes or the output power.

Failure to provide external safety functionality may result in

exposure to harmful levels of radiation

Page 4: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

4

CONTENTS

1 Structure and Scope of this User Manual 5

2 Definition of Symbols and Terms 5

3 Health and Safety 6

3.1 General 6 3.2 Hazards 6

4 Document References 8

5 Introduction 8

6 Protocol 9

6.1 Physical Layer 9 6.2 Data Link Layer 9 6.3 Frame Structure 10 6.4 Communications Overview 12 6.5 Further Code Samples 13 6.6 Serial Link Protocol 16

7 Command Set 16

7.1 Laser Identification Number (IDNum) 16 7.2 Definition Tables 16 7.3 Command Block 1 (System control messages) 24 7.4 Command Block 2 (Fiber control messages) 28 7.5 Command Block 3 (System configuration messages) 34 7.6 Command Block 4 (Laser mode messages) 48 7.7 Command Block 5 (Laser parameter messages) 50 7.8 Command Block 6 (Laser IO messages) 107 7.9 Command Block 7 (Memory control messages) 123 7.10 Command Block 8 (Laser Interface Configuration Messages) 124 7.11 Command Block 9 (Interlock Alarm and Warning Messages) 130

8 Alarm Code Definitions 131

9 Warning Code Definitions 135

10 General Information 139

10.1 Trade Marks 139 10.2 Copyright 139 10.3 Changes 140

11 Contact Information 140

12 Customer Service 140

Page 5: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

5

1 Structure and Scope of this User Manual

This document explains the command set and format of SPI’s redPOWER Fibre Laser

platform serial communications protocol. It does not provide exhaustive information on the

functioning of the redPOWER Fibre Laser, for which the appropriate redPOWER Fibre

Laser Instructions for Use should be read in conjunction with this manual.

2 Definition of Symbols and Terms

This symbol alerts the user to the hazard of exposure to laser

radiation

WARNING: Indicates a hazard with a medium level of risk which, if not avoided,

could result in death or serious injury

Warnings must be observed to prevent personal injury to yourself

and others.

redPOWER

FIBRE

LASER:

redPOWER Fibre Laser as used herein means the item that was

procured from SPI Lasers.

The redPOWER Fibre Laser is a complete fibre laser system. By

‘complete’ it is meant a laser system as sold and ready for use for

its intended purpose without modifications to the specification of

the product.

The redPOWER Fibre Laser is specifically designed to be a laser

for incorporation or integration into other equipment. As such, it

does not meet the full requirements for a stand-alone laser system

as defined by 21 CFR 1040.10 and IEC/EN 60825-1.

The redPOWER Fibre Laser is not a consumer product and is not

to be sold on or made available as such.

Page 6: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

6

LASER

INTEGRATOR: Any person who integrates the redPOWER Fibre Laser into

equipment, or any person who uses the redPOWER Fibre Laser

in the form as supplied by SPI Lasers.

USER: Individuals or organizations that use the redPOWER Fibre Laser.

User includes the Laser Integrator and the end user

AUTHORISED

PERSONNEL:

Those who have attended official Training Courses and have been

certified as competent.

SPI Lasers: SPI Lasers UK Ltd.

3 Health and Safety

3.1 General

For full information on the hazards which may be encountered during installation, operation

and maintenance of the redPOWER Fibre Laser and steps to reduce the risk refer to the

Instructions for Use. All safety instructions mentioned the Instructions for Use must be

followed. Not following safety instructions may constitute a hazard to Users and third parties or

cause damage to property and the redPOWER Fibre Laser.

Only Authorised Personnel who have been instructed in, and fully understand, the necessary

safety procedures should use this laser. Access to the laser must be restricted to Authorised

Personnel.

All local safety requirements for the operation of this equipment must be complied with.

3.2 Hazards 3.2.1 Laser Hazards

The redPOWER Fibre Laser is specifically designed to be a laser for incorporation or

integration into other equipment. As such, it is not required to, and does not, meet the

requirements for a stand-alone laser system as defined by IEC/EN 60825-1.

Page 7: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

7

WARNING: The output aperture of the redPOWER Fibre Laser

may emit both invisible and visible laser radiation.

The invisible laser radiation may be in excess of the Accessible

Emission Limit (AEL) for a Class 4 laser. The invisible radiation can

be up to approximately 1.5kW CW per Prism FL Module in

normal operation and 2.3kW with a single fault. The wavelength of

this invisible radiation is in the range 1050-1250nm.

Additionally, the redPOWER Fibre Laser contains embedded

lasers that emit invisible laser radiation up to approximately 3.2kW

CW per Prism FL Module in normal operation and 4.8kW CW with

a single fault. The wavelength of this invisible radiation is in the

range 900-1000nm.

AVOID EYE OR SKIN EXPOSURE TO DIRECT OR SCATTERED

RADIATION.

Contact with direct or scattered laser radiation can cause damage

to the eyes, burn human tissue and start fires.

The optical connector shall be mounted in a protective housing

which prevents human access to laser radiation (including errant

radiation) in excess of the AEL for class 1, for example a housing

meeting the requirements of EN 60825-4.

WARNING: The output aperture of the redPOWER Fibre Laser

may emit both invisible and visible laser radiation.

The visible laser radiation is below the Accessible Emission Limit

(AEL) for a Class 2 laser. The wavelength of the visible laser

radiation is in the range 630 – 680nm.

DO NOT STARE INTO BEAM.

Laser emissions from the housing of the redPOWER Fibre Laser and the conduit of the

beam delivery optic are less than the AEL for Class 1 of IEC/EN 60825-14 with a single fault

providing that the fibre continuity monitoring system (FCMS) is correctly implemented by the

Laser Integrator.

Page 8: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

8

WARNING: Care should be taken especially when controlling the

laser remotely across a network.

Failure to do so could result in another User being exposed to

hazardous levels of radiation.

It is the responsibility of the Laser Integrator to ensure that when

controlled remotely no hazardous levels of radiation are emitted

when unsafe to do so.

4 Document References

Document

number

Description

SM-S00481 redPOWER PRISM Rack Fibre Laser User Manual

5 Introduction

This document explains the command set and format of SPI Lasers’ redPOWER Fiber Laser

Serial Interface.

The physical layer has been implemented as an RS232 hardware interface.

The data link layer conforms to the High Level Data Link Control (HDLC) definition (ISO03309)

requirements.

Conforming with the HDLC definition ensures that :

Any data can be transmitted across the link (transparency).

The beginning and ends of frames are unequivocally recognized.

If an error occurs, the receiver will eventually resynchronise.

The receiver can detect communications errors in each frame it receives.

Another important feature is that transmit and receive packets both have packet identification

characters. This allows communications to run asynchronously. A missing response timeout

method is implemented in order to detect lost packets.

Page 9: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

9

6 Protocol

6.1 Physical Layer

Standard 9 Way D-plug operating with signal levels defined by the RS232 specification.

The pin-out is shown below:

Pin RS232 Connections

2

3

5

Receive Data input (RX)

Transmit Data Output (TX)

GND

When connecting to a standard computer serial port, pins 2 and 3 should be crossed over at

the computer end.

The port should be configured to use a standard non-return-to-zero (NRZ) asynchronous

protocol with one start bit, one stop bit, eight data bits and no parity. The baud rate can be

selected using switches 7 & 8 on SW2 at the rear of a standalone laser, and on the control

card of a multi kW laser. The selectable rates are 9600 and 57600 baud.

SW2 -7 SW2 - 8 RS232 Baud Rate

OFF OFF 9600

ON ON 57600

6.2 Data Link Layer

The philosophy of the protocol is that there can be one master and up to 128 slaves. Each

salve has a unique address and will only respond when spoken to (i.e. no unsolicited

messages). The default laser address is 1. A single laser slave implementation will therefore

require no laser address set-up.

Page 10: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

10

6.3 Frame Structure

The protocol frame is based around the "High Level data link control" (HDLC) definition

(ISO03309) with a flag byte at start and end, address byte, data bytes and 16-bit CRC

checksum.

The flag bit is 0x7E and with the default laser address of 1, a typical frame will be:

<0x7E> <0x01> <DATA> <CHECKSUM> <0x7E>

The "checksum" is a 16-bit CRC checksum utilizing the CRC16-ITU polynomial.

G(x) = x16 + x12 + x5 + 1, with an initialisation value of all '1's.

The inverted calculation is transmitted in each frame, LSB first, and is calculated from the

address and the data.

The sequence below shows a typical command together with calculated checksum.

Address Command LSB Checksum MSB Checksum

Eg. <0x01> <0x04> <0xBB> <0x50>

The transmitted data also has the flag character (0x7E) at the beginning and end.

6.3.1 16-bit CRC Calculation

Following are two examples of generating the CRC algorithm.

C Code Example

// ------------------------------------------------------------------

------

// Calculates CRC - returns calculated CRC

// ------------------------------------------------------------------

------

// Note: returned calculated CRC (fcs) should be appended to the end

of the command LSB first

// command_tx[] is string of characters on which checksum is to be

calculated(including board address)

// command_length is number of characters in command

int calc_fcs(void)

{

unsigned int j; // temporary variable

unsigned int fcs = 0xFFFF; // Calculated checksum

unsigned int count; // count of current

for(count=0; count < command_length; count++)

{

j = (fcs ^ (unsigned int)command [count]) & 15;

fcs = fcs >> 4;

fcs = fcs ^ (j * 4225);

Page 11: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

11

j = (fcs ^ ((unsigned int)command [count] >> 4)) &

15;

fcs = fcs >> 4;

fcs = fcs ^ (j * 4225);

}

fcs = fcs ^ 0xFFFF;

return fcs

}

VB Code Example

Public Function Checksum(sDataString As String) As Byte()

'INPUT - Character string

'OUTPUT - 2 element byte array containing the LSB and MSB of the

checksum

Dim iCount As Integer

Dim lTemp As Long

Dim lTemp2 As Long

Dim lCharValue As Long

Dim lRunningResult As Long

Dim bResult(1) As Byte

lRunningResult = 65535

For iCount = 1 To Len(sDataString)

lCharValue = Abs(Asc(Mid$(sDataString, iCount, 1)))

lTemp = (lRunningResult Xor lCharValue) And 15

lRunningResult = lRunningResult \ 16

lRunningResult = lRunningResult Xor (lTemp * 4225)

lTemp = (lRunningResult Xor (lCharValue \ 16)) And 15

lRunningResult = lRunningResult \ 16

lRunningResult = lRunningResult Xor (lTemp * 4225)

Next iCount

lRunningResult = lRunningResult Xor 65535

bResult(1) = lRunningResult \ 256'MSB

lTemp = bResult(1)

lTemp2 = lTemp * 256

bResult(0) = lRunningResult - lTemp2 'LSB

Checksum = bResult

End Function

If the same calculation is performed on received data including the checksum, the calculated

value should be 0xF47. If it is not, the checksum is invalid and the data should be discarded.

6.3.2 Data Element

The data element of the command comprises a command number and any number of

Parameters as shown below.

<COMMAND NUMBER> <PARAM 1> <PARAM 2> …… <PARAM n>

Not all commands have associated parameters.

Page 12: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

12

The "COMMAND NUMBER" is a single byte which selects the requested instruction.

The "PARAM"s is any number of single or multiple bytes containing any parameters required

by the particular instruction.

6.3.3 The Transparency Algorithm

The protocol requires the existence of a transparency algorithm to overcome the likely event

of data/checksum characters occurring with the same value as the frame character 0x7E. If

this situation were allowed to exist it would produce errors in the frame structure and make it

impossible for the slave devices to decipher the frame.

The transparency character is 0x7D.

If a frame character is detected, the transparency character is inserted preceding it and the

frame character has its sixth bit complemented.

Similarly if a transparency character is detected the same process needs to be implemented.

Eg.1

becomes

Address

<0x01>

Address

<0x01>

Command

<0x6E>

Command

<0x6E>

Parameter

<0x7E>

Transparency

<0x7D>

Parameter

(with bit

inversion)

<0x5E>

LSB

Checksum

<0xAC>

LSB

Checksum

<0xAC>

MSB

Checksum

<0xF9>

MSB

Checksum

<0xF9>

Eg.2

becomes

Address

<0x01>

Address

<0x01>

Command

<0x12>

Command

<0x12>

Parameter

<0x7D>

Transparency

<0x7D>

Parameter

(with bit

inversion)

<0x5D>

LSB

Checksum

<0x53>

LSB

Checksum

<0x53>

MSB

Checksum

<0x92>

MSB

Checksum

<0x92>

The transmitted data also has the flag character (0x7E) at the beginning and end.

The transparency algorithm is carried out in a serial fashion on all data and checksum bytes

before the frame is transmitted (i.e. Transparency algorithm is implemented after the

checksum has been calculated).

On receiving data the reverse process is carried out. The data being checked for transparency

bytes before any attempt is made to decode the data or checksum.

6.4 Communications Overview

The master packages the laser address, command and parameters into a data string and

calculates the crc-16 checksum. It converts any illegal characters using the transparency

algorithm and then transmits the block starting and ending with a frame character.

Page 13: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

13

The laser receives the frame and reconstructs the original data and checksum. If the board

address does not match then the command is discarded. The CRC check is then carried out

and if it does not pass, the command is discarded.

If the CRC proves the validity of the frame then the command is performed and the slave

transmits a response. The response is a frame, using the structure described above,

containing a copy of the instruction sent and any requested readings or values in the

parameter section.

The response includes the laser address.

The master uses the same methodology to decode and validate the response frame before

taking any notice of the data contained within it.

If an error occurs the whole communication procedure is allowed to be repeated a limited

number of times. If the error condition persists, the master indicates a fault.

6.5 Further Code Samples

The following Visual Basic 6 code samples demonstrate the packing and unpacking of data

packets.

Example 1 - Build a transmit packet (uses checksum calculation shown above) :

Public Function BuildTransmitString(bData() As Byte, iDataLength As

Integer) As String()

'INPUT - Board address and command as bytes, data length as integer.

'OUTPUT - Transmit data string including checksum and any required

transparency characters

Dim ChecksumBytes() As Byte

Dim iCount As Integer

Dim iCount2 As Integer

Dim sResult() As String

Dim bTempArray() As Byte

Dim iMinimumTransmitStringLength As Integer

Dim sChecksumString As String

Const cFrameCharacter = &H7E

Const cRelacementFrameCharacter = &H5E

Const cTransparencyCharacter = &H7D

Const cReplacementTransparencyCharacter = &H5D

iMinimumTransmitStringLength = iDataLength + 4'Add 4 for start,

end and checksum characters.

ReDim sResult(iMinimumTransmitStringLength) 'Dimension array to

hold result

ReDim bTempArray(iMinimumTransmitStringLength) 'Dimension array

to hold temporary data

'Calculate the checksum

For iCount = 0 To iDataLength

sChecksumString = sChecksumString & Chr(bData(iCount))

Next iCount

Page 14: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

14

ChecksumBytes() = Checksum(sChecksumString)

'Load the temporary array with the known data

For iCount = 0 To iDataLength

bTempArray(iCount) = bData(iCount)

Next iCount

'Tag on the calculated checksum

bTempArray(iCount) = ChecksumBytes(0)

bTempArray(iCount + 1) = ChecksumBytes(1)

'First character is a frame character

sResult(0) = Chr(cFrameCharacter)

iCount2 = 1

'Now fill in the data characters

For iCount = 0 To iMinimumTransmitStringLength - 2

If bTempArray(iCount) = cFrameCharacter Or

bTempArray(iCount) = cTransparencyCharacter Then

'Pad with a transparancy character if address is a

frame character

ReDim Preserve sResult(UBound(sResult) + 1)

sResult(iCount2) = Chr(cTransparencyCharacter)

iCount2 = iCount2 + 1

If bTempArray(iCount) = cFrameCharacter Then

sResult(iCount2) =

Chr(cRelacementFrameCharacter)

ElseIf bTempArray(iCount) = cTransparencyCharacter

Then

sResult(iCount2) =

Chr(cReplacementTransparencyCharacter)

End If

Else

sResult(iCount2) = Chr(bTempArray(iCount))

End If

iCount2 = iCount2 + 1

Next iCount

'Last character is a frame character

sResult(iCount2) = Chr(cFrameCharacter)

BuildTransmitString = sResult

End Function

Example 2 - Decode a response packet :

Public Function DecodeResponse(sData As String) As String

'INPUT - String response from laser

'OUTPUT - String stripped of frame and replacement characters

Dim iStringPosition As Integer

Page 15: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

15

Dim sResult As String

Const cFrameCharacter = &H7E

Const cRelacementFrameCharacter = &H5E

Const cTransparencyCharacter = &H7D

Const cReplacementTransparencyCharacter = &H5D

For iStringPosition = 2 To Len(sData) - 1

If Asc(Mid$(sData, iStringPosition, 1)) =

cTransparencyCharacter Then

iStringPosition = iStringPosition + 1

If Asc(Mid$(sData, iStringPosition, 1)) =

cRelacementFrameCharacter Then

sResult = sResult & Chr(cFrameCharacter)

ElseIf Asc(Mid$(sData, iStringPosition, 1)) =

cReplacementTransparencyCharacter Then

sResult = sResult & Chr(cTransparencyCharacter)

End If

Else

sResult = sResult & Mid$(sData, iStringPosition, 1)

End If

Next iStringPosition

DecodeResponse = sResult

End Function

Example 3 - Check validity of response packet (uses checksum calculation and response

decode routines shown above). Code snippet only :

If Asc(Left$(RxTxt, 1)) = cFrameCharacter And Asc(Right$(RxTxt,

1)) = cFrameCharacter Then

'Unpack the response by removing and frame and replacement

characters

sResponseData = DecodeResponse(RxTxt)

'Verify that the checksum is correct

bResponseChecksumBytes() = Checksum(sResponseData)

dTemp = bResponseChecksumBytes(1) * 256

lResponseChecksumValue = bResponseChecksumBytes(0) + dTemp

If lResponseChecksumValue <> cReverseChecksum Then

sCommunicationsFault = "Bad Checksum"

bCommunicationsOK = False

End If

Endif

Note : The reverse checksum (cReverseChecksum above) should always be equal to &HF47

(0xF47).

Page 16: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

16

6.6 Serial Link Protocol

The protocol ensures that communications between the PC (or other form of controller) and

the laser system is carried out in a way that ensures that spurious system operation cannot

occur due to communication error.

7 Command Set

7.1 Laser Identification Number (IDNum)

TheIDNumrefers to the laser identification number used in all message packets. Default value

is 0x01. The IDnum can be changed using Control Code 0x24. A corresponding read

command is not required. Any successful communications will verify the IDNum.

7.2 Definition Tables 7.2.1 Response FLags

Each response message from the laser contains a status flag indicating its success or failure.

The flag status can be interpreted in the following table.

Table 1 Response Flag Definitions

Flag Value Description

0x00 Command executed successfully

0x01 Command failed – Zone not recognised

0x02 Command failed – Device not recognised

0x03 Command failed – Shape not recognised

0x04 Command failed – Set not recognised

0x05 Command failed – Cycle not recognised

0x06 Command failed – Parameter not recognised

0x07 Command failed – Interface not recognised

0x08 Command failed – Signal not recognised

0x20 Command failed – Index out of range

0x21 Command failed – Parameter out of range

0x22 Command failed – Segment out of range

0x23 Command failed – Incorrect command length

0x30 Command failed – Laser in incorrect mode

Page 17: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

17

Flag Value Description

0x31 Command failed – Laser in incorrect state

0x40 Command failed – Modulator not configured

0x41 Command failed – Shutter Controller not configured

0x50 Command failed – Shape In Use

0x51 Command failed – No segment data associated with shape number

0x52 Command failed – Shape is not compatible with associated Parameter Set(s)

0xFE Command failed – Data error

0xFF Command failed – Unknown command

7.2.2 Shape Library

Table 2 Shape Library Definitions - Changed Definition

Library Shape

Number

Description

0x00 CW

0x01 Single sector pulse

0x02 Fiber Pierce

0x03 Pre-defined Sine wave shape

0x0A … 0x3B User defined shape numbers. Number of shapes depends on the

memory usage. Up to 50 shapes can be created.

Notes on Library Shape Definitions

1. Library shapes 0 to 3 are pre defined output styles.

2. Library shapes 0x0A to 0x3B are user defined output styles.

7.2.3 Zone Allocation

The laser has been divided into zones, each relating to a specific area. Certain messages in

the protocol use the zone information to specify where information is retrieved from and sent

too. The Zone allocation is as follows:

Page 18: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

18

Table 3 Zone Allocation

Reference Zone Description

0x01 System The System Zone contains information general to the

laser’s functionality. It can encompass information from

one or more of the other zones.

0x02 Control The Control Zone contains information specific to the

laser control.

0x03 Modulator The Modulator Zone contains information specific to the

laser modulator and diode block.

0x04 Fiber The Fiber Zone contains information specific to the

lasers Fiber. Including shutter control.

0x05 Machine Interface The Machine Interface Zone contains information

specific to the machine interface.

0x06 GUI Alarms generated by the front end PC program

(FiberView TM, FiberView CE TM)

0x07 Bulk Power Supply Alarms caused by the bulk power supply.

0x08 Laser Module Zone The laser module zone contains data specific to a laser

module.

Table 4 System Zone Devices

No System zone devices exist for this issue.

Table 5 Control Zone Devices

Reference Control Zone Device

0x01 Board Version

0x02 DSP

0x03 FPGA

0x04 Interlock PLD 1

0x05 Interlock PLD 2

0x06 Decode PLD

0x07 Flash Memory

Table 6 Modulator Zone Devices

Reference Modulator Zone Device

0x01 Board Version

Page 19: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

19

Reference Modulator Zone Device

0x02 PIC

Table 7 Fiber Zone Devices

Reference Fiber Zone Device

0x01 Shutter / Safety Control Board Version

0x02 Shutter / Safety Control PIC

0x03 Shutter / Safety Control Interlock PLD

1

0x04 Shutter / Safety Control Interlock PLD

2

Table 8 Machine Interface Zone Devices

No Machine Interface zone devices exist for this issue.

Table 9 Bulk Power Supply Zone Devices

No Bulk Power Supply zone devices exist for this issue.

Table 10 Laser module Zone Devices

Reference Laser Module Zone Device

0x01 Module S/W (3 bytes)

& Serial number (10 bytes)

Table 11 Laser Module Types

Reference Laser Module Types

0x00 K1.1 Laser Module

0x01 redPOWER Fibre Laser Module

Table 12 redPOWER Access Levels

Value Access Level

0 User (No elevated permissions)

1 Customer Supervisor

2 SPI Service Engineer

3 SPI Factory

Page 20: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

20

7.2.4 User Interface

Table 13 User Interface Reference

The laser has a number of user interface options. Certain messages in the protocol can be

used to access configuration and functionality. These interfaces can be referenced using the

values below.

Reference Serial Interface Zone Device

0x01 Serial Interface

0x03 Ethernet Interface

0x04 CANopen (LPFL On request only)

7.2.5 Machine Interface Input Functions

Table 14 Machine Interface Input Functions

Function ID Number Input Function Description

0 Unused

1 Laser Start

(Takes the laser from off to standby under remote control)

2 Laser On / Process Cycle Start

3 Trigger Input

4 Trigger Source Select (Internal / External)

5 Process Cycle Step

6 Alarm Reset

7 Strobe

8 Parameter Set / Process Cycle Select (Bit 0)

9 Parameter Set / Process Cycle Select (Bit 1)

10 Parameter Set / Process Cycle Select (Bit 2)

11 Parameter Set / Process Cycle Select (Bit 3)

12 Parameter Set / Process Cycle Select (Bit 4)

13 Parameter Set / Process Cycle Select (Bit 5)

14 Alignment laser Demand

15 Scanner Start Input

16 Safe Mode Recovery Start

Page 21: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

21

Function ID Number Input Function Description

17 LPFL Bulk PSU Disable

Table 15- Machine Interface Input Default Configuration for Normal Operation

Input Number Function ID Number Input Function Description

0 1 Laser Start

1 2 Laser On / Process Cycle Start

2 5 Process Cycle Step

3 0 Unused

4 6 Alarm Reset

5 4 Unused

6 3 Trigger Input

Table 16- Machine Interface Input Default Configuration For Key Switch Operation

Input Number Function ID Number Input Function Description

0 0 Unused

1 0 Unused

2 0 Unused

3 0 Unused

4 6 Alarm Reset

5 0 Unused

6 3 Trigger Input

7.2.6 Machine Interface Output Functions

Table 17 Machine Interface Output Functions

Function ID Number Output Function Description

0 Unused

1 Laser Standby

2 Laser On / Process Cycle Active

3 Remote Control

4 Sync

Page 22: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

22

Function ID Number Output Function Description

5 Process Cycle Wait

6 Processing Mode

7 Alarm

8 Warning

9 Energy Warning

10 Acknowledge

11 Parameter Set / Process Cycle Selected (Bit 0)

12 Parameter Set / Process Cycle Selected (Bit 1)

13 Parameter Set / Process Cycle Selected (Bit 2)

14 Parameter Set / Process Cycle Selected (Bit 3)

15 Parameter Set / Process Cycle Selected (Bit 4)

16 Parameter Set / Process Cycle Selected (Bit 5)

17 Scanner Start Output

18 Ready To Start (Connected with no alarms)

19 Emission Indicator

20 HPFL Cooler Request

21 Safe Mode Recovery Active

22 Ready For Bulk Supply Enable (LPFL4/5)

23 Future Functionality

24 LPFL Bulk PSU Disabled (LPFL4/5)

25 PSU enabled (HPFL & LPFL4/5)

26 Back Reflection Warning

27 Burn Back / Safe Mode Detected

28 Laser Over Temperature

29 Back Reflection Alarm

30 E-Stop Alarm

31 Cooler Interlock Status

32 Process Cycle Active Step (Bit 0)

33 Process Cycle Active Step (Bit 1)

34 Process Cycle Active Step (Bit 2)

Page 23: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

23

Function ID Number Output Function Description

35 Process Cycle Active Step (Bit 3)

36 Process Cycle Active Step (Bit 4)

37 Process Cycle Active Step (Bit 5)

38 Process Cycle Active Step (Bit 6)

39 Process Cycle Active Step (Bit 7)

40 Process Cycle Active Step (Bit 8)

41 Process Cycle Active Step (Bit 9)

Table 18 Output Default Configuration For Normal Operation

Output Number Function ID Number Output Function Description

0 1 Laser Standby

1 2 Laser On / Process Cycle Active

2 3 Remote Control

3 7 Alarm

4 8 Warning

5 9 Energy Warning

6 5 Process Cycle Wait

Table 19 Output Default Configuration For Key Switch Operation (Fixed Configuration)

Output Number Function ID Number Output Function Description

0 27 Burn Back / Safe Mode Detected

1 28 Laser Over Temperature

2 29 Back Reflection Alarm

3 30 E-Stop Alarm

4 31 Cooler Interlock Status

5 0 Unused

6 0 Unused

Page 24: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

24

7.2.7 Laser Style

Table 20 Laser Style

Style ID Laser Architecture

0 Low Power CW

1 High Power CW

2 Low Power FL2

3 High Power (Blue Button)

7.3 Command Block 1 (System control messages)

Allocated control code range 0x00 to 0x0F inclusive.

7.3.1 Set Laser Off (Control Code 0x00)

This command takes the laser to the completely off state. A flag is returned to indicate the

success or failure of the command.

Transmit Data:

<IDNum><0x00><chk[1]><chk[2]>

Receive Data:

<IDNum><0x00><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.3.2 Set Laser Standby (Control Code 0x01)

This command takes the laser to the standby state from either the on or off state. A flag is

returned to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x01><chk[1]><chk[2]>

Receive Data:

<IDNum><0x01><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.3.3 Set Laser On (Control Code 0x02)

This command turns the laser on from the standby state. A flag is returned to indicate the

success or failure of the command.

Page 25: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

25

Transmit Data:

<IDNum><0x02><chk[1]><chk[2]>

Receive Data:

<IDNum><0x02><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.3.4 Read Laser State (Control Code 0x03)

Returns single byte to indicating the laser state.

Transmit Data:

<IDNum><0x03><chk[1]><chk[2]>

Receive Data:

<IDNum><0x03><data[1]><chk[1]><chk[2]>

<data[1]> is the read laser state as defined in the table below.

<data[1]> Laser State

0x00 Laser OFF

0x01 Starting

0x02 Laser READY/STANDBY

0x03 Laser ON

7.3.5 Control Process Cycle (Control Code 0x04)

This command controls the running of a Process Cycle. A flag is returned to indicate the

success or failure of the command.

Transmit Data:

<IDNum><0x04><param[1]><chk[1]><chk[2]>

<param1> is the Process Cycle command as defined in the table below.

<param[1]> Action

0x01 Start Cycle

0x02 Stop Cycle

0x04 Step Cycle

Receive Data:

<IDNum><0x04><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

Page 26: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

26

7.3.6 Reset System (Control Code 0x05)

This command will reset all alarms/interlocks and take the laser to the off state.

This command does not return any parameters.

Transmit Data:

<IDNum><0x05><chk[1]><chk[2]>

Receive Data:

<IDNum><0x05><chk[1]><chk[2]>

7.3.7 Recover From Safe Mode (Control Code 0x06)

This command will attempt to recover the laser from safe mode.

The laser must be in safe mode, and standby in order for this command to function.

Transmit Data:

<IDNum><0x06><chk[1]><chk[2]>

Receive Data:

<IDNum><0x06><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.3.8 Set Fan Speed Test Demand (Control Code 0x07)

This command is used to manually test the operation of variable speed fans, where fitted.

The laser must be off, and the fan run on time expired in order for this command to function.

The setting is cancelled if the laser is commanded to start. Setting 0% turns the fans off.

Transmit Data:

<IDNum><0x07><param[1]><chk[1]><chk[2]>

<param[1]> is the required fan speed demand. Range 0 to 100% in 1% increments.

Receive Data:

<IDNum><0x07><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.3.9 Set Cooling Parameters (Control Code 0x08)

This command is used to set parameters associated with cooling options depending on the

laser configuration.

Page 27: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

27

Transmit Data:

<IDNum><0x08><param[1]><param[2]><param[3]>…<param[n]> <chk[1]><chk[2]>

<param[1]> is the cooling parameter association identified in the table below.

<param[1]> Parameter Association

0x01 Solenoid Test

0x02 Solenoid Set Point

<param[2]> is an index used to uniquely identify elements where more than one of a specific

cooling element may exist in the system. This parameter should be set to a value of 1 to

reference single cases.

<param[3]> … <param[n]> is the values for the parameter association.

0x01 Solenoid Test

<param[3]> 0 = Close valve

1 = Open valve

0x02 Solenoid Set Point

<param[3]MSB>

to

<param[3]LSB>

Solenoid control temperature set

point. Range 18 to 28°C. Scaling

0.1°C. Default 20°C.

Receive Data:

<IDNum><0x08><data[1]><data[2]><flag[1]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the requested parameters (<param[1]>), index

(<param[2]>) in the transmit packet so as to allow message identification.

Return Flag <flag[1]> See Table above.

7.3.10 Read Cooling Parameters (Control Code 0x09)

This command is used to read parameters associated with cooling options depending on the

laser configuration.

Transmit Data:

<IDNum><0x09><param[1]><param[2]><chk[1]><chk[2]>

<param[1]> is the cooling parameter association identified in the table below.

<param[1]> Parameter Association

0x01 Solenoid Test

Page 28: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

28

<param[1]> Parameter Association

0x02 Solenoid Set Point

<param[2]> is an index used to uniquely identify elements where more than one of a specific

cooling element may exist in the system. This parameter should be set to a value of 1 to

reference single cases.

Receive Data:

<IDNum><0x09><data[1]><data[2]><flag[1]> <data[3]>…<data[n]> <chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the requested parameters (<param[1]>), index

(<param[2]>) in the transmit packet so as to allow message identification.

<data[3]> … <data[n]> is the values for the parameter association.

0x01 Solenoid Test

<data[3]> 0 = Valve closed

1 = Valve open

0x02 Solenoid Set Point (0x02)

<data[3]MSB>

to

<data[3]LSB>

Solenoid control temperature set

point. Range 18 to 28°C. Scaling

0.1°C. Default 20°C.

Return Flag <flag[1]> See Table above.

7.4 Command Block 2 (Fiber control messages)

Allocated control code range 0x10 to 0x1F inclusive.

7.4.1 Set Alignment laser State (Control Code 0x10)

This command sets the state of the alignment laser, if fitted, to either off or on. A flag is

returned to indicate the success or failure of the command.

Notes -

1. The alignment laser will automatically switch off after 30 mins.

2. When the alignment laser is ON, it will automatically switch off when the laser enters

the ON state, and resume when the laser exits the ON state (as long as 30 mins has

not elapsed).

Transmit Data:

<IDNum><0x10><param[1]><chk[1]><chk[2]>

Page 29: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

29

<param[1]> is the required alignment laser state as defined in the table below.

<param[1]> Required Alignment laser State

0x00 Off

0xFF On

Receive Data:

<IDNum><0x10><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.4.2 Read Alignment Laser State (Control Code 0x11)

This command reads the status of the alignment laser, if fitted. A flag is returned to indicate

the success or failure of the command.

Transmit Data:

<IDNum><0x11><chk[1]><chk[2]>

Receive Data:

<IDNum><0x11><flag[1]><data[1]><chk[1]><chk[2]>

<data[1]> is the read alignment laser state as defined in the table below.

<data[1]> Actual Alignment Laser State

0x00 Off

0xFF On

Return Flag <flag[1]> See Table above.

7.4.3 Set the Alignment laser Brightness (Control Code 0x12)

This command set the alignment laser brightness, if fitted. A flag is returned to indicate the

success or failure of the command.

Transmit Data:

<IDNum><0x12><param[1]><chk[1]><chk[2]>

<param[1]> is the required brightness. Range 1 to 100% in 1% increments.

Receive Data:

<IDNum><0x12><flag[1]> <chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

Page 30: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

30

7.4.4 Read the Alignment laser Brightness (Control Code 0x13)

This command reads the alignment laser brightness, if fitted. A flag is returned to indicate the

success or failure of the command.

Transmit Data:

<IDNum><0x13><chk[1]><chk[2]>

Receive Data:

<IDNum><0x13><flag[1]><data[1]><chk[1]><chk[2]>

<data[1]> is the alignment laser brightness. . Range 1 to 100% in 1% increments.

Return Flag <flag[1]> See Table above.

7.4.5 Set Shutter / Safety Card State (Control Code 0x14)

This command requests the required state for the shutter(s) / safety card(s), if fitted. The

shutter(s) / safety card(s) will only open if it is safe to do so. Multiple shutters / safety cards

can be requested in a single command. A change of shutter / safety card can be requested in

a single command. A flag is returned to indicate the success or failure of the command.

Note: Safety card fitted configuration is dependant on the modulator interface being fitted as

defined in the configuration data retrieved using command 0x21. If modulators are fitted, and

shutters are not fitted, the laser is configured for a safety card. The configured number of

shutters / safety cards can be read using command 0x26.

Transmit Data:

<IDNum><0x14><param[1]MSB><param[1]LSB><chk[1]><chk[2]>

<param[1]> is the required settings for all of the fitted and enabled shutters / safety cards.

Each bit within the 2 bytes represents a single shutter / safety card. Bit 0 of param[1]LSB is

reserved for future development and should be written as 0. Bit 1 represents shutter / safety

card 1 etc. Setting a 1 in a bit position is a shutter open / safety card enable request, and a 0

is a shutter close / safety card disable request for the shutter / safety card corresponding to

the bit position.

Receive Data:

<IDNum><0x14><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.4.6 Read Shutter / Safety Card State (Control Code 0x15)

This command reads the state of any fitted shutter / safety card. A flag is returned to indicate

the success or failure of the command.

Note: Safety card fitted configuration is dependant on the modulator interface being fitted as

defined in the configuration data retrieved using command 0x21. If modulators are fitted, and

Page 31: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

31

shutters are not fitted, the laser is configured for a safety card. The configured number of

shutters / safety cards can be read using command 0x26.

Transmit Data:

<IDNum><0x15><chk[1]><chk[2]>

Receive Data:

<IDNum><0x15><flag[1]> <data[1]MSB><data[1]LSB><chk[1]><chk[2]>

<data[1]> is the required settings for all of the fitted and enabled shutters / safety cards. Each

bit within the 2 bytes represents a single shutter / safety card. Bit 0 of param[1]LSB is

reserved for future development and should be written as 0. Bit 1 represents shutter / safety

card 1 etc. A setting of 1 within a bit position indicates that the shutter is open/ safety card

enabled, and a 0 indicates the shutter is closed / safety card disabled in the corresponding bit

position.

Return Flag <flag[1]> See Table above

7.4.7 Set Shutter / Safety Card Control State (Control Code 0x16)

This command is used to set and clear the remote state for any shutter (s) / safety card, if

fitted (See command 0x26). This state can be changed independently for each shutter / safety

card. The remote shutter / safety card control input is enabled when the state is set for the

corresponding shutter / safety card. A flag is returned to indicate the success or failure of the

command.

Note: Safety card fitted configuration is dependant on the modulator interface being fitted as

defined in the configuration data retrieved using command 0x21. If modulators are fitted, and

shutters are not fitted, the laser is configured for a safety card. The configured number of

shutters / safety cards can be read using command 0x26.

Transmit Data:

<IDNum><0x16><param[1]MSB><param[1]LSB><chk[1]><chk[2]>

<param[1]> is a bit field representation of all the shutters / safety cards. Each bit within the 2

bytes represents a single shutter / safety card. Bit 0 of param[1]LSB is reserved for future

development and should be written as 0. Bit 1 represents shutter / safety card 1 etc. Setting a

1 in a bit position enables the remote control input for the shutter / safety card, and a 0

disables the input for the shutter / safety card corresponding to the bit position.

Receive Data:

<IDNum><0x16><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.4.8 Read Shutter / Safety Card Control State (Control Code 0x17)

This command reads the remote state of any fitted shutter / safety card. A flag is returned to

indicate the success or failure of the command.

Page 32: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

32

Note: Safety card fitted configuration is dependant on the modulator interface being fitted as

defined in the configuration data retrieved using command 0x21. If modulators are fitted, and

shutters are not fitted, the laser is configured for a safety card. The configured number of

shutters / safety cards can be read using command 0x26.

Transmit Data:

<IDNum><0x17><chk[1]><chk[2]>

Receive Data:

<IDNum><0x17><flag[1]> <data[1]MSB><data[1]LSB><chk[1]><chk[2]>

<data[1]> is a bit field representation of all the shutters / safety card. Each bit within the 2

bytes represents a single shutter / safety card. Bit 0 of data[1]LSB is reserved for future

development and should be read as 0. Bit 1 represents shutter / safety card 1 etc. A setting of

1 within a bit position indicates that the shutter's / safety card's remote input is enabled, and a

0 indicates the shutter's / safety card's remote input is disabled in the corresponding bit

position.

Return Flag <flag[1]> See Table above.

7.4.9 Set Shutter Operations (Control Code 0x18)

This command is used to reset the operation count for a selected shutter, if fitted. It can also

be used to set a shutter count for maintenance purposes e.g. if shutter control card requires

changing. A flag is returned to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x18><param[1]><param[2]MSB><param[2]LSB><chk[1]><chk[2]>

<param[1]> is an index representing the shutter number to be set. E.g. a 1 will set the

operation count for shutter 1 to the value specified in param 2.

<param[2]> is a 4 byte field representation the required shutter operation count. Setting the

value to zero has the effect of resetting the operation count.

Receive Data:

<IDNum><0x18><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.4.10 Set Power monitor gain and offset (Control Code 0x19)

This command is used to set the gain and offset figure for a selected power monitor, if fitted. A

flag is returned to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x19><param[1]><param[2]><param[3]MSB><param[3]LSB>

<param[4]MSB><param[4]LSB><chk[1]><chk[2]>

Page 33: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

33

<param[1]> is an index for the selected power monitor type where more than 1 of a the type

exists in the system. The default value for this index is 1.

<param[2]> is the power monitor type, as defined in the table below

<param[2]> Power Monitor Type

0x01 Primary Power Monitor

<param[3]> and <param[4]> are defined in the table below.

Transmit Data Parameter

<param[3]MSB>

to

<param[3]LSB>

Power Monitor Gain Figure.

Range 1 to 10000.

<param[4]MSB>

to

<param[4]LSB>

Power Monitor Offset Figure.

Range 0 to 1000.

Receive Data:

<IDNum><0x19><data[1]><data[2]><flag[1]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the index (<param[1]>) and type (<param[2]> ) in the

transmit packet so as to allow message identification.

Return Flag <flag[1]> See Table above.

7.4.11 Read Power monitor gain and offset (Control Code 0x1A)

This command is used to read the gain and offset figure for a selected power monitor, if fitted.

A flag is returned to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x1A><param[1]><param[2]><chk[1]><chk[2]>

<param[1]> is an index for the selected power monitor type where more than 1 of a the type

exists in the system. The default value for this index is 1.

<param[2]> is the power monitor type, as defined in the table below

<param[2]> Power Monitor Type

0x01 Primary Power Monitor

Receive Data:

<IDNum><0x1A><data[1]><data[2]><flag[1]><data[3]MSB><data[3]LSB>

<data[4]MSB><data[4]LSB><chk[1]><chk[2]>

Page 34: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

34

<data[1]> and <data[2]> are echoes of the index (<param[1]>) and type (<param[2]> ) in the

transmit packet so as to allow message identification.

<data[3]> and <data[4]> are defined in the table below.

Received Data Parameter

<data[3]MSB>

to

< data [3]LSB>

Power Monitor Gain Figure.

Range 1 to 10000.

< data [4]MSB>

to

< data [4]LSB>

Power Monitor Offset Figure.

Range 0 to 1000.

Return Flag <flag[1]> See Table above.

7.5 Command Block 3 (System configuration

messages)

Allocated control code range 0x20 to 0x3F inclusive.

7.5.1 Set Zone Configuration (Control Code 0x20)

This command sets the configuration for a specified zone. A flag is returned to indicate the

success or failure of the command.

Transmit Data:

<IDNum><0x20><param[1]><param[2]><param[3]><param[n]><chk[1]><chk[2]>

<param[1]> identifies the zone (See Table 3).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

A variable number of parameters, <param[3]> through <param[n]> are transmitted depending

on the information required by each zone, a defined in the tables below.

For System Zone Configuration

No configuration settings for the System Zone

For Control Zone Configuration

No configuration settings for the Control Zone

For Modulator Zone Configuration

No configuration settings for the Modulator Zone

For Fiber Zone Configuration

Page 35: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

35

No configuration settings for the Fiber Zone

For Machine Interface Zone Configuration

For function ID numbers, refer to the Tables in Sections 7.2.5 and 7.2.6.

Transmit Data Parameter

<param[3]> Digital Input 0 Function ID Number

<param[4]> Digital Input 1 Function ID Number

<param[5]> Digital Input 2 Function ID Number

<param[6]> Digital Input 3 Function ID Number

<param[7]> Digital Input 4 Function ID Number

<param[8]> Digital Input 5 Function ID Number

<param[9]> Digital Input 6 Function ID Number

<param[10]> Digital Output 0 Function ID Number

<param[11]> Digital Output 1 Function ID Number

<param[12]> Digital Output 2 Function ID Number

<param[13]> Digital Output 3 Function ID Number

<param[14]> Digital Output 4 Function ID Number

<param[15]> Digital Output 5 Function ID Number

<param[16]> Digital Output 6 Function ID Number

Receive Data:

<IDNum><0x20><data[1]><data[2]<flag[1]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the requested zone (<param[1]>), index (<param[2]>)

in the transmit packet so as to allow message identification.

Return Flag <flag[1]> See Table above.

7.5.2 Read Zone Configuration (Control Code 0x21)

This command reads the configuration from each zone as listed below. A flag is returned to

indicate the success or failure of the command.

Transmit Data:

<IDNum><0x21><param[1]><param[2]><chk[1]><chk[2]>

<param[1]> identifies the zone (See See Table 3).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

Page 36: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

36

Receive Data:

<IDNum><0x21><data[1]><data[2]><<flag[1]><data[3]> <data[n]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the requested element (<param[1]>), index

(<param[2]>) to allow message identification.

A variable number of parameters, <data[3]> through <data[n]> are returned depending on the

requested zone, as defined in the tables below.

For System Zone Configuration

Receive Data Parameter

<data[3][0]>

To

<data[3][15]>

Laser Type – A 16 byte string

identifying the laser Type

<data[4][0]>

To

<data[4][15]>

Serial Number – A 16 byte string

identifying the laser unique serial

number.

<data[5][0]>

To

<data[5][11]>

MAC Address.

<data[6]> Laser Style – See Table 20

<data[7]MSB>

and

<data[7]LSB>

(4 bytes)

Maximum Laser Power (W)

<data[8]MSB>

and

<data[8]LSB>

Maximum Current Modulator Demand

(Scaling 0.01A). Determined by laser

diode type. Range 9 to 20A. Default

10A.

<data[9]MSB>

and

<data[9]LSB>

Absolute Maximum Laser Current

(scaling 0.01A). Determined by laser

diode type. Range 9 to 20A. Default

9A.

<data[10]MSB>

and

<data[10]LSB>

Initial Maximum Laser Current

(scaling 0.01A). Initial laser

configuration to achieve laser output

power spec + headroom. Range 0 to

20A. Default 6A.

Page 37: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

37

Receive Data Parameter

<data[11]MSB>

and

<data[11]LSB>

Current Maximum Laser Current

(scaling 0.01A). Present laser

maximum current setting to achieve

laser output power spec + headroom,

or absolute maximum laser current.

Set during the power curve calibration

routine. Range between absolute and

initial laser current settings in 0.01A

steps. Default 6A.

<data[12]MSB>

and

<data[12]LSB>

Initial power curve gradient (0.01)

<data[13]MSB>

and

<data[13]LSB>

Initial power curve offset (0.01)

<data[14]MSB>

and

<data[14]LSB>

Current power curve gradient (0.01)

<data[15]MSB>

and

<data[15]LSB>

Current power curve offset (0.01)

<data[16] >

Maximum Output Power Headroom

(scaling 1%). Headroom required on

the laser output power. Range 0 to

25%. Default 10%.

<data[17]> Number of modulators

<data[18]> Bit0 – Cooling. 0 = Air, 1 = Water

Bit1 – Fiber Pierce. 0 = No, 1 = Yes

Bit2 – Point Diode. 0 = No, 1 = Yes

Bit3 – Fan Control. 0 = No, 1 = Yes

Bit4 – Solenoid Ctrl. 0 = No, 1 = Yes

Bit5 – Shutters. 0 = No, 1 = Yes

Bit6 – Modulators. 0 = No, 1 = Yes

Page 38: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

38

Receive Data Parameter

<data[19]MSB>

and

<data[19]LSB>

Fiber Pierce Gain Factor.

<data[20]MSB>

and

<data[20]LSB>

Laser Tray Temperature Upper Alarm

Limit. Range 0 to 100 OC. (0.1 OC)

<data[21]MSB>

and

<data[21]LSB>

Laser Tray Temperature Upper

Warning Limit. Range 0 to 100 OC.

(0.1 OC)

<data[22]MSB>

and

<data[22]LSB>

External Tray Temperature Upper

Alarm Limit. Range 0 to 100 OC. (0.1 OC)

<data[23]MSB>

and

<data[23]LSB>

External Tray Temperature Upper

Warning Limit. Range 0 to 100 OC.

(0.1 OC)

<data[24]> Demand threshold. Range 0 to 25% in

0.1% steps. Demand required before

laser output activated.

Table Total

= 79 bytes

For Control Zone Configuration

No configuration settings for the Control Zone

For Modulator Zone Configuration

Note - Used to read current modulator configuration when using the modulator interface

control topology. The presence of the modulator interface controllers is determined by the

Laser Style = High Power CW (defined in Table 20) (Command 0xF1, data[7] or Command

0x21, data[6]).

Receive Data Parameter

<data[3]MSB>

and

<data[3]LSB>

Diode High Temperature Alarm Limit.

Scaling 0.10C

Page 39: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

39

Receive Data Parameter

<data[4]MSB>

and

<data[4]LSB>

Diode High Temperature Warning

Limit. Scaling 0.10C

<data[5]MSB>

and

<data[5]LSB>

Diode Low Temperature Alarm Limit.

Scaling 0.10C

<data[6]MSB>

and

<data[6]LSB>

Diode Low Temperature Warning

Limit. Scaling 0.10C

<data[7]MSB>

and

<data[7]LSB>

Laser Tray High Temperature Alarm

Limit. Scaling 0.10C

<data[8]MSB>

and

<data[8]LSB>

Laser Tray High Temperature

Warning Limit. Scaling 0.10C

<data[9]MSB>

and

<data[9]LSB>

CMS High Temperature Alarm Limit.

Scaling 0.10C

<data[10]MSB>

and

<data[10]LSB>

CMS High Temperature Warning

Limit. Scaling 0.10C

<data[11]MSB>

and

<data[11]LSB>

Spare High Temperature Alarm

Limit. Scaling 0.10C

<data[12]MSB>

and

<data[12]LSB>

Spare High Temperature Warning

Limit. Scaling 0.10C

<data[13]MSB>

and

<data[13]LSB>

Spare Low Temperature Alarm Limit.

Scaling 0.10C

Page 40: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

40

Receive Data Parameter

<data[14]MSB>

and

<data[14]LSB>

Spare Low Temperature Warning

Limit. Scaling 0.10C

For Fiber Zone Configuration

No configuration settings for the Fiber Zone

For Machine Interface Zone Configuration

For function ID numbers, refer to the Tables in Sections 7.2.5 and 7.2.6

Receive Data Parameter

<data[3]> Digital Input 0 Function ID Number

<data[4]> Digital Input 1 Function ID Number

<data[5]> Digital Input 2 Function ID Number

<data[6]> Digital Input 3 Function ID Number

<data[7]> Digital Input 4 Function ID Number

<data[8]> Digital Input 5 Function ID Number

<data[9]> Digital Input 6 Function ID Number

<data[10]> Digital Output 0 Function ID Number

<data[11]> Digital Output 1 Function ID Number

<data[12]> Digital Output 2 Function ID Number

<data[13]> Digital Output 3 Function ID Number

<data[14]> Digital Output 4 Function ID Number

<data[15]> Digital Output 5 Function ID Number

<data[16]> Digital Output 6 Function ID Number

For Laser Module Zone

Receive Data Data

<data[3]> Module Type (See Table 11)

<data[4]> Data Length (Not including data prior to this index)

For Laser Module Zone - Module Type 1 (redPOWER Fibre Laser Module)

Receive Data Data

<data[5]> Bias Setting – 0 – 100% in 1% increments

Page 41: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

41

Receive Data Data

<data[6]MSB>

to

<data[6]LSB>

Thermistor 1 Alarm Limit – 0.1°C increments

<data[7]MSB>

to

<data[7]LSB>

Thermistor 1 Warning Limit – 0.1°C

increments

<data[8]MSB>

to

<data[8]LSB>

Thermistor 2 Alarm Limit – 0.1°C increments

<data[9]MSB>

to

<data[9]LSB>

Thermistor 2 Warning Limit – 0.1°C

increments

<data[10]MSB>

to

<data[10]LSB>

Thermistor 3 Alarm Limit – 0.1°C increments

<data[11]MSB>

to

<data[11]LSB>

Thermistor 3 Warning Limit – 0.1°C

increments

<data[12]MSB>

to

<data[12]LSB>

Thermistor 4 Alarm Limit – 0.1°C increments

<data[13]MSB>

to

<data[13]LSB>

Thermistor 4 Warning Limit – 0.1°C

increments

<data[14]MSB>

to

<data[14]LSB>

Thermistor 5 Alarm Limit – 0.1°C increments

<data[15]MSB>

to

<data[15]LSB>

Thermistor 5 Warning Limit – 0.1°C

increments

Page 42: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

42

Receive Data Data

<data[16]MSB>

to

<data[16]LSB>

Thermistor 6 Alarm Limit – 0.1°C increments

<data[17]MSB>

to

<data[17]LSB>

Thermistor 6 Warning Limit – 0.1°C

increments

<data[18]MSB>

to

<data[18]LSB>

Dew Point Alarm Limit – 0.1°C increments

<data[19]MSB>

to

<data[19]LSB>

Dew Point Warning Limit – 0.1°C increments

<data[20]MSB> Dew Point Enabled Status

0 = Disable, 1 = Enabled

Return Flag <flag[1]> See Table above.

7.5.3 Set Zone Default Configuration (Control Code 0x22)

This function sets the specified zone to the default configuration. A flag is returned to indicate

the success or failure of the command.

Transmit Data:

<IDNum><0x22><param[1]><param[2]> <chk[1]><chk[2]>

<param[1]> identifies the zone (See See Table 3).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

Receive Data:

<IDNum><0x22><data[1]><data[2]><flag[1]> <chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the requested zone (<param[1]>) and index

(<param[2]>) in the transmit packet so as to allow message identification.

Return Flag <flag[1]> See Table above.

Page 43: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

43

7.5.4 Read Version Number (Control Code 0x23)

This function reads the version number of the system element firmware. A flag is returned to

indicate the success or failure of the command.

Transmit Data:

<IDNum><0x23><param[1]><param[2]><param[3]><chk[1]><chk[2]>

<param[1]> identifies the zone (See See Table 3).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

<param[3]> is an index used to identify the device within the zone. These are defined in tables

3.2 through 3.7 above.

Receive Data:

<IDNum><0x23><data[1]><data[2]><data[3]><flag[1]><data[4]>

…<data[n]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the requested zone (<param[1]>), index (<param[2]>)

and device ID (<param[3]>) in the transmit packet so as to allow message identification.

A variable number of parameters, <data[4]> through <data[n]> are returned to form a string

describing the firmware version.

Return Flag <flag[1]> See Table above.

7.5.5 Set Laser Number (Control Code 0x24)

This function sets the Laser ID number used to identify the laser for all serial interfaces. A flag

is returned to indicate the success or failure of the command. Note - Once the ID has

changed, the laser will communicate using the new ID in the protocol packet.

Transmit Data:

<IDNum><0x24><param[1] ><chk[1]><chk[2]>

<param[1]> identifies the new laser ID number.

Receive Data:

<IDNum><0x24><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.5.6 Configure number of shutters / safety cards (Control Code 0x25)

This command enables the selected shutter(s) / safety card(s) fitted to the laser.

Page 44: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

44

Note: Safety card fitted configuration is dependant on the modulator interface being fitted as

defined in the configuration data retrieved using command 0x21. If modulators are fitted, and

shutters are not fitted, the laser is configured for a safety card. The configured number of

shutters / safety cards can be read using command 0x26.

Transmit Data:

<IDNum><0x25><param[1]MSB>…<param[1]LSB> <chk[1]><chk[2]>

<param[1]> is a 2 byte bitwise representation of the shutter configuration. Bit set represents

shutter enabled, bit clear represents shutter disabled. Bit 1 represents shutter 1. Bit 0 is

reserved and should be set to 0.

Receive Data:

<IDNum><0x25><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.5.7 Read number of configured shutters / safety card (Control Code 0x26)

This command reads the number of enabled shutters / safety cards fitted to the laser.

Note: Safety card fitted configuration is dependant on the modulator interface being fitted as

defined in the configuration data retrieved using command 0x21. If modulators are fitted, and

shutters are not fitted, the laser is configured for a safety card.

Transmit Data:

<IDNum><0x26><chk[1]><chk[2]>

Receive Data:

<IDNum><0x26><flag[1]> <data[1]MSB>…<data[1]LSB><chk[1]><chk[2]>

<data[1]> is a 2 byte bitwise representation of the shutter / safety card configuration. Bit set

represents shutter / safety card enabled, bit clear represents shutter / safety card disabled. Bit

1 represents shutter / safety card 1. Bit 0 is reserved.

Return Flag <flag[1]> See Table above.

7.5.8 Read Current Modulator Control Configuration (Control Code 0x27)

This command reads the number of current modulators fitted to the laser. The configuration

uses a bit wise structure where each bit represents a current modulator module.

Note - The presence of the modulator interface controllers is determined by a configuration bit

setting within the reserved configuration (Command 0x21, byte 18, bit 6).

Page 45: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

45

Transmit Data:

<IDNum><0x27><chk[1]><chk[2]>

Receive Data:

<IDNum><0x27><flag[1]> <data[1]MSB><data[1]LSB> <chk[1]><chk[2]>

<data[1]> is a 2 byte bitwise representation of the current modulator configuration. Bit set

represents current modulator module fitted. Bit clear represents current modulator module not

fitted. The address range of the modulator interface controllers starts at 1 therefore bit 0 of the

configuration parameter LSB is reserved as they would represent modulator interface module

0.

Return Flag <flag[1]> See Table above.

7.5.9 Read Trial Period Information (Control Code 0x28)

This command reads the information about the trial period.

Transmit Data:

<IDNum><0x28><param[1]><chk[1]><chk[2]>

<param[1]> is the required information as defined in the table below.

<param[1]> Required Information

0x00 All Trial period Information

0x01 – 0xFF Reserved for future use

Receive Data:

<IDNum><0x28><data[1]><flag[1]><data[2]><data[n]> <chk[1]><chk[2]>

<data[1]> is an echo of the required information from the request.

Receive Data Data

<data[2]> Set State:

Bit 0 – Time

Bit 1 - Time

Bit 2 – Reminder

Bit 3 – Expire

Bit 4 – Battery Backup

Bits 5 – 7 – Reserved.

<data[3]> Current Minutes

<data[4]> Current Hours

<data[5]> Current Date

Page 46: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

46

Receive Data Data

<data[6]> Current Month

<data[7]> Current Year

<data[8]> Reminder Date

<data[9]> Reminder Month

<data[10]> Reminder Year

<data[11]> Expire Date

<data[12]> Expire Month

<data[13]> Expire Year

Return Flag <flag[1]> See Table above.

7.5.10 Set Process Monitoring Configuration (Control Code 0x29)

This command sets the selected process monitoring configuration parameters.

Transmit Data:

<IDNum><0x29><param[1] ><param[2]>...<param[n]><chk[1]><chk[2]>

<param[1]> identifies the process monitoring configuration type.

<param[1]> Process Monitoring Configuration Type

0x00 Pierce Detect

0x01 – 0xFF Reserved for future use

<param[2]> to <param[n]> - contains the data for the selected process monitoring

configuration type. The number of elements depends on the configuration being set as defined

in the tables below.

For Pierce Detect - (0x00)

Transmit Data Pierce Detect Configuration

<param[2]MSB>

to

<param[2]LSB>

Pierce Detect Threshold (%) – Range 0 to

100% in 0.1% increments.

Compared against feedback signal.

Input channel range is 0 to 10V.

<param[3]MSB>

to

<param[3]LSB>

Sample Time (ms) – Range 1 to 20ms in

1ms increments.

Averaging sample time for feedback.

Arming time on rising edge and trigger

time on falling edge of feedback.

Page 47: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

47

Transmit Data Pierce Detect Configuration

<param[4]MSB>

to

<param[4]LSB>

Timeout Period (ms) – 1 to 5000ms in 1ms

increments.

Timeout starts at first rising demand edge

after the On state.

Receive Data:

<IDNum><0x29><data[1]><flag[1]><chk[1]><chk[2]>

<data[1]> Echo of <param[1]> the Process Monitoring Configuration Type

Return Flag <flag[1]> See Table above.

7.5.11 Read Process Monitoring Configuration (Control Code 0x2A)

This command reads the selected process monitoring configuration parameters.

Transmit Data:

<IDNum><0x2A><param[1] ><chk[1]><chk[2]>

<param[1]> identifies the process monitoring configuration type.

<param[1]> Process Monitoring Configuration Type

0x00 Pierce Detect

0x01 – 0xFF Reserved for future use

Receive Data:

<IDNum><0x29><data[1]><flag[1]><data[2]>... <data[n]><chk[1]><chk[2]>

<data[1]> Echo of <param[1]> the Process Monitoring Configuration Type

<data[2]> to <data[n]> - contains the data for the selected process monitoring configuration

type. The number of elements depends on the configuration being set as defined in the tables

below.

For Pierce Detect - (0x00)

Received Data Pierce Detect Configuration

<data[2]MSB>

to

<data[2]LSB>

Pierce Detect Threshold (%) – Range 0 to

100% in 0.1% increments.

Compared against feedback signal.

Input channel range is 0 to 10V.

Page 48: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

48

Received Data Pierce Detect Configuration

<data[3]MSB>

to

<data[3]LSB>

Sample Time (ms) – Range 1 to 20ms in

1ms increments.

Averaging sample time for feedback.

Arming time on rising edge and trigger

time on falling edge of feedback.

<data[4]MSB>

to

<data[4]LSB>

Timeout Period (ms) – 1 to 5000ms in 1ms

increments.

Timeout starts at first rising demand edge

after the On state.

Return Flag <flag[1]> See Table above.

7.6 Command Block 4 (Laser mode messages)

Allocated control code range 0x40 to 0x4F inclusive.

7.6.1 Set Control Mode (Control Code 0x42)

This command sets the control mode of the laser. A flag is returned to indicate the success or

failure of the command.

Transmit Data:

<IDNum><0x42><param[1]><chk[1]><chk[2]>

<param[1]> identifies the control source as defined in the table below.

<param[1]> Required Control Mode

0x00 Local

0x01 Remote (Machine Interface)

Receive Data:

<IDNum><0x42><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.6.2 Read Control Mode (Control Code 0x43)

This command reads the selected control mode of the laser. A flag is returned to indicate the

success or failure of the command.

Transmit Data:

<IDNum><0x43><chk[1]><chk[2]>

Page 49: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

49

Receive Data:

<IDNum><0x43><flag[1]><data[1]><chk[1]><chk[2]>

<data[1]> identifies the control source as defined in the table below.

<data[1]> Actual Control Mode

0x00 Local

0x01 Remote (Machine Interface)

Return Flag <flag[1]> See Table above.

7.6.3 Set Processing Mode (Control Code 0x44)

This command sets the processing mode. A flag is returned to indicate the success or failure

of the command.

Transmit Data:

<IDNum><0x44><param[1]><chk[1]><chk[2]>

<param[1]> is the required parameter mode as defined in the table below.

<param[1]> Required Processing Mode

0x00 Parameter Sets

0x01 Process Cycles

Receive Data:

<IDNum><0x44><flag[1]><chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

7.6.4 Read Processing Mode (Control Code 0x45)

This command reads the processing mode. A flag is returned to indicate the success or failure

of the command.

Transmit Data:

<IDNum><0x45><chk[1]><chk[2]>

Receive Data:

<IDNum><0x45><flag[1]><data[1]><chk[1]><chk[2]>

<data[1]> is the read parameter mode as defined in the table below.

<data[1]> Actual Processing Mode

0x00 Parameter Sets

0x01 Process Cycles

Return Flag <flag[1]> See Table above.

Page 50: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

50

7.7 Command Block 5 (Laser parameter

messages)

Allocated control code range 0x50 to 0x6F inclusive.

7.7.1 Read Zone Status (Control Code 0x50)

This command is used to read the status of the laser from the different zones. A flag is

returned to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x50><param[1]><param[2]><chk[1]><chk[2]>

<param[1]> identifies the zone (See See Table 3).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

Receive Data:

<IDNum><0x50><data[1]><data[2]><flag[1]><data[3]> …<data[n]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the requested zone (<param[1]>), index (<param[2]>)

to allow message identification.

A variable number of parameters, <data[3]> through <data[n]> are returned depending on the

requested zone status as defined in the tables below.

For System Zone - Note the system zone status retrieves a general overview of the laser's

status.

Receive Data Data

<data[1]> Laser State – 0 = Off

1 = Starting

2 = Standby

3 = On

<data[2]MSB>

to

<data[2]LSB>

(4 bytes)

Laser Power 0.1w

Page 51: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

51

Receive Data Data

<data[3]MSB>

to

<data[3]LSB>

(4 bytes)

Laser Energy[1] 0.001J

<data[4]MSB>

to

<data[4]LSB>

(4 bytes)

Laser Energy[2] 0.001J

<data[5]MSB>

to

<data[5]LSB>

Laser Tray Temperature (0.1 Deg C)

<data[6]> Active Parameter Set / Process Cycle

<data[7]> Active Set / Cycle Changed

0x00 = Not changed

0xFF = Changed

<data[8]> Burst Mode Output Setting –

0 = Normal Mode

1 = Timed Mode

2 = Shots Mode

<data[9]> Control Mode (Local / Remote)

<data[10]> Processing Mode (Param / Proc Cycs)

<data[11]MSB>

to

<data[11]LSB>

CMS Temperature (0.1 Deg C)

<data[12]MSB>

to

<data[12]LSB>

External Tray Temperature (0.1 Deg C)

Table total

= 22

For Control Zone

No status available from the Control Zone

Page 52: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

52

For Modulator Zone

No status available from the Modulator Zone

For Fiber Zone

No status available from the Fiber Zone

For Machine Interface Zone

No status available from the Machine Interface Zone

For Laser Module Zone

Receive Data Data

<data[3]> Module Type (See Table 11)

<data[4]> Data Length (Not including data prior to this index)

For Laser Module Zone - Module Type 0 (K1 Module)

Receive Data Data

<data[5]> Status Byte 1

Bit 0 – OEM EEPROM Read Error

Bit 1 – OEM EEPROM Write Error

Bit 2 – OEM Driver Read Error

Bit 3 – OEM Driver Write Error

Bit 4 – I2C Output Setup Error

Bit 5 – I2C Port A B Read Failure

Bit 6 – I2C Port C D Read Failure

Bit 7 – Spare

<data[6]> Status Byte 2

Bit 0 to 2 - Mode

Bit 3 – Enabled State

Bit 4 to 5 - Access Level

Bit 6 – RAL State

Bit 7 – Fault State

<data[7]> Status Byte 7

Bit 0 – RAL Request

Bit 1 to 7 - Spare

Page 53: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

53

Receive Data Data

<data[8]MSB>

to

<data[8]LSB>

Requested Power

<data[9]MSB>

to

<data[9]LSB>

Requested Simmer

<data[10]MSB>

to

<data[10]LSB>

Output Power

<data[11]> Digital Data 1

Bit 0 – RAL State

Bit 1 – Optical Fault

Bit 2 – Hardware Fault

Bit 3 – OEM Fault

Bit 4 – Laser On State

Bit 5 – Laser Safety Enabled

Bit 6 – Laser Active State

Bit 7 – BDO Fault State

<data[12]> Digital Data 2

Bit 0 – Shutdown Relay A State

Bit 1 – Shutdown Relay B State

Bit 2 – Laser Active State

Bit 3 – Pump Diode Supply State

Bit 4 – Back Reflection State

Bit 5 – Driver Fault State

Bit 6 – Safe On State

Bit 7 – Laser ready State

Page 54: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

54

Receive Data Data

<data[13]> Digital Data 3

Bit 0 – Amplifier Active State

Bit 1 – Seed Active State

Bit 2 – Fault Mux Interrupt

Bit 3 – ADC Converting

Bit 4 to 7 – Spare

<data[14]> Digital Data 4

Bit 0 – Back Reflection Fault

Bit 1 – Output Fault

Bit 2 – Ground Fault

Bit 3 – Scattered Light Fault 2

Bit 4 – Scattered Light Fault 1

Bit 5 – BDO Fault 1

Bit 6 – BDO Fault 2

Bit 7 – Cold Plate Temperature Fault

<data[15]> Digital Data 5

Bit 0 – LT_OVER_T

Bit 1 – LT_OSD FB

Bit 2 – LT_MS_OVER_T

Bit 3 – LT_OSD_WL

Bit 4 to 7 - Spare

<data[16]> Digital Data 6

Bit 0 – Pump Fault

Bit 1 – Unbalanced Driver Fault

Bit 2 – Over Power Fault

Bit 3 – Driver Condense Fault

Bit 4 – OEM Condense Fault

Bit 5 to 7 – Spare

Page 55: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

55

Receive Data Data

<data[17]> Digital Data 11

Bit 0 – OEM Digipot Enabled

Bit 1 – Driver Digipot Enabled

Bit 2 – OEM EEPROM Enabled

Bit 3 – RS485 Tx Enabled

Bit 4 – SPI DAC Enabled

Bit 5 – Clear Fault Asserted

Bit 6 – Forced Fault

Bit 7 – Laser On

<data[18]> Digital Data 12

Bit 0 – Amplifier On

Bit 1 – Seed On

Bit 2 – RAL On

Bit 3 – Mode B or C Selected

Bit 4 – SPI ADC Reset Active

Bit 5 – SPI ADC Power Down Active

Bit 6 – SPI ADC Conv Started

Bit 7 – SPI ADC Chip Select Active

<data[19]> Digital Data 13

Bit 0 – SPARE_ON

Bit 1 – TEST_I

Bit 2 – FORCE_FAULT

Bit 3 – MODE_EPOT

Bit 4 – PS_I2C_ON

Bit 5 – DELAY_OFF

Bit 6 – LPF_ON Driver Imbalance

Bit 7 – RAL_ON

Page 56: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

56

Receive Data Data

<data[20]> Digital Data 14

Bit 0 – FAULT_DIS

Bit 1 – SPARE6

Bit 2 – GND_LEAK_DIS

Bit 3 – PLUS100_ON

Bit 4 – P1_SAFE_DIS

Bit 5 – P2_SAFE_DIS

Bit 6 – P3_SAFE_DIS

Bit 7 – P4_SAFE_DIS

<data[21]> Digital Data 15

Bit 0 – AS_S0

Bit 1 – AS_S1

Bit 2 – AS_S2

Bit 3 – AS_EXA

Bit 4 – AS_EXB

Bit 5 – AS_EXC

Bit 6 – AS_EXG1

Bit 7 –AS_EXG2

<data[22]> Digital Data 16

Bit 0 – AMP1_A0

Bit 1 – AMP1_A1

Bit 2 – AMP2_A0

Bit 3 – AMP2_A1

Bit 4 – SEED_ACTIVE

Bit 5 to 7 - Spare

<data[23]> Digital Data 18

Bit 0 – Mode B or C Selected

Bit 1 to 7 – Spare

<data[24]> Digital Data 20

Bit 0 to 6 - Spare

Bit 7 – Test Output

Page 57: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

57

Receive Data Data

<data[25]MSB>

to

<data[25]LSB>

Heat Sink Temperature 1

<data[26]MSB>

to

<data[26]LSB>

Heat Sink Temperature 2

<data[27]MSB>

to

<data[27]LSB>

BDO Voltage

<data[28]MSB>

to

<data[28]LSB>

Velocity

<data[29]MSB>

to

<data[29]LSB>

Current 0

<data[30]MSB>

to

<data[30]LSB>

Current 1

<data[31]MSB>

to

<data[31]LSB>

Current 2

<data[32]MSB>

to

<data[32]LSB>

Current 3

<data[33]MSB>

to

<data[33]LSB>

Voltage 0

<data[34]MSB>

to

<data[34]LSB>

Voltage 1

Page 58: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

58

Receive Data Data

<data[35]MSB>

to

<data[35]LSB>

Voltage 2

<data[36]MSB>

to

<data[36]LSB>

Voltage 3

<data[37]MSB>

to

<data[37]LSB>

Mux

<data[38]MSB>

to

<data[38]LSB>

Output Power Monitor

<data[39]MSB>

to

<data[39]LSB>

Seed Power Monitor

<data[40]MSB>

to

<data[40]LSB>

RAL Power

<data[41]MSB>

to

<data[41]LSB>

Driver PCB Temperature

<data[42]MSB>

to

<data[42]LSB>

Mode Stripper Temperature 1

<data[43]MSB>

to

<data[43]LSB>

Mode Stripper Temperature 2

<data[44]MSB>

to

<data[44]LSB>

Mode Stripper Temperature 3

Page 59: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

59

For Laser Module Zone - Module Type 1 (redPOWER Fibre Laser Module)

Receive Data Data

<data[5]> Status Byte 0

– Status

Bit Definition

0 Emitting (Modulation =1 /no alarms)

1 Ready To Emit (Enable = 1/Modulation = 0/no

alarms)

2 Alarm State (1 = Present)

3 Warning State (1 = Present)

4 Modulation Input State

5 Set point source (1 = internal)

6 & 7 Spare

<data[6]> Status Byte 1 -

Status

Bit 0 to 4 – Status Value

Status Value Definition of Bits 0 to 4

0 Emitting (Modulation =1 /no alarms)

1 Idle (Enable = 1/Modulation = 0/no alarms)

2 Not armed (Enable = 0 / no alarms)

3 Enable Line Cycle Required

4 Thermister Alarm

5 Snap Switch Alarm

6 Memory Corruption Alarm

7 Aux Power Supply Voltage Low Alarm

8 Driver Power Disconnected During Emission Alarm

9 Fibre Failure Detected Alarm

10 BDO Open or BDO Snap Switch Triggered Alarm

11 BDO Short Circuit Alarm

12 Humidity Alarm

13 Internal Communications Failure

14 Unexpected Emission Detected

15 to 31 Reserved for future use

Page 60: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

60

Receive Data Data

Bit Definition

5 to 6 Access Level (See Table 3.10)

7 Reduced Power Mode Enabled State

<data[7]> Digital I/O –

Byte 0

Bit Definition

0 PLC Port In : Modulation

1 PLC Port In : Enable

2 PLC Port In : Clear Alarm

3 PLC Port In : Spare 1

4 PLC Port In : Spare 2

5 PLC Port In : Low Power Mode

6 uC GPIO In : Aux Power Good

7 uC GPIO In : Driver Power Present

<data[8]> Digital I/O –

Byte 1

Bit Definition

0 uC GPIO In : Snap Switch

1 uC GPIO In : BDO Monitoring Select

2 uC GPIO In : High Side Driver Monitor

3 uC GPIO In : Address Switch 1

4 uC GPIO In : Address Switch 2

5 uC GPIO In : Address Switch 3

6 uC GPIO In : Address Switch 4

7 uC GPIO In : Test Mode

<data[9] > Digital I/O –

Byte 2

Bit Definition

0 uC GPIO In : PDOF 1 Light Level Above Threshold

1 uC GPIO In : PDOF 2 Light Level Above Threshold

2 uC GPIO In : PDOFs Different

Page 61: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

61

Receive Data Data

3 uC GPIO In : Board Version 1

4 uC GPIO In : Board Version 2

5 uC GPIO In : Fan Monitor

6 uC GPIO In : Pilot Laser Requested

7 uC GPIO In : Negative Driver Supply On

<data[10]> Digital I/O –

Byte 3

Bit Definition

0 uC GPIO Out : Spare 1

1 uC GPIO Out : Spare 2

2 uC GPIO Out : Enable Drivers (Positive)

3 uC GPIO Out : Enable Drivers (Negative)

4 uC GPIO Out : Internal/External Set Point Select

5 uC GPIO Out : Enable Driver Regulators

6 uC GPIO Out : High Power Enable

7 Reserved for future use

5 uC GPIO Out : Status LED 1

6 uC GPIO Out : Status LED 2

7 uC GPIO Out : Status LED 3

<data[10]> Digital I/O –

Byte 4

Bit Definition

0 uC GPIO Out : Status LED 1

1 uC GPIO Out : Status LED 2

2 uC GPIO Out : Status LED 3

3 to 7 Reserved for future use

<data[12]MSB>

to

<data[12]LSB>

BDO Voltage –

0 – 4096 (raw

value)

Page 62: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

62

Receive Data Data

<data[13]MSB>

to

<data[13]LSB>

External Pulse

Set Point –

0.1%

increments

<data[14]MSB>

to

<data[14]LSB>

PDOF Monitor

1 – 0 – 4096

(raw value)

<data[15]MSB>

to

<data[15]LSB>

PDOF Monitor

2 – 0 – 4096

(raw value)

<data[16]MSB>

to

<data[16]LSB>

Humidity – 1%

increments

<data[17]MSB>

to

<data[17]LSB>

Dew Point –

0.1°C

increments

<data[18]MSB>

to

<data[18]LSB>

Fan Speed - %

0f rpm

<data[19]MSB>

to

<data[19]LSB>

Fan PWM

Value – 1%

increments

<data[20]MSB>

to

<data[20]LSB>

Thermistor 1 –

0.1°C

increments

<data[21]MSB>

to

<data[21]LSB>

Thermistor 2 –

0.1°C

increments

<data[22]MSB>

to

<data[22]LSB>

Thermistor 3 –

0.1°C

increments

Page 63: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

63

Receive Data Data

<data[23]MSB>

to

<data[23]LSB>

Thermistor 4 –

0.1°C

increments

<data[24]MSB>

to

<data[24]LSB>

Thermistor 5 –

0.1°C

increments

<data[25]MSB>

to

<data[25]LSB>

Thermistor 6 –

0.1°C

increments

Return Flag <flag1> See Table above.

7.7.2 Set Discrete Zone Parameter (Control Code 0x51)

This command sets values for parameters that have discrete states. A flag is returned to

indicate the success or failure of the command.

Transmit Data:

<IDNum><0x51><param[1]><param[2]> <param[3]><param[4]><chk[1]><chk[2]>

<param[1]> identifies the zone (See See Table 3).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

<param[3]> is the parameter to be adjusted as defined in the tables below.

For System Zone

<param[3]> Discrete

0x01 Primary Request for “This”

Communication Channel (Set Only)

0x02 Enable / Disable Primary Serial Lock

for “This” Communication Channel

For Control Zone

No discrete zone parameters available from the Control Zone

For Modulator Zone

Page 64: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

64

<param[3]> Discrete

0x01 Modulator Enable / Disable State

For Fiber Zone

<param[3]> Discrete

0x01 Alignment laser Timeout Disable State

For Machine Interface Zone

No discrete zone parameters available from the Machine Interface Zone

For Bulk Power Supply Zone

<param[3]> Discrete

0x01 PSU Enable State

<param[4]> defines the required state as defined in the table below.

<param[4]> Required State

0x00 Off/Lo

0xFF On/Hi

Receive Data:

<IDNum><0x51><data[1]><data[2]><data[3]><flag[1]><chk[1]><chk[2]>

<data[1]> <data[2]> and <data[3]> are echoes of the zone (<param[1]>), the index

(<param[2]>) and the discrete parameters being adjusted (<param[3]>) in the transmit packet

so as to allow message identification.

Return Flag <flag[1]> See Table above.

7.7.3 Read Discrete Zone Parameter (Control Code 0x52)

This command reads the values of parameters that have discrete states. A flag is returned to

indicate the success or failure of the command.

Transmit Data:

<IDNum><0x52><param[1]><param[2]><param[3]><chk[1]><chk[2]>

<param[1]> identifies the zone (See See Table 3).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

<param[3]> is the parameter to be adjusted as defined in the tables below.

For System Zone

Page 65: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

65

<param[3]> Discrete

0x01 Primary State for “This”

Communication Channel.

0x02 Primary Serial Lock Status

For Control Zone

No discrete zone parameters available from the Control Zone

For Modulator Zone

<param[3]> Discrete

0x01 Modulator Enable / Disable State

For Fiber Zone

<param[3]> Discrete

0x01 Alignment laser Timeout Disable State

For Machine Interface Zone

No discrete zone parameters available from the Machine Interface Zone

For Bulk Power Supply Zone

<param[3]> Discrete

0x01 PSU Enable State

Receive Data:

<IDNum><0x52><data[1]><data[2]><data[3]><flag[1]><data[4]><chk[1]><chk[2]>

<data[1]> <data[2]> and <data[3]> are echoes of the zone (<param[1]>), the index

(<param[2]>) and the discrete parameters being adjusted (<param[3]>) in the transmit packet

so as to allow message identification.

Return Flag <flag[1]> See Table above.

<data[4]> is the read parameter state.

<data[4]> Actual State

0x00 Off/Lo

0xFF On/Hi

Return Flag <flag[1]> See Table above.

7.7.4 Set Variable Zone Parameter (Control Code 0x53)

This command sets the value of a variable parameter. A flag is returned to indicate the

success or failure of the command.

Page 66: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

66

Transmit Data:

<IDNum><0x53><param[1]><param[2]><param[3]><param[4]MSB>

…<param[4]LSB><chk[1]><chk[2]>

<param[1]> identifies the zone (See See Table 3).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

<param[3]> is the parameter to be adjusted as defined in the tables below.

For System Zone

<Param[3]> Parameter Scaling

0x01 Active Parameter Set Number Range 1 to 50.

0x02 TBD

0x03 Active Process Cycle Number Range 1 to 50.

0x04 Burst Output Mode Setting 0 = Normal Mode

1 = Timed Mode

2 = Shots Mode

0x05 Burst Mode Duration 1 To 10000ms for

timed mode.

1 To 10000 Pulses for

shots mode.

0 = Laser will not

respond to on

command.

0x06 Reserved.

For Control Zone

No variable zone parameters available from the System Zone

For Modulator Zone

No variable zone parameters available from the Modulator Zone

For Fiber Zone

No variable zone parameters available from the Fiber Zone

For Machine Interface Zone

No variable zone parameters available from the Machine Interface Zone

For Laser Module Zone

Page 67: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

67

<Param[3]> Parameter Scaling

0x01 Demand Bias Setting – Only available on Module

Type 1 (Red Fox Module)

0 – 100% in 1%

increments

<param[4]MSB> through <param[4]LSB> is the long integer parameter demand value held in

the four bytes of data.

Receive Data:

<IDNum><0x53><data[1]><data[2]><data[3]><flag[1]><chk[1]><chk[2]>

<data[1]> <data[2]> and <data[3]> are echoes of the zone (<param[1]>, index (<param[2]>)

and parameter to be adjusted (<param[3]>) in the transmit packet so as to allow message

identification.

Return Flag <flag[1]> See Table above.

7.7.5 Read Variable Zone Parameter (Control Code 0x54)

This command reads a variable parameter value. A flag is returned to indicate the success or

failure of the command.

Transmit Data:

<IDNum><0x54><param[1]><param[2]><param[3]><chk[1]><chk[2]>

<param[1]> identifies the zone (See See Table 3).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

<param[3]> is the parameter to be adjusted as defined in the tables below.

For System Zone

<Param[3]> Parameter

0x01 Active Parameter Set Number (0 returned when

laser in safe mode).

0x02 Diode Life

0x03 Active Process Cycle Number (0 returned when no

Process Cycle is selected).

0x04 Burst Output Mode Setting

0x05 Burst Mode Duration

0x06 Burst Mode Elapsed Duration

For Control Zone

Page 68: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

68

No variable zone parameters available from the Control Zone

For Modulator Zone

No variable zone parameters available from the Modulator Zone

For Fiber Zone

No variable zone parameters available from the Fiber Zone

For Machine Interface Zone

<Param[3]> Parameter

0x01 External Power Demand (Scaling 0.1%).

Receive Data:

<IDNum><0x54><data[1]><data[2]><data[3]><flag[1]><data[4]MSB>

…<data[4]LSB><chk[1]><chk[2]>

<data[1]> <data[2]> and <data[3]> are echoes of the zone (<param[1]>), index (<param[2]>)

and the parameter to be read (<param[3]>) in the transmit packet so as to allow message

identification.

<data[4]MSB> through <data[4]LSB> is the read parameter value, returned as four bytes

representing a long integer.

Return Flag <flag[1]> See Table above.

7.7.6 Set Library Shape (Control Code 0x56)

This command sets a specified Library shape. A flag is returned to indicate the success or

failure of the command. The parameters for setting library shape depend on the type of shape

being set, see Table 2 for shape identification.

Transmit Data:

<IDNum><0x56><param[1]><param[2]> … <param[n]><chk[1]><chk[2]>

<param[1]> identifies the requested library shape number. See Table 2 above for details of

library shape number allocations.

<param[2]> … <param[n]> contains the data for the library shape. The number of elements

depends on the library shape being set as defined in the tables below.

CW Library shape (0x00)

Transmit Data Parameter

<param[2]>

to

<param[18]>

16 byte library shape identification

string.

Single Sector Pulse Library shape (0x01)

Page 69: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

69

Transmit Data Parameter

<param[2]>

to

<param[18]>

16 byte library shape identification

string.

Fiber Pierce Library shape (0x02)

Transmit Data Parameter

<param[2]>

to

<param[18]>

16 byte library shape identification

string.

Modulated sine wave (0x03)

Transmit Data Parameter

<param[2]>

to

<param[18]>

16 byte library shape identification

string.

User-defined Library shapes (0x0A to 0x3B)

Transmit Data Parameter

<param[2]>

to

<param[18]>

16 byte library shape identification

string.

<param[19]MSB>

and

<param[19]LSB>

Segment End Point [0]. Range 0 ->

100% in steps of 0.1%. The end

point is with respect to the

parameter set peak power.

<param[20]MSB>

and

<param[20]LSB>

Segment Duration [0]. Range 0 ->

65535. Duration value of 0

produces a step input.

<param[N]MSB>

and

<param[N]LSB>

Segment End Point[n]

Max n up to 999

Total segments up to 1000.

<param[N+1]MSB>

and

<param[N+1]LSB>

Segment Duration [n]

Max n up to 999

Total segments up to 1000.

Page 70: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

70

Receive Data:

<IDNum><0x56><data[1]><flag[1]<chk[1]><chk[2]>

<data[1]> is an echo of the requested library shape (<param[1]>) in the transmit packet so as

to allow message identification.

Return Flag <flag[1]> See Table above.

Notes on User-defined Library shapes

1. The segment durations work together to form a ratio of the associated parameter set

width setting.

2. Segment Duration (s) =

3. Parameter Set Width (s) / Accumulated Shape Segment Durations

4. The shape segment duration can be resolved down to 1us in line with the minimum

parameter set width. Its maximum value can represent 1 second in line with the

maximum parameter set width.

5. The maximum accumulated segment duration for a shape must not exceed 1 * 106.

Given the message resolution for segment duration, it takes several segments to

achieve this.

7.7.7 Read Library Shape (Control Code 0x57)

This command reads a specified Library shape. A flag is returned to indicate the success or

failure of the command.

Transmit Data:

<IDNum><0x57><param[1]><chk[1]><chk[2]>

<param[1]> identifies the requested library shape number. See Table 2 for details of library

shape number allocations.

Receive Data:

<IDNum><0x57><data[1]><flag[1]><data[2]> … <data[n]><chk[1]><chk[2]>

<data[1]> is an echo of the requested library shape (<param[1]>) in the transmit packet so as

to allow message identification.

Return Flag <flag[1]> See Table above.

<data[2]> to <data[n]> contains the data from the requested the library shape. The number of

elements depends on the library shape being set as defined in the tables below.

CW Library shape (0x00)

Receive Data Parameter

Page 71: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

71

Receive Data Parameter

<data[2]>

to

<data[18]>

16 byte library shape identification

string.

Single Sector Pulse Library Shape (0x01)

Receive Data Parameter

<data[2]>

to

<data[18]>

16 byte library shape identification

string.

Fiber Pierce Library Shape (0x02)

Receive Data Parameter

<data[2]>

to

<data[18]>

16 byte library shape identification

string.

Modulated sine wave

Receive Data Parameter

<data[2]>

to

<data[18]>

16 byte library shape identification

string.

User-defined Library shapes (0x0A to 0x3B)

Receive Data Parameter

<data[2]>

to

<data[18]>

16 byte library shape identification

string.

<data[19]MSB>

and

<data[19]LSB>

Segment End Point [0]. Range 0 ->

100% in steps of 0.1%. The end

point is with respect to the

parameter set peak power.

<data[20]MSB>

and

<data[20]LSB>

Segment Duration [0]. Range 0 ->

65535. Duration value of 0

produces a step input.

Page 72: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

72

Receive Data Parameter

<data[N]MSB>

and

<data[N]LSB>

Segment End Point[n]

Max n up to 999

Total segments up to 1000

<data[N+1]MSB>

and

<data[N+1]LSB>

Segment Duration [n]

Max n up to 999

Total segments up to 1000

7.7.8 Set Parameter Set (Control Code 0x5A)

This command Sets a specified parameter set. A flag is returned to indicate the success or

failure of the command.

Transmit Data:

<IDNum><0x5A><param[1]><param[2]> … <param[40]><chk[1]><chk[2]>

<param[1]> identifies the requested parameter set number. Range is 1 to 50.

<param[2]> through <param[40]> is the parameter set data as defined in the table below.

Transmit Data Parameter

<param[2]>

to

<param[18]>

16 byte parameter set identification

string.

<param[19]MSB>

and

<param [19]LSB>

Library Shape Number used by this

parameter set. See Table 2 for

Shape library definitions.

<param[20]MSB>

and

<param[20]LSB>

Mean Power Target (0.1w)

<param[21]MSB>

and

<param[21]LSB>

Peak Power Target (0.1w)

<param[22]MSB>

and

<param[22]LSB>

Energy Target (0.001J)

Page 73: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

73

Transmit Data Parameter

<param[23]MSB>

and

<param[23]LSB>

Mean Current Demand (0.01A)

<param[24]MSB>

and

<param[24]LSB>

Peak Current Demand (0.01A)

<param[25]MSB>

and

<param[25]LSB>

(4 Bytes)

Width (0.000001s)

<param[26]MSB>

and

<param[26]LSB>

(4 bytes)

Frequency (0.01Hz)

<param[27]MSB>

and

<param[27]LSB>

(4 bytes)

Ramp Up Time (0.01s)

<param[28]MSB>

and

<param[28]LSB>

(4 bytes)

Ramp Down Time (0.01s)

<param[29]MSB>

and

<param[29]LSB>

Peak Proportional Gain

<param[30]MSB>

and

<param[30]LSB>

Peak Integral Gain

<param[31]MSB>

and

<param[31]LSB>

Peak Derivative Gain

<param[32]MSB>

and

<param[32]LSB>

Mean Proportional Gain

Page 74: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

74

Transmit Data Parameter

<param[33]MSB>

and

<param[33]LSB>

Mean Integral Gain

<param[34]MSB>

and

<param[34]LSB>

Mean Derivative Gain

<param[35]MSB>

and

<param[35]LSB>

High Power Trip (0.1w)

<param[36]MSB>

and

<param[36]LSB>

Low Power Trip (0.1w)

<param[37]> Miscellaneous Byte 0

Bit 0 – EPC Enable

Bit 1 – External Trigger Source

Bit 2 – Closed Loop Enable

Bit 3 – Closed Loop Mode

Bit 4 – EPC Mode

Bit 5 – Trigger Mode

<param[38]> Miscellaneous Byte 1

TBD

<param[39]MSB>

To

<param[39]LSB>

(4 bytes)

Parameter Set Change, Ramp

Time (0.01s)

Receive Data:

<IDNum><0x5A><data[1]><flag[1]<chk[1]><chk[2]>

<data[1]> is an echo of the requested parameter set (<param[1]>) in the transmit packet so as

to allow message identification.

Return Flag <flag[1]> See Table above.

Page 75: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

75

7.7.9 Read Parameter Set (Control Code 0x5B)

This command Reads a specified parameter set. A flag is returned to indicate the success or

failure of the command.

Transmit Data:

<IDNum><0x5B><param[1]><chk[1]><chk[2]>

<param[1]> identifies the requested parameter set number. Range is 0 to 50, where

parameter set 0 are the safe mode parameters, and parameter sets 1 to 50 are user defined.

Receive Data:

<IDNum><0x5B><data[1]><flag[1]><data[2]>…<data[40]><chk[1]><chk[2]>

<data[1]> is an echo of the requested parameter set (<param[1]>) in the transmit packet so as

to allow message identification.

<data[2]> through <data[40]> is the requested parameter set as defined in the table below.

Receive Data Parameter

<data[2]>

to

<data[18]>

16 byte parameter set identification

string.

<data[19]MSB>

and

<data[19]LSB>

Library Shape Number used by this

parameter set. See Table 2 for

Shape library definitions.

<data[20]MSB>

and

<data[20]LSB>

Mean Power Target (0.1w)

<data[21]MSB>

and

<data[21]LSB>

Peak Power Target (0.1w)

<data[22]MSB>

and

<data[22]LSB>

Energy Target (0.001J)

<data[23]MSB>

and

<data[23]LSB>

Mean Current Demand (0.01A)

<data[24]MSB>

and

<data[24]LSB>

Peak Current Demand (0.01A)

Page 76: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

76

Receive Data Parameter

<data[25]MSB>

and

<data[25]LSB>

(4 Bytes)

Width (0.000001s)

<data[26]MSB>

and

<data[26]LSB>

(4 bytes)

Frequency (0.01Hz)

<data[27]MSB>

and

<data[27]LSB>

(4 bytes)

Ramp Up Time (0.01s)

<data[28]MSB>

and

<data[28]LSB>

(4 bytes)

Ramp Down Time (0.01s)

<data[29]MSB>

and

<data[29]LSB>

Peak Proportional Gain

<data[30]MSB>

and

<data[30]LSB>

Peak Integral Gain

<data[31]MSB>

and

<data[31]LSB>

Peak Derivative Gain

<data[32]MSB>

and

<data[32]LSB>

Mean Proportional Gain

<data[33]MSB>

and

<data[33]LSB>

Mean Integral Gain

<data[34]MSB>

and

<data[34]LSB>

Mean Derivative Gain

<data[35]MSB>

and

<data[35]LSB>

High Power Trip (0.1w)

Page 77: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

77

Receive Data Parameter

<data[36]MSB>

and

<data[36]LSB>

Low Power Trip (0.1w)

<data[37]> Miscellaneous Byte 0

Bit 0 – EPC Enable

Bit 1 – External Trigger Source

Bit 2 – Closed Loop Enable

Bit 3 – Closed Loop Mode

Bit 4 – EPC Mode

Bit 5 – Trigger Mode

<data[38]> Miscellaneous Byte 1

TBD

<data[39]MSB>

to

<data[39]LSB>

(4 bytes)

Parameter Set Change, Ramp

Time (0.01s)

Return Flag <flag[1]> See Table above.

7.7.10 Read Library Shape Association (Control Code 0x5C)

This command returns the library shapes that are associated with each parameter set (Range

1 to 50). A flag is returned to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x5C><chk[1]><chk[2]>

Receive Data:

<IDNum><0x5C><flag[1]><data[1]>…<data[50]> <chk[1]><chk[2]>

<data[1]> through <data[50]> is a list of library shapes (as defined in Table 2), each entry in

the response corresponds to a parameter set. For example, if response data[3] contains 0x10,

parameter set 3 is using library shape 0x10.

Return Flag <flag[1]> See Table above.

Page 78: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

78

7.7.11 Set Parameter Set Variable (Control Code 0x5D)

This command sets a parameter within a referenced parameter set. A flag is returned to

indicate the success or failure of the command.

Transmit Data:

<IDNum><0x5D><param[1]><param[2]><param[3]MSB><param[3]><param[3]>

<param[3]LSB><chk[1]><chk[2]>

<param[1]> identifies the requested parameter set number. Range is 1 to 50.

<param[2]> identifies the parameter to be adjusted as defined in the table below.

<Param[2]> Parameter Scaling

0x01 Library Shape See Table 2

0x02 Mean Power Target 0.1w

0x03 Peak Power Target 0.1w

0x04 Energy Target 0.001J

0x05 Mean Current Demand 0.01A

0x06 Peak Current Demand 0.01A

0x07 Width 0.000001s

0x08 Frequency 0.01Hz

0x09 Ramp Up Time 0.01s

0x0A Ramp Down Time 0.01s

0x0B Peak Proportional Gain 0 to 1000

0x0C Peak Integral Gain 0 to 1000

0x0D Peak Derivative Gain 0 to 1000

0x0E Mean Proportional Gain 0 to 1000

0x0F Mean Integral Gain 0 to 1000

0x10 Mean Derivative Gain 0 to 1000

0x11 High Power Trip 0.1w

0x12 Low Power Trip 0.1w

0x13 Parameter Set Change, Ramp Time 0.01s

<param[3]> is the new four byte value to assign to the referenced parameter.

Receive Data:

<IDNum><0x5D><data[1]><data[2]><flag[1]><chk[1]><chk[2]>

Page 79: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

79

<data[1]> and <data[2]> are echoes of the selected parameter set (<param[1]>) and the

referenced variable (<param[2]>) in the transmit packet so as to allow message identification.

Return Flag <flag[1]> See Table above.

7.7.12 Read Parameter Set Variable (Control Code 0x5E)

This command reads a parameter within a referenced parameter set. A flag is returned to

indicate the success or failure of the command.

Transmit Data:

<IDNum><0x5E><param[1]><param[2]><flag[1]><chk[1]><chk[2]>

<param[1]> identifies the requested parameter set number. Range is 1 to 50.

<param[2]> identifies the parameter to be read as defined in the table below.

<Param[2]> Parameter Scaling

0x01 Library Shape See Table 2

0x02 Mean Power Target 0.1w

0x03 Peak Power Target 0.1w

0x04 Energy Target 0.001J

0x05 Mean Current Demand 0.01A

0x06 Peak Current Demand 0.01A

0x07 Width 0.000001s

0x08 Frequency 0.01Hz

0x09 Ramp Up Time 0.01s

0x0A Ramp Down Time 0.01s

0x0B Peak Proportional Gain 0 to 1000

0x0C Peak Integral Gain 0 to 1000

0x0D Peak Derivative Gain 0 to 1000

0x0E Mean Proportional Gain 0 to 1000

0x0F Mean Integral Gain 0 to 1000

0x10 Mean Derivative Gain 0 to 1000

0x11 High Power Trip 0.1w

0x12 Low Power Trip 0.1w

0x13 Parameter Set Change, Ramp Time 0.01s

Page 80: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

80

Receive Data:

<IDNum><0x5E><data[1]><data[2]><flag[1]><data[3]MSB><data[3]><

data[3]><data[3]LSB><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the selected parameter set (<param[1]>) and the

referenced variable (<param[2]>) in the transmit packet so as to allow message identification.

<data[3]> is the value of the requested parameter set variable contained in four bytes.

Return Flag <flag[1]> See Table above.

7.7.13 Set Parameter Set Discrete (Control Code 0x5F)

This command sets a parameter discrete value within a referenced parameter set. A flag is

returned to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x5F><param[1]><param[2]><param[3]><chk[1]><chk[2]>

<param[1]> identifies the requested parameter set number. Range is 1 to 50.

<param[2]> identifies the discrete parameter to be adjusted as defined in the table below.

<Param[2]> Parameter Setting

0x01 EPC Enable On/Off

0x02 External Trigger Source Enable/Disable

0x03 Closed Loop Enable/Disable

0x04 Closed Loop Mode Mean/Peak

0x05 EPC Mode Absolute/Relative

0x06 Trigger Mode Gate/Edge

<param[3]> is the state value to assign to the referenced discrete parameter as defined in the

table below.

<param[3]> Actual State

0x00 Off/Disable/Peak/Relative/Edge

0xFF On/Enable/Mean/Absolute/Gate

Receive Data:

<IDNum><0x5F><data[1]><data[2]><flag[1]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the selected parameter set (<param[1]>) and the

referenced discrete variable (<param[2]>) in the transmit packet so as to allow message

identification.

Return Flag <flag[1]> See Table above.

Page 81: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

81

7.7.14 Read Parameter Set Discrete (Control Code 0x60)

This command reads a parameter discrete value within a referenced parameter set. A flag is

returned to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x60><param[1]><param[2]> <chk[1]><chk[2]>

<param[1]> identifies the requested parameter set number. Range is 1 to 50.

<param[2]> identifies the discrete parameter to be read as defined in the table below.

<Param[2]> Parameter Setting

0x01 EPC Enable On/Off

0x02 External Trigger Source Enable/Disable

0x03 Closed Loop Enable/Disable

0x04 Closed Loop Mode Mean/Peak

0x05 EPC Mode Absolute/Relative

0x06 Trigger Mode Gate/Edge

Receive Data:

<IDNum><0x60><data[1]><data[2]><flag[1]><data[3]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the selected parameter set (<param[1]>) and the

referenced discrete variable (<param[2]>) in the transmit packet so as to allow message

identification.

<data[3]> is the state value to assign to the referenced discrete parameter as defined in the

table below.

<data[3]> Actual State

0x00 Off/Disable/Peak/Relative/Edge

0xFF On/Enable/Mean/Absolute/Gate

Return Flag <flag[1]> See Table above.

7.7.15 Read Shape Library Status (Control Code 0x61)

This command reads the shape library status information. A flag is returned to indicate the

success or failure of the command.

Transmit Data:

<IDNum><0x61><chk[1]><chk[2]>

Page 82: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

82

Receive Data:

<IDNum><0x61><flag[1]><data[1]MSB><data[1]LSB><data[2]> … <data[n]>

<chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

<data[1]> is the number of free library shape segments remaining. Range 0 to 1000.

<data[2]> to <data[n]> is a variable length list of the active user defined library shapes. If there

are no active user defined library shapes, <data[2]> to <data[n]> will not be returned. The

contents of <data[2]> to <data[n]> range from 10 to 59, and n depends on the number of

active user defined library. Refer to Table 2.1 for shape number definitions.

7.7.16 Delete User Defined Library Shape (Control Code 0x62)

This command deletes a specified user defined library shape to increase available segment

memory. A flag is returned to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x62><param[1]><chk[1]><chk[2]>

<param[1]> identifies the shape to be deleted. See Table 2.1 above.

Receive Data:

<IDNum><0x62><data[1]><flag[1]><chk[1]><chk[2]>

<data[1]> is an echo of the selected shape number (<param[1]>).

Return Flag <flag[1]> See Table above.

7.7.17 Set Process Cycle (Control Code 0x63)

This command sets a specified Process Cycle. A flag is returned to indicate the success or

failure of the command.

Transmit Data:

<IDNum><0x63><param[1]><param[2]> … <param[18]><param[19]>

<param[20]><param[21]MSB><param[21]LSB><param[n]><param[n+3]>

<chk[1]><chk[2]>

<param[1]> identifies the Process Cycle number to be set.

<param[2]> … <param[18]> contains a 16 character user defined Process Cycle identification

string.

<param[19]> … <param[21]> contains the data for the first Process Cycle step, as shown in

the table below.

<param[n]> … <param[n+3]> contains the data for any additional steps required as a

repeating block of data equivalent the contents of <param[19]> to <param[21]>. The number

of elements depends on the Process Cycle steps required.

Page 83: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

83

Transmit Data Parameter

<param[2]>

to

<param[18]>

16 byte Process Cycle identification

string.

<param[19]> Parameter Set number to be used

during step execution. Range 1 to

50

<param[20]> Miscellaneous Data

Bit 0 – Mode

Duration = 0

Shots = 1

Bit 1 – Transition type

Automatic = 0

Manual = 1

Bits 2 to 7 Undefined

<param[21]MSB>

and

<param[21]LSB>

Duration or Shot Count depending

on the mode setting in param[20].

Duration Range = 1 to 10000ms.

0 = Infinite duration (Manual

transition type only)

Shot Count Range = 1 to 10000.

0 = Infinite shots (Manual transition

type only)

<param[N]>

to

<param[N+3]>

Repeating step data format from

param[19] to param[21] for the

number of steps required.

Receive Data:

<IDNum><0x63><data[1]><flag[1]<chk[1]><chk[2]>

<data[1]> is an echo of the requested Process Cycle (<param[1]>) in the transmit packet so as

to allow message identification.

Return Flag <flag[1]> See Table above.

Page 84: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

84

7.7.18 Read Process Cycle (Control Code 0x64)

This command returns a specified Process Cycle. A flag is returned to indicate the success or

failure of the command.

Transmit Data:

<IDNum><0x64><param[1]><chk[1]><chk[2]>

<param[1]> identifies the requested Process Cycle number.

Receive Data:

<IDNum><0x64><data[1]><flag[1]><data[2]> … <data[18]> <data[19]> …

<data[21]MSB><data[21]LSB><data[n]> … <data[n+3]> <chk[1]><chk[2]>

<data[1]> is an echo of the requested Process Cycle (<param[1]>) in the transmit packet so as

to allow message identification.

Return Flag <flag[1]> See Table above.

<data[2]> … <data[18]> contains a 16 character user defined Process Cycle identification

string.

<data[19]> … <data[21]> contains the data for the first Process Cycle step, as shown in the

table below.

<data[n]> … <data[n+3]> contains the data for any additional steps as a repeating block of

data equivalent the contents of <data[19]> to <data[21]>. The length of the message depends

on the number of steps within the Process Cycle.

Receive Data Parameter

<data[2]>

to

<data[18]>

16 byte Process Cycle identification

string.

<data[19]> Parameter Set number to be used

during step execution. Range 1 to

50

Page 85: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

85

Receive Data Parameter

<data[20]> Miscellaneous Data

Bit 0 – Mode

Duration = 0

Shots = 1

Bit 1 – Transition type

Automatic = 0

Manual = 1

Bits 2 to 7 Undefined

<data[21]MSB>

and

<data[21]LSB>

Duration or Shot Count depending

on the mode setting in param[20].

Duration Range = 1 to 10000ms.

0 = Infinite duration (Manual

transition type only)

Shot Count Range = 1 to 10000.

0 = Infinite shots (Manual transition

type only)

<data[N]>

to

<data[N+3]>

Repeating step data format from

data[19] to data[21] for the number

of steps returned.

7.7.19 Read Process Cycle Library Status (Control Code 0x67)

This command reads the Process Cycle library status information. A flag is returned to

indicate the success or failure of the command.

Transmit Data:

<IDNum><0x67><chk[1]><chk[2]>

Receive Data:

<IDNum><0x67><flag[1]><data[1]MSB><data[1]LSB><data[2]> … <data[n]>

<chk[1]><chk[2]>

Return Flag <flag[1]> See Table above.

<data[1]> is the number of free Process Cycle steps remaining. Range 0 to 1000.

<data[2]> to <data[n]> is a variable length list of the active Process Cycles. If there are no

active Process Cycles, <data[2]> to <data[n]> will not be returned. The contents of <data[2]>

Page 86: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

86

to <data[n]> range from 0x01 to 0x32, and n depends on the number of active Process

Cycles.

7.7.20 Delete Process Cycle (Control Code 0x68)

This command deletes a specified Process Cycle to increase available step memory. A flag is

returned to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x68><param[1]><chk[1]><chk[2]>

<param[1]> identifies the Process Cycle to be deleted.

Receive Data:

<IDNum><0x68><data[1]><flag[1]><chk[1]><chk[2]>

<data[1]> is an echo of the selected Process Cycle (<param[1]>).

Return Flag <flag[1]> See Table above.

7.7.21 Read Zone Status EX (Control Code 0x69)

This command is used to read the status of the laser from the different zones. It is an

extension of Read Zone Status (command 0x50). It includes the data contained in Read Zone

Status as well as the extra information. A data length field has also bee included in the

response header information to allow for future expansion of this message. A flag is returned

to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x69><param[1]><param[2]><chk[1]><chk[2]>

<param[1]> identifies the zone (See Table 3.1 Above).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

Receive Data:

<IDNum><0x69><data[1]><data[2]><data[3]><flag[1]><data[4]> …<data[n]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the requested zone (<param[1]>), index (<param[2]>)

to allow message identification.

<data[3]> is the length of the response. The number represents the amount of useable data

following the flag byte. It does not include the 2 checksum bytes.

A variable number of parameters, <data[4]> through <data[n]> are returned depending on the

requested zone status as defined in the tables below.

For System Zone - Note the system zone status retrieves a general overview of the laser's

status.

Page 87: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

87

Receive Data Data

<data[4]> Laser State – 0 = Off

1 = Starting

2 = Standby

3 = On

<data[5]MSB>

to

<data[5]LSB>

(4 bytes)

Laser Power 0.1w

<data[6]MSB>

to

<data[6]LSB>

(4 bytes)

Laser Energy[1] 0.001J

<data[7]MSB>

to

<data[7]LSB>

(4 bytes)

Laser Energy[2] 0.001J

<data[8]MSB>

to

<data[8]LSB>

Laser Tray Temperature (0.1 Deg C)

<data[9]> Active Parameter Set

<data[10]> Active Set / Cycle Changed

0x00 = Not changed

0xFF = Changed

<data[11]> Burst Mode Output Setting –

0 = Normal Mode

1 = Timed Mode

2 = Shots Mode

<data[12]> Control Mode (Local / Remote)

<data[13]> Processing Mode (Param / Proc Cycs)

Page 88: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

88

Receive Data Data

<data[14]MSB>

to

<data[14]LSB>

CMS Temperature (0.1 Deg C)

<data[15]MSB>

to

<data[15]LSB>

External Tray Temperature (0.1 Deg C)

<data[16]> Active Process Cycle. Range 0 to 50.

(0 = No Process Cycle Selected)

<data[17]> Process Cycle Active State

0x00 = Stopped

0xFF = Active

<data[18]> Process Cycle Wait State

0x00 = Not Waiting

0xFF = Waiting for Step Command

<data[19]MSB>

to

<data[19]LSB>

Process Cycle Active Step Number. Range –

0 to Number of steps in active process cycle.

Absolute max = 1000.

<data[20]MSB>

to

<data[20]LSB>

Burst Mode Elapsed Duration

<data[21]> Fan speed demand

<data[22]> Bit 0 – Solenoid demand.

Bit 1 – Safe Mode Recovery Execution State

Bits 2 to 7 – Unallocated.

Page 89: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

89

Receive Data Data

<data[23]> Primary Communication Channel Status

Bit 0 – Primary Lock Status

Bit 1 – Primary State for “This” Connection

Bit 2 – Serial Port 1

Bit 3 – Serial Port 2

Bit 4 – USB

Bit 5 – Ethernet

Bits 6 to 7 Unallocated

<data[24]MSB>

to

<data[24]LSB>

(4 bytes)

Last Recorded Primary IP address.

Table total

= 38

For Control Zone

No status available from the Control Zone

For Modulator Zone

No status available from the Modulator Zone

For Fiber Zone

No status available from the Fiber Zone

For Machine Interface Zone

No status available from the Machine Interface Zone

Return Flag <flag1> See Table above.

7.7.22 Read Timers (Control Code 0x6A)

This command is used to read timers within the laser.

Transmit Data:

<IDNum><0x6A><param[1]><param[2]><chk[1]><chk[2]>

<param[1]> identifies the zone (See Table 3.1 Above).

Page 90: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

90

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

Receive Data:

<IDNum><0x6A><data[1]><data[2]><flag[1]><data[3]> …<data[n]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the requested zone (<param[1]>), index (<param[2]>)

to allow message identification.

A variable number of parameters, <data[3]> through <data[n]> are returned depending on the

requested zone timers as defined in the tables below.

For System Zone - The system zone timers give an overview of the accumulated time the

laser has been operating.

The system zone timers provide the following information:

System On - Accumulated time the laser control system has been powered on.

Laser On - Accumulated time the laser has been in the On state.

Diode On - Accumulated time the diodes have been on.

The diode On timer accumulates time and current demand information. The demand range is

divided up into segments, and the time the diodes are run within each segment is

accumulated for that particular segment.

Receive Data Data

<data[3]MSB>

to

<data[3]LSB>

(4 bytes)

System On Time – Accumulated time the

laser control system has been powered on.

(Scaling – 1 minute)

<data[4]MSB>

to

<data[4]LSB>

(4 bytes)

Laser On Time – Accumulated time the laser

has been in the On state.

(Scaling – 1 minute)

<data[5]MSB>

to

<data[5]LSB>

Current Demand Segment Resolution for

Diode On Timer – Current demand range for

each segment of the Diode On timer.

(Scaling – 0.01A)

Page 91: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

91

Receive Data Data

<data[6]MSB>

to

<data[6]LSB>

Number of segments to be returned – Number

of segments with accumulated Diode On

Time. Starting from zero demand up to

(<data[5]> resolution) X (<data[6]> segments)

current demand in 0.01A.

<data[7]MSB>

to

<data[7]LSB>

(4 bytes)

Diode On Time[0] – First current demand

range of <data[6]> specified by <data[5]>

resolution setting.

(Scaling – 1 second)

<data[n]MSB>

to

<data[n]LSB>

(4 bytes)

Diode On Time[n].

n of <data[6]> current demand range with

segment <data[5]> resolution setting.

Max n = (<data[6]> - 1) + 7.

(Scaling – 1 second)

For Control Zone

No timers available from the Control Zone

For Modulator Zone

Note - Used to read current modulator time when using the modulator interface control

topology. The presence of the modulator interface controllers is determined by the Laser Style

= High Power CW (defined in Table 7) (Command 0xF1, data[7] or Command 0x21, data[6]).

Receive Data Data

<data[3]MSB>

and

<data[3]LSB>

4 bytes

Diode Run Time. Setting for all current modulators on interface

controller.

Minutes.

For Fiber Zone

No timers available from the Fiber Zone

For Machine Interface Zone

No timers available from the Machine Interface Zone

For Laser Module Zone

Page 92: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

92

Receive Data Data

<data[3]> Module Type (See Table 3.9 above)

<data[4]> Data Length (Not including data prior to this index)

For Laser Module Zone - Module Type 1 redPOWER Fibre Laser Module)

Receive Data Data

<data[5]MSB>

to

<data[5]LSB>

4 Bytes

On Time

<data[6]MSB>

to

<data[6]LSB>

4 Bytes

Emit Time

Return Flag <flag1> See Table above.

7.7.23 Read Shutter / Safety Card Diagnostic Status (Control Code 0x6B)

This command is used to read the diagnostic status of any shutter(s) / safety card(s) if fitted. A

flag is returned to indicate the success or failure of the command.

Note: Safety card fitted configuration is dependent on the modulator interface being fitted as

defined in the configuration data retrieved using command 0x21. If modulators are fitted, and

shutters are not fitted, the laser is configured for a safety card. The configured number of

shutters / safety cards can be read using command 0x26.

Transmit Data:

<IDNum><0x6B><param[1]><chk[1]><chk[2]>

<param[1]> is an index representing the shutter / safety card number to be read. E.g. a 1 will

request the data from shutter / safety card 1.

Receive Data:

<IDNum><0x6B><data[1]><flag[1]><data[2]><data[3]>…<data[n]> <chk[1]><chk[2]>

<data[1]> is an echo of the requested shutter / safety card (<param[1]>).

Return Flag <flag[1]> See Table above.

Page 93: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

93

<data[2]> is the number of shutter / safety card diagnostic status blocks included in the

response message.

<data[3]> to <data[n]> is the remaining message data in multiples of the diagnostic status

block show in the table below:-

For Shutter Card

Receive Data Parameter

<data[3]> Shutter Number – The shutter the

following data block belongs too.

<data[4][0]>

To

<data[4][3]>

Shutter Operation Count – Number of

shutter cycles performed since the

count reset. Count can be reset using

command 0x18.

<data[5]> Fault Code

<data[6]> Bits 0 – 3 – Address switch value

Bits 4 – 7 – Reserved.

<data[7]> Bit 0 – Enable state

Bit 1 – Remote state

Bit 2 – Remote Input State

Bit 3 – Shutter Request State

Bit 4 – Shutter Command State

Bit 5 – Fiber Supply State

Bit 6 – Alignment laser State

Bit 7 – Shutter Temperature State

<data[8]> Bit 0 – Datum Warning

Bit 1 – Datum Position Suspect

Bit 2 – No Rotation Detected

Bit 3 – Reverse Rotation

Bit 4 – Transmission Suspect

Bit 5 – FCMS OPTO Warning

Bit 6 – Fiber Temp OPTO Warning

Bit 7 – Unallocated

Page 94: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

94

Receive Data Parameter

<data[9]> Bit 0 – Closed High Switch State

Bit 1 – Closed Low Switch State

Bit 2 – Open Switch State

Bit 3 – Shutter Temperature State

Bit 4 – FCMS State

Bit 5 – Fiber Temperature State

Bit 6 – External Switch 1 State

Bit 7 – External Switch 2 State

<data[10]> Bit 0 – Relay Open Alarm

Bit 1 – Shutter Feedback Alarm

Bit 2 – External Switch Supply Alarm

Bit 3 – Shutter Open Alarm

Bit 4 – Relay Closed Alarm

Bit 5 to 7 – Alarm Code Bit 0 to 2

<data[11]> Bit 0 – Ext Switch Sequence Warning

Bit 1 – Shutter Encoder Warning

Bit 2 – Shutter Closed Warning

Bit 3 – Shutter Temperature Warning

Bit 4 – Fiber Temperature Warning

Bit 5 – FCMS Warning

Bit 6 – External Switch Warning

Bit 7 – Unallocated

<data[12]> Bit 0 – Shutter Position OK In

Bit 1 – Shutter Position OK Out

Bit 2 – Other Relay OK

Bit 3 – Close Relay

Bit 4 – Relay Close

Bit 5 – Relay OK

Bit 6 – Shutter open Request BDI In

Bit 7 – Shutter open Request BDI Out

Page 95: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

95

Receive Data Parameter

<data[13]> Bit 0 – Ext Switch Sequence Reset

Bit 1 – BDI Reset

Bit 2 – Counter Reset

Bit 3 – Motor Run

Bit 4 – Shutter Open Request

Bit 5 – Open Shutter

Bit 6 – Alignment laser Request

Bit 7 – Alignment laser Drive

For safety card (Single board FL style)

Receive Data Parameter

<data[3]> Safety Card Number – The safety

card the following data block belongs

too.

<data[4]> Fault Code

<data[5]> Bit 0 – Enable state

Bit 1 – Remote state

Bit 2 – Remote Input State

Bit 3 – Not Allocated

Bits 4 to 7 Address Switch Value

<data[6]> Bit 0 – Relay Closed

Bit 1 – Other Channel Safe

Bit 2 – PIC Supply Enable

Bit 3 – External Supply Enable

Bit 4 – Supply Active 1

Bit 5 – Supply Active 2

Bit 6 – Supply Active 3

Bit 7 – Supply Active 4

Page 96: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

96

Receive Data Parameter

<data[7]> Bit 0 – Supply Active 5

Bit 1 – Supply Active 6

Bit 2 – Ext Switch 1 State

Bit 3 – Ext Switch 2 State

Bit 4 – FCMS State

Bit 5 – Fibre Temperature State

Bit 6 – Dump Temperature State

Bit 7 – Turn Block Temperature State

<data[8]> Bit 0 – Relay Closed Alarm

Bit 1 – Relay Open Alarm

Bit 2 – Supply 1 Feedback Alarm

Bit 3 – Supply 1 High Alarm

Bit 4 – Supply 2 Feedback Alarm

Bit 5 – Supply 2 High Alarm

Bit 6 – Supply 3 Feedback Alarm

Bit 7 – Supply 3 High Alarm

<data[9]> Bit 0 – External Switch Alarm

Bit 1 – External Switch Supply Alarm

Bit 2 – FCMS Alarm

Bit 3 – Dump Temperature Alarm

Bit 4 – TurnBlock Temperature Alarm

Bits 5 – 7 Not Allocated

<data[10]> Bit 0 – Close Relay

Bit 1 – Channel Safe

Bit 2 – Secondary Supply Enable

Bit 3 – Enable Rack 1

Bit 4 – Enable Rack 2

Bit 5 – Enable Rack 3

Bit 6 – Disable PSU’s

Bit 7 - Dump 1

Page 97: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

97

Receive Data Parameter

<data[11]> Bit 0 – Dump 2

Bit 1 – Dump 3

Bit 2 – FCMS State

Bit 3 – Supply Active

Bit 4 – Supply Inactive

Bits 5 – 7 – Not Allocated

<data[12]> Bit 0 – Supply 1 Low Warning

Bit 1 – Supply 2 Low Warning

Bit 2 – Supply 3 Low Warning

Bit 3 – Ext Switch Warning

Bit 4 – Ext Switch Sequence Warning

Bit 5 – FCMS Warning

Bit 6 – Fibre Temperature Warning

Bit 7 – Not Allocated

<data[13]> Bit 0 – AC 1 State

Bit 1 – DC 1 State

Bit 2 – Temperature 1 State

Bit 3 – Fan 1 State

Bit 4 – AC 2 State

Bit 5 – DC 2 State

Bit 6 – Temperature 2 State

Bit 7 – Fan 2 State

<data[14]> Bit 0 – AC 3 State

Bit 1 – DC 3 State

Bit 2 – Temperature 3 State

Bit 3 – Fan 3 State

Bit 4 – AC 4 State

Bit 5 – DC 4 State

Bit 6 – Temperature 4 State

Bit 7 – Fan 4 State

Page 98: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

98

Receive Data Parameter

<data[15]> Bit 0 – AC 5 State

Bit 1 – DC 5 State

Bit 2 – Temperature 5 State

Bit 3 – Fan 5 State

Bit 4 – AC 6 State

Bit 5 – DC 6 State

Bit 6 – Temperature 6 State

Bit 7 – Fan 6 State

<data[16]> Bit 0 – AC 7 State

Bit 1 – DC 7 State

Bit 2 – Temperature 7 State

Bit 3 – Fan 7 State

Bit 4 – AC 8 State

Bit 5 – DC 8 State

Bit 6 – Temperature 8 State

Bit 7 – Fan 8 State

<data[17]> Bit 0 – AC 9 State

Bit 1 – DC 9 State

Bit 2 – Temperature 9 State

Bit 3 – Fan 9 State

Bit 4 – PSU 1 State

Bit 5 – PSU 2 State

Bits 6 – 7 – Not Allocated

For safety card - (Multiple board solution redPOWER style)

Receive Data Parameter

<data[3]> Safety Card Number – The safety

card the following data block belongs

too.

<data[4]> Fault Code

BDI Card PIC Status

Page 99: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

99

Receive Data Parameter

<data[5]> Bit 0 – 3 – Address Switch Inputs

Bit 4 – 6 – Link Inputs

Bit 7 – Not Allocated

<data[6]> Bit 0 – RSP1 Power OK

Bit 1 – RSP2 Power OK

Bit 2 – RSP3 Power OK

Bit 3 – PSU Ready Threshold

Bit 4 – 7 – Not Allocated

<data[7]> Bit 0 – PIC PSU On Demand

Bit 1 – PIC Local/Remote Demand

Bit 2 – BDI Card Enabled Status

Bit 3 – Not Allocated

Bit 4 – 7 – PIC LED Status

<data[8]> Power Supply Voltage

(1V Resolution)

<data[9]> Heat-sink Temperature 1

(1 Degree Resolution)

<data[10]> Heat-sink Temperature 2

(1 Degree Resolution)

<data[11]> Heat-sink Temperature 3

(1 Degree Resolution)

<data[12]> Heat-sink Temperature 4

(1 Degree Resolution)

CPLD A Status

Page 100: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

10

0

Receive Data Parameter

<data[13]> Bit 0 - PSU Safe Threshold 2 (Active

Low)

Bit 1 – PSU Safe Threshold 1 (Active

High)

Bit 2 – Remote/Local Command (from

PIC)

Bit 3 – PSU On Input (from

marshalling card)

Bit 4 – PSU On Input (from PIC)

Bit 5 – Relay NC Contact Status

Bit 6 – Door Switch 2 (Active Low)

Bit 7 – Door Switch 1 (Active High)

<data[14]> Bit 0 – PSU Off Fault Status

Bit 1 – Door Switch Fault Status

Bit 2 – Relay Fault Status

Bit 3 – Relay Enable Output

Bit 4 – Dump Enable Output

Bit 5 – PSU Safe Output

Bit 6 – PSU Enable Output

Bit 7 – Fault Output

<data[15]> Bit 0 – 2 – CPLD Version

Bit 3 – 4 – Reserved

Bit 5 - Door Closed

Bit 6 –Door PSU Fault

Bit 7 – PSU On Fault

<data[16]> Reserved

CPLD B Status

Page 101: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

10

1

Receive Data Parameter

<data[17]> Bit 0 - PSU Safe Threshold 2 (Active

Low)

Bit 1 – PSU Safe Threshold 1 (Active

High)

Bit 2 – Remote/Local Command (from

PIC)

Bit 3 – PSU On Input (from

marshalling card)

Bit 4 – PSU On Input (from PIC)

Bit 5 – Relay NC Contact Status

Bit 6 – Door Switch 2 (Active Low)

Bit 7 – Door Switch 1 (Active High)

<data[18]> Bit 0 – PSU Off Fault Status

Bit 1 – Door Switch Fault Status

Bit 2 – Relay Fault Status

Bit 3 – Relay Enable Output

Bit 4 – Dump Enable Output

Bit 5 – PSU Safe Output

Bit 6 – PSU Enable Output

Bit 7 – Fault Output

<data[19]> Bit 0 – 2 – CPLD Version

Bit 3 – 4 – Reserved

Bit 5 - Door Closed

Bit 6 –Door PSU Fault

Bit 7 – PSU On Fault

<data[20]> Reserved

7.7.24 Read modulator diagnostic status (Control Code 0x6C)

This command is used to read the diagnostic status of any current modulator module if fitted.

The presence of the modulator interface controller module is determined by a configuration bit

setting within the reserved configuration (Command 0x21, byte 18, bit 6). A flag is returned to

indicate the success or failure of the command.

Page 102: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

10

2

Transmit Data:

<IDNum><0x6C><param[1]><chk[1]><chk[2]>

<param[1]> is an index representing the current modulator module to be read. E.g. a 1 will

request the data from current modulator module 1.

Receive Data:

<IDNum><0x6C><data[1]><flag[1]><data[2]><data[3]>…<data[n]> <chk[1]><chk[2]>

<data[1]> is an echo of the requested current modulator (<param[1]>).

Return Flag <flag[1]> See Table above.

<data[2]> is the number of current modulator diagnostic status blocks included in the response

message.

<data[3]> to <data[n]> is the remaining message data in multiples of the diagnostic status

block show in the table below:-

Receive Data Parameter

<data[3]> Current Modulator Number

<data[4][0]>

To

<data[4][3]>

Diode Run Time – The number of

minutes the diodes have been

operational since the reset. Count can

be reset using a SPI configuration

utility.

<data[5]> Fault Code

<data[6]MSB>

to

<data[6]LSB>

4 bytes

Power Monitor A Feedback

Scaling TBD

<data[7]MSB>

to

<data[7]LSB>

4 bytes

Power Monitor B Feedback

Scaling TBD

<data[8]MSB>

to

<data[8]LSB>

Diode Tray Temperature.

Range 0 to 100 OC. (0.1 OC)

Page 103: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

10

3

Receive Data Parameter

<data[9]MSB>

to

<data[9]LSB>

Laser Tray Temperature.

Range 0 to 100 OC. (0.1 OC)

<data[10]MSB>

to

<data[10]LSB>

CMS Temperature.

Range 0 to 100 OC. (0.1 OC)

<data[11]MSB>

to

<data[11]LSB>

Spare Temperature.

Range 0 to 100 OC. (0.1 OC)

<data[12]MSB>

to

<data[12]LSB>

Current Demand.

Scaling TBD

<data[13]MSB>

to

<data[13]LSB>

Supply Monitor 1

Scaling TBD

<data[14]MSB>

to

<data[14]LSB>

Supply Monitor 2

Scaling TBD

<data[15]MSB>

to

<data[15]LSB>

FCMS Voltage

Scaling TBD

<data[16]> Bits 0 – 3 – Address switch value

Bits 4 – 7 – Reserved

Page 104: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

10

4

Receive Data Parameter

<data[17]> Bit 0 – Enable state

Bit 1 – Back Reflection Protection

Fault

Bit 2 – Burn Back Fault

Bit 3 – Process Tool Over

Temperature

Bit 4 – Alignment laser State

Bit 5 – Burn Back Disabled State

Bit 6 to 7 – Reserved

<data[18]> Bit 0 – Diode Over Temperature 1

Bit 1 – Diode Fault 1

Bit 2 – Power Switch A Enable

Bit 3 – Power Switch B Enable

Bit 4 – Power Switch State

Bits 5 – 7 Reserved

<data[19]> Bit 0 – Diode Over Temperature 2

Bit 1 – Diode Fault 2

Bit 2 – Power Switch A Enable

Bit 3 – Power Switch B Enable

Bit 4 – Power Switch State

Bits 5 – 7 – Reserved

<data[20]> Warning status byte 1

<data[21]> Warning status byte 2

For a Modulator Protection Card:

Receive Data Parameter

<data[3]> Current Modulator Number

<data[4][0]>

To

<data[4][3]>

Diode Run Time – The number of

minutes the diodes have been

operational since the reset. Count can

be reset using a SPI configuration

utility.

<data[5]> Fault Code

Page 105: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

10

5

Receive Data Parameter

<data[6]MSB>

to

<data[6]LSB>

Power Monitor A Feedback

Scaling TBD

<data[7]MSB>

to

<data[7]LSB>

Power Monitor B Feedback

Scaling TBD

<data[8]MSB>

to

<data[8]LSB>

Power Monitor C Feedback

Scaling TBD

<data[9]MSB>

to

<data[9]LSB>

Combined Modulator Current.

Scaling TBD

<data[10]>

H Sensor Temperature.

Range 0 to 100 OC. (1 OC)

<data[11]> Humidity

Range 0 to 100%. (1%)

<data[12]MSB>

to

<data[12]LSB>

Laser Tray Temperature.

Range 0 to 100 OC. (0.1 OC)

<data[13]MSB>

to

<data[13]LSB>

CMS Temperature.

Range 0 to 100 OC. (0.1 OC)

<data[14]MSB>

to

<data[14]LSB>

Spare Temperature.

Range 0 to 100 OC. (0.1 OC)

<data[15]MSB>

to

<data[15]LSB>

Current Demand.

Scaling TBD

<data[16]MSB>

to

<data[16]LSB>

Supply Monitor 1

Scaling TBD

Page 106: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

10

6

Receive Data Parameter

<data[17]MSB>

to

<data[17]LSB>

Supply Monitor 2

Scaling TBD

<data[18]MSB>

to

<data[18]LSB>

Reference Voltage

Scaling TBD

<data[19]> Bits 0 – 3 – Address switch value

Bits 4 – 7 – Link Inputs

<data[20]> Bit 0 – Enable state

Bit 1 – Enable Input State

Bit 2 – Mod Fault State

Bit 3 – Fault Output

Bit 4 – Allow Enable State

Bit 5 – BB Protection State

Bit 6 to 7 – Reserved

<data[21]> Reserved

<data[22]> Bit 0 – 4 – Reserved

Bit 5 – Cooler Request (MPC V1A2

and above)

Bit 6 – MPC ID (1 = MPC, 0 = MIC)

Bit 7 – S/W Enable State

<data[23]> Warning status byte 1

Bit 0 – CMS High Temperature

Bit 1 – CMS Low Temperature

Bit 2 – Tray High Temperature

Bit 3 – Tray Low Temperature

Bit 4 – Spare High Temperature

Bit 5 – Spare Low Temperature

<data[24]> Warning status byte 2

Bit 7 – Dew Point (MPC Only)

Page 107: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

10

7

The following data element is only supported by the relevant embedded software. If the control

card doesn’t support this data, the response will end here. If the Modulator Protection Card

doesn’t support this data, a 0 value will be returned.

Receive Data Parameter

<data[25]MSB>

to

<data[25]LSB>

Calculated Dew Point Temperature.

Scaling 0.1°C.

7.8 Command Block 6 (Laser IO messages)

Allocated control code range 0x70 to 0x7F inclusive.

7.8.1 Read Zone Digital IO Block (Control Code 0x71)

This command directly reads the values of all digital IO blocks from the specified zone. The

number of 8 bit blocks to be read is variable depending on the requested IO block. A flag is

returned to indicate the success or failure of the command.

Transmit Data:

<IDNum><0x71><param[1]><param[2]><param[3]><chk[1]><chk[2]>

<param[1]> identifies the zone (See Table 3.1 Above).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

<param[3]> is the IO block to be read as defined in the tables below.

For System Zone

No IO block available from the System Zone

For Control Zone

No IO block available from the Control Zone

For Modulator Zone

No IO block available from the Modulator Zone

For Fiber Zone

No IO block available from the Fiber Zone

For Machine Interface Zone

<Param[3]> Requested IO Block

0x01 Digital I/O (7 bits In, 7 bits out)

Page 108: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

10

8

Receive Data:

<IDNum><0x71><data[1]><data[2]><data[3]><flag[1]><data[4]>

…<data[n]><chk[1]><chk[2]>

<data[1]> <data[2]> and <data[3]> are echoes of the zone (<param[1]>) index (<param[2]>)

and IO block <param[3]> in the transmit packet so as to allow message identification.

<data[4]> through <data[n]> is the requested IO points presented in 8 bit blocks.

<data[3]> Requested IO

Block

0x01 Digital I/O

<data[4]> 7 bits Digital Inputs

<data[5]> 7 bits Digital Outputs

(MSB = Machine Interface Power Status)

Note - for block 1, refer to Read Zone Configuration (Control Code 0x21) for functions of

digital I/O.

For details of the IO blocks, refer to the laser documentation.

Return Flag <flag[1]> See Table above.

7.8.2 Read Laser Interlock Status (Control Code 0x74)

This command reads the status of the laser interlocks. It groups all of the interlocks together

rather than breaking them down into zones, so that they can be read using a single message.

Due to the cross monitoring of the interlock control, the status can be read from 2 devices

within the control system. The status from both of these devices should mirror each other. The

response data from this command returns the status information from both devices.

Transmit Data:

<IDNum><0x74<chk[1]><chk[2]>

Receive Data:

<IDNum><0x74> <flag[1]><data[1]> …<data[16]><chk[1]><chk[2]>

<data[1]> through <data[8]> is the read interlock data as shown in the table below.

Page 109: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

10

9

Receive Data Parameter

<data[1]>

Device 1 Interlock Alarms :-

Bit 0 – Estop Fault (Generated when breaking and

making only 1 input of the EStop circuit)

Bit 1 – External Interlock Fault (Generated when breaking

and making only 1 input of the External Interlock circuit)

Bit 2 – Work Chamber Doors Fault (Generated when

breaking and making only 1 input of the Work Chamber

Doors circuit)

Bit 3 – EStop Out Alarm (Generated when breaking any

of the EStop inputs)

Bit 4 – External Interlock Alarm (Generated when

breaking any of the External Interlock inputs)

Bit 5 – Switch Alarm (Generated when the modulator

supply switch is in the incorrect state)

Bit 6 – Interlock Fault (Generated for all interlock faults

and alarm conditions)

<data[2]>

Device 1 Interlock Warnings :-

Bit 0 – EStop Contact Warning (Generated when only 1

input of the EStop circuit has been broken)

Bit 1 – External Interlock Contact Warning (Generated

when only 1 input of the External Interlock circuit has

been broken)

Bit 2 – Work Chamber Doors Contact Warning

(Generated when only 1 input of the Work Chamber

Doors circuit has been broken)

Bit 3 – Work Chamber Doors Warning (Generated when

Work Chamber Door circuit is broken)

<data[3]>

Device 1 Modulator Alarms :-

Bit 0 – Modulator 1 Fault

Bit 1 – Modulator 2 Fault

Bit 2 – Modulator 1 Over Temperature

Bit 3 – Modulator 2 Over Temperature

Page 110: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

11

0

Receive Data Parameter

<data[4]>

Device 1 Status :-

Bit 0 – FCMS State

Bit 1 – Fiber Over Temperature

Bit 2 – Key Switch Status

<data[5]> Device 1 EStop Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – EStop state (Set if inputs are not in the correct

state for EStop OK)

Bit 3 – Estop Reset Input State

Bit 4 – Estop Reset Status

<data[6]> Device 1 External Interlock Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – External Interlock State (Set if inputs are not in the

correct state for External Interlock OK)

Page 111: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

11

1

Receive Data Parameter

<data[7]> Device 1 Work Chamber Doors Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – Work Chamber Doors state (Set if inputs are not in

the correct state for Work Chamber Doors OK)

<data[8]> Device 1 Modulator Switch Feedback :-

Bit 0 – FET A Feedback Modulator 1

Bit 1 – FET B Feedback Modulator 1

Bit 2 – FET A Feedback Modulator 2

Bit 3 – FET B Feedback Modulator 2

Bit 4 – Supply Switch Feedback Modulator 1

Bit 5 – Supply Switch Feedback Modulator 2

Bit 6 – Power Switch Modulator 1

Bit 7 – Power Switch Modulator 2

<data[9]>

Device 2 Interlock Alarms :-

Bit 0 – Estop Fault (Generated when breaking and

making only 1 input of the EStop circuit)

Bit 1 – External Interlock Fault (Generated when breaking

and making only 1 input of the External Interlock circuit)

Bit 2 – Work Chamber Doors Fault (Generated when

breaking and making only 1 input of the Work Chamber

Doors circuit)

Bit 3 – EStop Out Alarm (Generated when breaking any

of the EStop inputs)

Bit 4 – External Interlock Alarm (Generated when

breaking any of the External Interlock inputs)

Bit 5 – Switch Alarm (Generated when the modulator

supply switch is in the incorrect state)

Bit 6 – Interlock Fault (Generated for all interlock faults

and alarm conditions)

Page 112: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

11

2

Receive Data Parameter

<data[10]>

Device 2 Interlock Warnings :-

Bit 0 – EStop Contact Warning (Generated when only 1

input of the EStop circuit has been broken)

Bit 1 – External Interlock Contact Warning (Generated

when only 1 input of the External Interlock circuit has

been broken)

Bit 2 – Work Chamber Doors Contact Warning

(Generated when only 1 input of the Work Chamber

Doors circuit has been broken)

Bit 3 – Work Chamber Doors Warning (Generated when

Work Chamber Door circuit is broken)

<data[11]> Device 2 Modulator Alarms :-

Bit 0 – Modulator 1 Fault

Bit 1 – Modulator 2 Fault

Bit 2 – Modulator 1 Over Temperature

Bit 3 – Modulator 2 Over Temperature

<data[12]> Device 2 Status :-

Bit 0 – FCMS State

Bit 1 – Fiber Over Temperature

Bit 2 – Key Switch Status

<data[13]> Device 2 EStop Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – EStop state (Set if inputs are not in the correct

state for EStop OK)

Bit 3 – Estop Reset Input State

Bit 4 – Estop Reset Status

Page 113: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

11

3

Receive Data Parameter

<data[14> Device 2 External Interlock Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – External Interlock State (Set if inputs are not in the

correct state for External Interlock OK)

<data[15]> Device 2 Work Chamber Doors Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – Work Chamber Doors state (Set if inputs are not in

the correct state for Work Chamber Doors OK)

<data[16]> Device 2 Modulator Switch Feedback :-

Bit 0 – FET A Feedback Modulator 1

Bit 1 – FET B Feedback Modulator 1

Bit 2 – FET A Feedback Modulator 2

Bit 3 – FET B Feedback Modulator 2

Bit 4 – Supply Switch Feedback Modulator 1

Bit 5 – Supply Switch Feedback Modulator 2

Bit 6 – Power Switch Modulator 1

Bit 7 – Power Switch Modulator 2

Return Flag <flag[1]> See Table above.

Page 114: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

11

4

7.8.3 Read HPFL interlock status (Control Code 0x75)

This command is used to read the High Power Fibre Laser (HPFL) interlock status

information.

Transmit Data:

<IDNum><0x75<chk[1]><chk[2]>

Receive Data:

<IDNum><0x75> <flag[1]><data[1]><data[2]><chk[1]><chk[2]>

data[1] to data[n] are defined in the table below.

Receive Data Definition

<data[1]> Bit 0 – EStop Channel 1 (1 = OK)

Bit 1 – EStop Channel 2

Bit 2 – External Interlock Channel 1

Bit 3 – External Interlock Channel 2

Bit 4 – BDI Interlock Channel 1

Bit 5 – BDI Interlock Channel 2

Bit 6 – Keyswitch

Bit 7 – Cooler Interlock (HPFL1) /

Keyswitch Channel 2 (HPFL2

onward)

Page 115: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

11

5

Receive Data Definition

<data[2]> Bit 0 – Modulator State (1 = OK)

Bit 1 – Safety Relay State (1 = OK)

Bit 2 – Safety Relay Error (1 = Fault)

Bit 3 – FCMS State (1 = OK)

Bit 4 – Fibre Over Temp (HPFL1) /

Cooler Interlock (HPFL2 onward) (1 =

OK)

Bit 5 – Estop Reset State (1 = OK)

The following 2 bits are used for

redPOWER style laser. Otherwise

they are spare.

Bit 6 – Neutral Loss Interlock State

(1=OK)

Bit 7 – Aircon Interlock State (1=OK)

The following additional interlock information is not returned for all HPFL laser models.

Response length checks can be used to ensure the correct amount of data is processed.

For K1.1 laser style (128) the following is returned.

Receive Data Definition

<data[3]> Bit 0 – Safety Relay 2 State

Bit 1 – Aircon Interlock State

Bit 2 – Work Chamber Int Chan 1

Bit 3 – Work Chamber Int Chan 2

Bit 4 – K1 Module Safety Relay 1

Chain State. Chan1 NC contact chain

Bit 5 – K1 Module Safety Relay 2

Chain State. Chan2 NC contact

chain.

Bit 6 – K1 Module Safety Relay

Contact Chain State. Chain of

normally open relay contacts from

each relay (channels 1 & 2).

Bit 7 – Fibre Over Temp (1 = OK)

Page 116: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

11

6

For redPOWER laser style (129) the following is returned.

Receive Data Definition

<data[3]> Bit 0 – Fibre Over Temperature

(1=OK)

Bit 1 – 7 Spare

Return Flag <flag[1]> See Table above.

7.8.4 Read LPFL4/5 interlock status (Control Code 0x76)

This command is used to read the (FL4/5 generation) Fibre Laser interlock status information.

Transmit Data:

<IDNum><0x76<chk[1]><chk[2]>

Receive Data:

<IDNum><0x76> <flag[1]><data[1]> …<data[18]><chk[1]><chk[2]>

data[1] to data[n] are defined in the table below.

Page 117: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

11

7

Receive Data Definition

<data[1]> Device 1 Interlock Faults:-

Bit 0 – EStop Fault (Generated when breaking and making

only 1 input of the EStop circuit)

Bit 1 – External Interlock Fault (Generated when breaking and

making only 1 input of the External circuit)

Bit 2 – Work Chamber Door Fault (Generated when breaking

and making only 1 input of the W/C door circuit)

Bit 3 – EStop Out Alarm (Generated when breaking any of the

EStop inputs)

Bit 4 – External Interlock Alarm (Generated when breaking any

of the External Interlock inputs)

Bit 5 – Work Chamber Door Out Alarm (Generated when

breaking any of the inputs when the PSU’s are enabled)

Bit 6 – Contactor Fault (Generated when the contactors are

not in the correct state for the state of the laser)

Bit 7 – Bulk PSU Dump Fault (Generated when the bulk

supplies are not below a voltage threshold after a timeout

period)

<data[2]> Device 1 Interlock Warnings :-

Bit 0 – EStop Contact Warning (Generated when only 1 input

of the EStop circuit has been broken)

Bit 1 – External Interlock Contact Warning (Generated when

only 1 input of the External Interlock circuit has been broken)

Bit 2 – Work Chamber Doors Contact Warning (Generated

when only 1 input of the Work Chamber Doors circuit has

been broken)

Bit 3 – Work Chamber Doors Warning (Generated when Work

Chamber Door circuit is broken)

Page 118: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

11

8

Receive Data Definition

<data[3]> Device 1 Control Status :-

Bit 0 – Standby Command – Control input received by device

1.

Bit 1 – Enable Command – Modulator enable control input

received by device 1.

Bit 2 – Modulator Enable Output Command – Modulator

enable control output from device 1.

Bit 3 – External PSU Disable – Control input state received by

device 1.

Bit 4 – Bulk PSU Discharged – Generated when all bulk PSU

monitors measure voltage below a threshold.

Bit 5 – Bulk PSU’s All On – Generated when all bulk PSU

monitors measure voltage above a threshold.

<data[4]> Device 1 Misc Status :-

Bit 0 – FCMS State

Bit 1 – Fibre Over Temperature

Bit 2 – Key Switch Status

Bit 3 – Cooler Interlock State

Bit 4 – Bulk PSU Charge Fault

Bit 5 – Modulator Hardware Fault

Bit 6 – Bulk PSU Dump Over Temperature

Bit 7 – FCMS Shutdown Fault

<data[5]> Device 1 EStop Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – EStop state (Set if inputs are not in the correct state for

EStop OK)

Bit 3 – Estop Reset Input State

Bit 4 – Estop Reset Status

Page 119: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

11

9

Receive Data Definition

<data[6]> Device 1 External Interlock Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – External Interlock State (Set if inputs are not in the

correct state for External Interlock OK)

<data[7]> Device 1 Work Chamber Doors Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – Work Chamber Doors state (Set if inputs are not in the

correct state for Work Chamber Doors OK)

<data[8]> Device 1 Contactor Status :-

Bit 0 – Contactor Drive 1

Bit 1 – Spare Output

Bit 2 – Contactor Monitor 1

Bit 3 – Contactor Monitor 2

Bit 4 – Bulk PSU A Discharged Monitor 1

Bit 5 – Bulk PSU A Discharged Monitor 2

Bit 6 – Bulk PSU B Discharged Monitor 1

Bit 7 – Bulk PSU B Discharged Monitor 2

Page 120: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

12

0

Receive Data Definition

<data[9]> Device 1 Cross Monitor Status 1 :-

Bit 0 – Interlocks OK output to Device 2

Bit 1 – Interlock Ok input from Device 2

Bit 2 – Warnings output to Device 2

Bit 3 – Warnings input from Device 2

<data[10]> Device 2 Interlock Faults:-

Bit 0 – EStop Fault (Generated when breaking and making

only 1 input of the EStop circuit)

Bit 1 – External Interlock Fault (Generated when breaking and

making only 1 input of the External circuit)

Bit 2 – Work Chamber Door Fault (Generated when breaking

and making only 1 input of the W/C door circuit)

Bit 3 – EStop Out Alarm (Generated when breaking any of the

EStop inputs)

Bit 4 – External Interlock Alarm (Generated when breaking any

of the External Interlock inputs)

Bit 5 – Work Chamber Door Out Alarm (Generated when

breaking any of the inputs when the PSU’s are enabled)

Bit 6 – Contactor Fault (Generated when the contactors are

not in the correct state for the state of the laser)

Bit 7 – Bulk PSU Dump Fault (Generated when the bulk

supplies are not below a voltage threshold after a timeout

period)

<data[11]> Device 2 Interlock Warnings :-

Bit 0 – EStop Contact Warning (Generated when only 1 input

of the EStop circuit has been broken)

Bit 1 – External Interlock Contact Warning (Generated when

only 1 input of the External Interlock circuit has been broken)

Bit 2 – Work Chamber Doors Contact Warning (Generated

when only 1 input of the Work Chamber Doors circuit has

been broken)

Bit 3 – Work Chamber Doors Warning (Generated when Work

Chamber Door circuit is broken)

Page 121: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

12

1

Receive Data Definition

<data[12]> Device 2 Control Status :-

Bit 0 – Standby Command – Control input received by device

2.

Bit 1 – Enable Command – Modulator enable control input

received by device 2.

Bit 2 – Modulator Enable Output Command – Modulator

enable control output from device 2.

Bit 3 – External PSU Disable – Control input state received by

device 2.

Bit 4 – Bulk PSU Discharged – Generated when all bulk PSU

monitors measure voltage below a threshold.

Bit 5 – Bulk PSU’s All On – Generated when all bulk PSU

monitors measure voltage above a threshold.

<data[13]> Device 2 Misc Status :-

Bit 0 – FCMS State

Bit 1 – Fibre Over Temperature

Bit 2 – Key Switch Status

Bit 3 – Cooler Interlock State

Bit 4 – Bulk PSU Charge Fault

Bit 5 – Modulator Hardware Fault

Bit 6 – Bulk PSU Dump Over Temperature

Bit 7 – FCMS Shutdown Fault

<data[14]> Device 2 EStop Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – EStop state (Set if inputs are not in the correct state for

EStop OK)

Bit 3 – Estop Reset Input State

Bit 4 – Estop Reset Status

Page 122: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

12

2

Receive Data Definition

<data[15]> Device 2 External Interlock Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – External Interlock State (Set if inputs are not in the

correct state for External Interlock OK)

<data[16]> Device 2 Work Chamber Doors Status :-

Bit 0 – Input 1 (Active high)

(0 when input connected to 0 volts)

(1 when input disconnected)

Bit 1 – Input 2 (Active low)

(0 when input disconnected)

(1 when input connected to + volts)

Bit 2 – Work Chamber Doors state (Set if inputs are not in the

correct state for Work Chamber Doors OK)

<data[17]> Device 2 Contactor Status :-

Bit 0 – Bulk PSU Enable

Bit 1 – Contactor Drive 2

Bit 2 – Contactor Monitor 1

Bit 3 – Contactor Monitor 2

Bit 4 – Bulk PSU A Discharged Monitor 1

Bit 5 – Bulk PSU A Discharged Monitor 2

Bit 6 – Bulk PSU B Discharged Monitor 1

Bit 7 – Bulk PSU B Discharged Monitor 2

Page 123: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

12

3

Receive Data Definition

<data[18]> Device 2 Cross Monitor Status 1 :-

Bit 0 – Interlocks OK output to Device 1

Bit 1 – Interlock Ok input from Device 1

Bit 2 – Warnings output to Device 1

Bit 3 – Warnings input from Device 1

Return Flag <flag[1]> See Table above.

7.9 Command Block 7 (Memory control messages)

Allocated control code range 0x80 to 0x8F inclusive.

7.9.1 Program Control (Control Code 0x80)

This command controls the execution of the program within a specified device. A flag is

returned to indicate the success or failure of the command. Warning - Implementing this

command may leave the laser system in an unusable state.

Transmit Data:

<IDNum><0x80><param[1]><param[2]><param[3]><param[4]><chk[1]><chk[2]>

<param[1]> identifies the zone (See Table 3.1 Above).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

<param[3]> is an index used to identify the device within the zone. These are defined in table

3.2 through 3.7 above.

<param[4]> is the action to be taken as defined in the table below.

<param[4]> Device

0x00 Stop program execution.

0x01 Start program execution.

0x02 Reset program.

Receive Data:

<IDNum><0x80><data[1]><data[2]><data[3]><flag[1]><chk[1]><chk[2]>

Page 124: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

12

4

<data[1]> , <data[2]> and <data[3]> are echoes of the memory device to be acted upon

(<param[1]>), (<param[2]>) and (<param[3]>) in the transmit packet so as to allow message

identification.

Return Flag <flag[1]> See Table above.

7.9.2 Read Memory Device Manufacturers Code (Control Code 0x81)

This command reads the manufacturers code from the specified memory device.

Transmit Data:

<IDNum><0x81><param[1]><param[2]><param[3]><chk[1]><chk[2]>

<param[1]> identifies the zone (See Table 3.1 Above).

<param[2]> is an index used to uniquely identify elements where more than one of a specific

zone may exist in the system. This parameter should be set to a value of 1 to reference single

cases.

<param[3]> is an index used to identify the device within the zone. These are defined in table

3.2 through 3.7 above.

Receive Data:

<IDNum><0x81><data[1]><data[2]><data[3]><flag[1]><data[4]MSB>

<data[4]LSB> <data[5]MSB><data[5]LSB><chk[1]><chk[2]>

<data[1]> <data[2]> and <data[3]> are echoes of the zone (<param[1]>) index (<param[2]>)

and device <param[3]> in the transmit packet so as to allow message identification.

<data[4]> is the manufacturers ID code.

<data[5]> is the device ID code.

Return Flag <flag[1]> See Table above.

7.10 Command Block 8 (Laser Interface

Configuration Messages)

Allocated control code range 0x90 to 0x9F inclusive.

7.10.1 Set Interface Configuration (Control Code 0x92)

This command is used to set the specified interface configuration.

Note on Watchdog setting - This part of the configuration is used to enable and set the

allowable duration between communication messages. The watchdog is active when the laser

is in the standby or on state, so disconnecting communications when the laser is off will not

generate a watchdog failure. The watchdog is active for the interface(s) that put the laser in

the standby or on state. In this way an interface being used to monitor the laser can be

disconnected without causing the watchdog to fail.

Page 125: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

12

5

Transmit Data:

<IDNum><0x92><param[1]><param[2]><param[3]>

…<param[n]><chk[1]><chk[2]>

<param[1]> identifies the interface type (See Table 4 Above).

<param[2]> is an index used to uniquely identify more than one interface. This parameter

should be set to a value of 1 to reference single interfaces.

<param[3]> through <param[n]> is the configuration data associated with each interface as

defined in the tables below.

Serial Interface

Transmit Data Configuration Parameter

<param[3]> Bit 0 – Watchdog Enabled State

(0 = Disabled / 1 = Enabled).

Bits 1 to 7 Unassigned (write as 0).

<param[4]> Watchdog Timeout Period (S).

Range 1 to 30 seconds.

Default 5 seconds.

Ethernet Interface

Transmit Data Configuration Parameter

<param[3]> Bit 0 – Watchdog Enabled State.

(0 = Disabled / 1 = Enabled).

Bits 1 to 7 Unassigned (write as 0).

<param[4]> Watchdog Timeout Period (S).

Range 1 to 30 seconds.

Default 5 seconds.

CANopen Interface (LPFL only)

Transmit Data Configuration Parameter

<param[3]MSB>

to

<param[3]LSB>

Node ID – Range 1 to 127

Page 126: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

12

6

Transmit Data Configuration Parameter

<param[4]MSB>

to

<param[4]LSB>

Bit Rate – Settings – 1000, 800, 500,

250, 125, 50, 20, 10.

Scaling in K bits/s.

<param[5]MSB>

to

<param[5]LSB>

Heartbeat Time – Range 0 to 65535.

Scaling ms.

0 – Disables Heartbeat

Receive Data:

<IDNum><0x92><data[1]><data[2]><flag[1]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the interface reference (<param[1]>) and index

(<param[2]>) in the transmit packet so as to allow message identification.

Return flag <flag[1]> See Table above.

7.10.2 Read Interface Configuration (Control Code 0x93)

This command is used to read the specified interface configuration.

Transmit Data:

<IDNum><0x93><param[1]><param[2]><chk[1]><chk[2]>

<param[1]> identifies the interface type (See Table 4 Above).

<param[2]> is an index used to uniquely identify more than one interface. This parameter

should be set to a value of 1 to reference single interfaces.

Receive Data:

<IDNum><0x93><data[1]><data[2]><flag[1]><data[3]> …<data[n]><chk[1]><chk[2]>

<data[1]> and <data[2]> are echoes of the interface reference (<param[1]>) and index

(<param[2]>) in the transmit packet so as to allow message identification.

<data[3]> through <data[n]> is the requested configuration information as defined in the tables

below.

Serial Interface

Page 127: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

12

7

Receive Data Configuration Parameter

<data[3]> Bit 0 – Watchdog Enabled State

(0 = Disabled / 1 = Enabled).

Bits 1 to 7 Unassigned.

<data[4]> Watchdog Timeout Period (S).

Range 1 to 30 seconds.

Default 2 seconds.

Ethernet Interface

Receive Data Configuration Parameter

<data[3]> Bit 0 – Watchdog Enabled State.

(0 = Disabled / 1 = Enabled).

Bits 1 to 7 Unassigned.

<data[4]> Watchdog Timeout Period (S).

Range 1 to 30 seconds.

Default 2 seconds.

CANopen Interface (LPFL only)

Transmit Data Configuration Parameter

<data[3]MSB>

to

<data[3]LSB>

Node ID – Range 1 to 127

<data[4]MSB>

to

<data[4]LSB>

Bit Rate – Settings – 1000, 800, 500,

250, 125, 50, 20, 10.

Scaling in K bits/s.

<data[5]MSB>

to

<data[5]LSB>

Heartbeat Time – Range 0 to 65535.

Scaling ms.

0 – Disables Heartbeat

Return flag <flag[1]> See Table above.

Page 128: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

12

8

7.10.3 Set Ethernet Interface Addressing (Control Code 0x94)

This command is used to set the Ethernet address configuration. The Ethernet configuration

uses Ipv4 addressing format. The protocol has the capacity to transport Ipv6 addressing in

preparation for any future development. The Ipv4 addressing format requires right justifying

within its relevant field.

Transmit Data:

< IDNum><0x94><param[1]MSB>…<param[1]LSB><param[2]MSB>

…<param[2]LSB><param[3]MSB>…<param[3]LSB>…<param[4]MSB><param[4]LSB

><param[5]MSB>…<param[5]LSB><chk[1]><chk[2]>

<param[1]> through <param[8]> are defined in the table below.

Transmit Data Address Configuration

<param[1]MSB>

to

<param[1[LSB>

Bit 0 – Use DHCP.

(0 = Fixed IP address / 1 = DHCP

allocated address).

Bits 1 to 15 Unassigned (write as 0).

<param[2]MSB>

to

<param[2]LSB>

16 bytes.

Fixed IP Address setting. This

address will be used if the DHCP

setting in param[1] is disabled (0).

<param[3]MSB>

to

<param[3]LSB>

8 bytes.

Subnet Mask.

<param[4]MSB>

to

<param[4]LSB>

16 bytes.

Default Gateway.

<param[5]MSB>

to

<param[5]LSB>

Host port address. Default 9003.

Receive Data:

<IDNum><0x94><flag[1]><chk[1]><chk[2]>

Page 129: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

12

9

Return flag <flag[1]> See Table above.

7.10.4 Read Ethernet Interface Addressing (Control Code 0x95)

This command s used to read the Ethernet port address configuration.

Transmit Data:

<IDNum><0x95><chk[1]><chk[2]>

Receive Data:

<IDNum><0x95><flag[1]><data[1]MSB>…<data[1]LSB><data[2]MSB>…<data[2]LSB

><data[3]MSB>…<data[3]LSB>…<data[4]MSB>…<data[4]LSB><data[5]MSB>…<dat

a[5]LSB><chk[1]><chk[2]>

<flag[1]> Return flag. See Table above.

<data[1]> through <data[8]> are defined in the table below.

Receive Data Address Configuration

<data[1]MSB>

to

<data[1]LSB>

Bit 0 – Use DHCP.

(0 = Fixed IP address / 1 = DHCP

allocated address).

Bits 1 to 15 Unassigned (write as 0).

<data[2] MSB>

to

<data[2] LSB>

16 bytes.

Fixed IP Address setting. This

address will be used if the DHCP

setting in data[3] is disabled (0).

<data[3]MSB>

to

<data[3]LSB>

8 bytes.

Subnet Mask.

<data[4]MSB>

to

<data[4]LSB>

16 bytes.

Default Gateway IP Address.

<data[5]MSB>

to

<data[5]LSB>

Host port address.

Page 130: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

13

0

7.11 Command Block 9 (Interlock Alarm and

Warning Messages)

Allocated control code range 0xA0 to 0xAF inclusive.

7.11.1 Read Alarm Value (Control Code 0xA4) - Changed description

Zero is returned if no alarm is present.

Alarm number allocations are listed in section X.

A flag is returned to indicate the success or otherwise of the command.

Transmit Data:

<IDNum><0xA4><chk[1]><chk[2]>

Receive Data:

<IDNum><0xA4><flag[1]><data[1]MSB><data[1]LSB><chk[1]><chk[2]>

<data[1]MSB> and <data[1]LSB> represent the integer value of any alarm present.

Return Flag <flag[1]> See Table above.

7.11.2 Read Warning Value (Control Code 0xA5) - Changed message content

This message is used to retrieve any active warning conditions present on the laser. It is a

variable length message used to report all of the active warnings in one message. The

number of active warnings is included in the response. If this is zero, there are no active

warnings, and no further data is present in the message. Some warnings are fleeting, and

marked for clearing once they have been read. An individual warning list is maintained for

each interface, therefore some warnings may be reported that have previously occurred and

are no longer present when logging onto an interface for the first time.

Warning number allocations are listed in section Y.

A flag is returned to indicate the success or otherwise of the command.

Transmit Data:

<IDNum><0xA5><chk[1]><chk[2]>

Receive Data:

<IDNum><0xA5><flag[1]><data[1]MSB><data[1]LSB><data[2]MSB>

…<data[2]LSB><data[n]MSB><data[n]LSB><chk[1]><chk[2]>

<data[1]MSB> and <data[1]LSB> represent the number of warning present.

<data[2]MSB> though <data[n]LSB> represent the warning codes up to the number reported

in <data[1]>.

Page 131: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

13

1

Return Flag <flag[1]> See Table above.

8 Alarm Code Definitions

Each alarm code contains information about the zone, and module associated with the failure.

It can be broken down as follows:

Alarm Code = ZMNN

Where

Z is the zone associated with the alarm as described in Table 3 above.

M is the module number to identify devices where there is more than one.

NN is the alarm code identifying the problem.

System Zone Alarms

Code Description

1102 System configuration memory failure. Unknown configuration data loaded.

Laser will not operate. Factory configuration setup required.

1120 Serial communications failure

1121 Front panel communications failure

1122 USB communications failure

1123 Ethernet communications failure

1130 LPFL – Laser base plate / HPFL – Combiner base plate - High temperature

1131 High internal optics temperature

1132 High temperature differential between tray and optics (Possible cause –

excessive back reflections).

1133 LPFL - High diode tray temperature / HPFL – High Splice Plate Temperature

1134 LPFL - Diode tray / HPFL – Splice Plate – Low temperature

1140 E-Stop circuit fault (LPFL)

1141 LPFL – Monitoring fault / HPFL – Activated - Customer interlock circuit

1142 Work chamber door interlock circuit fault

1143 Current modulator power switch fault

1144 Key switch turned off while starting, or running the laser

1145 E-Stop activated

1146 Customer interlock activated

Page 132: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

13

2

Code Description

1147 Interlock problem not cleared correctly before reset attempted

1149 Cooler Interlock off while starting or running the laser

1150 Safety relay error (HPFL)

1155 E-Stop reset not activated

1160 Serial watchdog timeout

1161 USB watchdog timeout

1162 Ethernet watchdog timeout

Control Zone Alarms

Code Description

2101 Modulation frequency error – Frequency demand out of range

2102 Update error – Attempted parameter update failed

2103 Peak current demand error – Peak current demand out of range

2105 Ramp time error – Ramp timing out of range

Modulator Zone Alarms

Code Description

3m01 Current modulator over temperature

3m02 Current modulator fault

3m03 Current modulator communications failure

3m04 “

3m21 HPFL Modulator Power on reset fault

3m22 HPFL Modulator Brown out fault

3m23 HPFL Modulator External reset fault

3m24 HPFL Modulator Watchdog reset fault

3m25 HPFL Modulator Unknown reset fault

3m26 HPFL Modulator Burn back fault

3m27 HPFL Modulator Back reflection fault

Page 133: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

13

3

Code Description

3m28 HPFL Modulator Back reflection fault

3m29 HPFL Current modulator 1 fault

3m30 HPFL Modulator Current modulator 2 fault

3m31 HPFL Modulator secondary burn back

3m37 HPFL Modulator T1 high temperature fault

3m38 HPFL Modulator T1 low temperature fault

3m39 HPFL Modulator T2 high temperature fault

3m40 HPFL Modulator T2 low temperature fault

3m42 HPFL Modulator T3 high temperature fault

3m43 HPFL Modulator T3 low temperature fault

3m45 HPFL Modulator T5 high temperature fault

3m46 HPFL Modulator T5 low temperature fault

3m47 HPFL Modulator T6 temperature fault

3m49 HPFL Modulator T7 temperature fault

3m50 HPFL Modulator T7 low temperature fault

3m51 HPFL Modulator T8 temperature fault

Fiber Zone Alarms

Code Description

4m01 LPFL - Burn back conditions detected

HPFL – Main power monitor burn back conditions detected

4m02 FCMS fault

4m03 Fiber output housing over temperature

4m04 Power monitor signal out of range

4m05 Excessive peak back reflections detected

4m06 Excessive back reflections detected

4m07 HPFL Combiner burn back

4m08 Shutter e-stop fault

4m09 Shutter communications failure 1

Page 134: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

13

4

Code Description

4m10 Shutter communications failure 2

4m11 Secondary burn back (LPFL)

4m12 Beam delivery safety ESTOP fault

4m13 Combiner back reflection

4m21 Shutter EStop relay open fault

4m22 Shutter housing over temperature fault

4m23 Shutter position feedback fault

4m24 Shutter 24 volt supply fault

4m25 Shutter open fault

4m26 Shutter EStop relay closed fault

4m29 Beam delivery safety card communications failure

4m31 Beam delivery safety card relay closed fault

4m32 Beam delivery safety card relay open fault

4m33 Beam delivery safety card supply 1 feedback error

4m34 Beam delivery safety card supply 1 high

4m35 Beam delivery safety card supply 2 feedback error

4m36 Beam delivery safety card supply 2 high

4m37 Beam delivery safety card supply 3 feedback error

4m38 Beam delivery safety card supply 3 high

4m39 Beam delivery safety card external switch supply fault

4m40 Beam delivery safety card external switch fault

4m41 Beam delivery safety card fcms fault

4m42 Beam delivery safety card dump temperature fault

4m43 Beam delivery safety card turning block temperature fault

Machine Interface Zone Alarms

Code Description

5101 Configuration memory failure, defaults loaded.

GUI Zone Alarms

Page 135: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

13

5

Code Description

6101 Serial communications fault

Bulk Power Supply Zone Alarms

Code Description

7101 Bulk power supply 1 failed

7102 Bulk power supply 1 voltage dip detected

7103 Bulk power supply 1 current imbalance

7104 Bulk PSU Dump over temperature (LPFL4/5)

7105 Bulk PSU Dump timeout (LPFL4/5)

7106 Contactor fault (LPFL4/5)

9 Warning Code Definitions

Each warning code contains information about the zone, and module associated with the

failure. It can be broken down as follows:

Warning Code = ZMNN

Where

Z is the zone associated with the warning as described in Table 3 above.

M is the module number to identify devices where there is more than one.

NN is the warning code identifying the problem.

System Zone Warnings

Code Description

1102 Unknown Configuration.

1108 Parameter defaults in use.

1111 “

1112 “

1113 “

Page 136: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

13

6

Code Description

1114 “

1115 “

1116 “

1117 “

1120 Serial communications buffer approaching full

1121 Serial communications buffer full. Messages will be rejected until space

available.

1122 Ethernet communications buffer approaching full

1123 Ethernet communications buffer full. Messages will be rejected until space

available.

1124 USB communications buffer approaching full

1125 USB communications buffer full. Messages will be rejected until space

available.

1130 High laser tray temperature

1131 High internal optics temperature

1132 High temperature differential between tray and optics (Possible cause –

excessive back reflections).

1133 High diode tray temperature

1134 Low diode tray temperature

1140 E-Stop circuit problem

1141 Customer interlock circuit problem

1142 Work chamber door interlock circuit problem

1143 Work chamber door interlock activated

1144 Key switch off

1145 Cooler interlock off

1146 Estop circuit not closed

1147 Customer interlock circuit not closed

1148 Modulator fault detected

1149 Shutter Estop circuit not closed

1150 Shape data has been reset

1151 Segment data has been reset

Page 137: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

13

7

Code Description

1152 Process cycle data reset

1153 Process cycles step data reset

1155 E-Stop reset not activated

1160 HPFL Beam Delivery Safety Card E-Stop

1161 HPFL Safety relay not activated

Control Zone Warnings

Code Description

2101 Ramp up incomplete

2102 Ramp down incomplete

2103 Ramp between parameters incomplete

2104 Laser in safe mode following burn back condition detection

2105 Modulation frequency error – Frequency demand out of range

2106 Fiber pierce frequency error – Frequency demand out of range

Modulator Zone Warnings

Code Description

3m01 High temperature

3m60 HPFL Modulator T1 high temperature warning

3m61 HPFL Modulator T1 low temperature warning

3m62 HPFL Modulator T2 high temperature warning

3m63 HPFL Modulator T2 low temperature warning

3m64 HPFL Modulator T3 high temperature warning

3m65 HPFL Modulator T3 low temperature warning

3m66 HPFL Modulator T5 high temperature warning

3m67 HPFL Modulator T5 low temperature warning

3m68 HPFL Modulator T7 high temperature warning

3m69 HPFL Modulator T7 low temperature warning

3m70 HPFL Modulator Back reflection warning

Page 138: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

13

8

Code Description

3m71 HPFL Modulator Back reflection warning

3m72 HPFL Modulator disabled

3m73 Dew Point Warning

3m75 Modulator hardware fault (LPFL4/5)

Fiber Zone Warnings

Code Description

4m01 LPFL - Burn back protection disabled

HPFL - Main power monitor burn back protection disabled

4m02 FCMS circuit broken

4m03 Fiber output housing over temperature

4m04 Back reflection protection disabled

4m05 Excessive back reflections detected

4m06 LPFL Rear / HPFL Combiner - Burn back protection disabled

4m07 LPFL secondary burn back detection disabled

4m60 Shutter datum warning

4m61 Shutter FCMS monitor warning

4m62 Shutter fiber over temperature monitor warning

4m63 Shutter external switch sequence warning

4m64 Shutter encoder warning

4m65 Shutter closed warning

4m66 Shutter fiber over temperature warning

4m67 Shutter FCMS warning

4m68 Shutter external interlock input warning

4m70 Beam delivery safety card supply 1 low

4m71 Beam delivery safety card supply 2 low

4m72 Beam delivery safety card supply 3 low

4m73 Beam delivery safety card external switch

4m74 Beam delivery safety card external switch sequence

Page 139: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

13

9

Code Description

4m75 Beam delivery safety card fcms

4m76 Beam delivery safety card fiber temperature

Machine Interface Zone Warnings

Code Description

5101 Using default machine interface configuration

Bulk Supply Zone Warnings

Code Description

7150 Bulk Supply not present.

7151 Bulk Supply charge fault

7154 Dump over temperature

10 General Information

10.1 Trade Marks

The SPI Lasers logo, SPI, GTWave, redPOWER, and redENERGY are trademarks (registered

or applied for) of SPI Lasers in at least one of the United States of America, the United

Kingdom, the European Community, China, and in various other territories throughout the

world. All other trademarks are the property of their registered owners.

10.2 Copyright

Copyright SPI Lasers. All rights reserved. You may not reproduce, transmit, store in a retrieval

system or adapt this publication, in any form or by any means, without the prior written

permission of SPI Lasers, except as allowed under applicable copyright laws. The information

contained herein is confidential and is the property of SPI Lasers. No part may be reproduced,

disclosed or used except as authorised by contract or other written permission. The copyright

and the foregoing restriction on reproduction and use extend to all media in which the

information may be embodied.

Page 140: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

14

0

10.3 Changes

This manual is supplied without liability for errors or omissions. SPI Lasers reserves the right

to change the information and specifications contained in this manual without prior notice.

11 Contact Information

Table 21 Contact Information

UK Head Office and

Manufacturing

Facility

US Corporate Office China Office Korea Office

SPI Lasers UK

Limited SPI Lasers LLC

SPI Lasers

(Shanghai) Co., Ltd.

SPI Lasers Korea

Ltd.

6 Wellington Park

Hedge End

Southampton

SO30 2QU

UK

Tel: +44 (0)1489

779696

4000 Burton Drive

Santa Clara

CA 95054

USA

Tel: +1 408 454 1169

Room 108, Building 3

No. 7 Guiqing Road

Caohejing Hi-tech

Park

Shanghai 200233

China

Tel: +86 (0) 21 6171

9470

#508, DMC Tower

1622 Sangam-dong

Mapo-gu

Seoul

Korea

Tel:+82 2 3151 9591

Customer Services

[email protected]

Tel: +44 (0)1489 779696 - Option 5

Company Web Site

www.spilasers.com

Product Support

[email protected]

Tel: +44 (0)1489 779696 - Option 2

[email protected]

Contact your local office number

Or contact your local distributor.

12 Customer Service

In the unlikely event that the redPOWER Fibre Laser requires attention outside the scope of

the maintenance requirements given in the User manual, contact SPI Lasers for advice on

further on-site fault diagnosis and/or return of the redPOWER Fibre Laser.

Page 141: redPOWER Fibre Laser - SPI Fiber Laser Products

© SPI Lasers UK Ltd. 2016

Commercial in Confidence

SM-S00499 Revision A

redPOWER Fibre Laser Serial Communications Protocol

14

1

If the redPOWER Fibre Laser requires fault-diagnosis or servicing or is to be returned to SPI

Lasers, it is the system integrator’s responsibility to follow the instructions for its return to SPI

lasers given in the User manual.