100 lines
4.9 KiB
C#
100 lines
4.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AuroraLaser.Trumpf.TruDisk
|
|
{
|
|
/// TRUMPF TRUDISK
|
|
public class csReadNodeNo
|
|
{
|
|
public const int EXT_ACTIVATION_ACTIVE = 0;
|
|
public const int LASER_WARNING_LAMP_IS_ON = 1;
|
|
public const int LASER_READY = 2;
|
|
public const int LASER_IS_ON = 3;
|
|
public const int LASER_ASSIGNED = 4;
|
|
public const int PILOT_LASER_IS_ON = 5;
|
|
public const int PROG_COMPLETED = 6;
|
|
public const int FAULT_LASER = 7;
|
|
public const int PROG_ACTIVE = 8;
|
|
public const int PROG_CANCELLED = 9;
|
|
public const int PROGRAM_NO = 10;
|
|
public const int PROGRAM_LINE_NO = 11;
|
|
|
|
public const int LASER_ON_PHASE = 12;
|
|
public const int LIGHTPATH_BLOCKED = 13;
|
|
public const int LLK_OPEN = 14;
|
|
public const int LLR_OFF = 15;
|
|
public const int MAINTENANCE = 16;
|
|
public const int MONITORING = 17;
|
|
public const int POWER_LIMIT = 18;
|
|
public const int AUXILIARYHEATING_ACTIVE = 19;
|
|
public const int FIRMWAREUPDATE_ACTIVE = 20;
|
|
|
|
public const int SIK_OPEN = 21;
|
|
public const int SLEEPMODE_ACTIVE = 22;
|
|
public const int SYNC_OPEN = 23;
|
|
public const int SYS_READY = 24;
|
|
public const int SYS_RESETTED = 25;
|
|
|
|
#region Pulse Data
|
|
public const int PULSE_POWER = 26; // DOUBLE Currently set pulse power PLC 화면상 생산 -> 펄스 데이터 부분의 펄스 출력
|
|
public const int PULSE_POWER_NOMINAL = 27; // DOUBLE Currently measured pulse power 목표값 펄스 출력.
|
|
public const int CW_POWER = 28; // DOUBLE Laser Power
|
|
public const int POWER = 29; // DOUBLE Currently measured laser power
|
|
public const int ENERGEY = 30; // UINT64 Current Energy of the currently active pulse
|
|
public const int FREQUENCY = 31; // DOUBLE Currently set pulse repetition frequency 목표값 펄스 주파수
|
|
public const int FREQUENCY_NOMINAL = 32; // DOUBLE Currently measured pulse repetition frequency 현재값 펄스 주파수
|
|
public const int PULSE_DURATION = 33; // UINT32 Currently set pulse duration 목표값 펄스 기간
|
|
public const int PULSE_DURATION_NOMINAL = 34; // UINT32 Currently measured pulse duration 현재값 펄스 기간
|
|
public const int PULSE_NUMBER = 35; // UINT16 Currently set pulse number 목표값 펄스 수량
|
|
public const int PULSE_NUMBER_NOMINAL = 36; // UINT16 Currently measured pulse number 현재값 펄스 수량
|
|
#endregion
|
|
|
|
#region Cooling
|
|
public const int COOLING_DI_PRESSURE_DIFF = 37;
|
|
public const int COOLING_DI_RETURN_PRESSURE = 38; // Current pressure of the deionized water
|
|
|
|
//CODE.BY.YIS Laser Cool Parameter Log 추가
|
|
public const int COOLING_PRESSURE_OUT_EXT = 39;
|
|
public const int COOLING_PRESSURE_IN_EXT = 40;
|
|
public const int COOLING_TEMP_WATER_IN_EXT = 41;
|
|
public const int COOLING_PWM_X30_MV = 42;
|
|
public const int COOLING_TEMP_TANK_SET_TRACKING = 43;
|
|
public const int COOLING_TEMP_COOLING_WATER = 44;
|
|
public const int COOLING_PRESSURE_PUMP = 45;
|
|
public const int COOLING_FC_MAX_FREQUENCY = 46;
|
|
public const int COOLING_FC_FREQUENCY_PUMP = 47;
|
|
|
|
public const int COLLING_TEMP_X80 = 48;
|
|
public const int COLLING_PRES_X90 = 49;
|
|
public const int COLLING_SPEED_FAN = 50;
|
|
|
|
#endregion
|
|
}
|
|
|
|
public class csWriteNodeNo
|
|
{
|
|
public const int EXT_ACTIVATION = 0; // Bool
|
|
public const int LASER_RESET = 1; // Bool
|
|
public const int LASER_ON = 2; // Bool
|
|
public const int PROG_STOP = 3; // Bool
|
|
public const int PSTART_DYN = 4; // Bool
|
|
public const int REQUEST_LASER = 5; // Bool
|
|
public const int PSTART_STATICAL = 6; // Bool
|
|
public const int INQUIRY_1 = 7; // Bool
|
|
public const int INQUIRY_2 = 8; // Bool
|
|
public const int PILOT_LASER_ON = 9; // Bool
|
|
public const int FAULT_EXT = 10; // Bool
|
|
public const int LOCK_OPERATING_PANEL = 11; // Bool
|
|
public const int PROGRAM_NO = 12; // Uint16
|
|
public const int IW03 = 13; // Uint16
|
|
public const int IW04 = 14; // Uint16
|
|
public const int IW05 = 15; // Uint16
|
|
public const int IW06 = 16; // Uint16
|
|
public const int IW07 = 17; // Uint16
|
|
public const int IW08 = 18; // Uint16
|
|
}
|
|
}
|