Command property:


Asynchronous command.


Command action:


Set the laser pen settings of the selected laser pen.


NOTE: in order to make this modification permanent, it is needed the Command and Reboot command at the end of the settings.


Syntax:


<command name="setpen" number="[Integer]" power="[Integer]" speed="[Integer]" frequency="[Integer]" pulselenght="[Integer]" firtpulse="[Integer]" jumpdelay="[Integer]" markdelay="[Integer]" polydelay="[Integer]" laserondelay="[Integer]" laseroffdelay="[Integer]" jumpspeed="[Integer]" enablepixelmap="[boolean]" />


Parameters:

Name

Mandatory

Description

Format

number

Yes

The laser pen number for parameters set

Integer

power

Yes

Power parameter. Refers to Laser Principle for further informations.

Integer

speed

Yes

Speed parameter. Refers to Laser Principle for further informations.

Integer

frequency

Yes

Frequency parameter. Refers to Laser Principle for further informations.

Integer

pulselenght

Yes

Pulse Lenght parameter. Refers to Laser Principle for further informations.

Integer

firtpulse

Yes

First Pulse parameter. Refers to Laser Principle for further informations.

Integer

jumpdelay

Yes

Jump Delay parameter. Refers to Laser Principle for further informations.

Integer

markdelay

Yes

Mark Delay parameter. Refers to Laser Principle for further informations.

Integer

polydelay

Yes

Poly Delay parameter. Refers to Laser Principle for further informations.

Integer

laserondelay

Yes

Laser On Delay parameter. Refers to Laser Principle for further informations.

Integer

laseroffdelay

Yes

Laser Off Delay parameter. Refers to Laser Principle for further informations.

Integer

jumpspeed

Yes

Jump Speed parameter. Refers to Laser Principle for further informations.

Integer

enablepixelmap

Yes

Enable or disable the Pixel Map specific for this pen.

Boolean


Reply:


<command valid="true" />



When the command is executed, the system reply with:



<command name="SetPen" executed="true" />



If the command execution fails, the system reply with:



<command name="SetPen" executed="false" />




Command purpose:


This command is used to set the correct laser pens settings, accordingly the material must be engraved.