Files
2021-10-28 13:02:43 +02:00

32 lines
569 B
Lua

-- 2021/08/03 16:12:00
-- Comando spegni laser
-- Intestazioni
require( 'EgtBase')
_ENV = EgtProtectGlobal()
EgtEnableDebug( false)
-- Tavola di passaggio valori
local CMD = {}
CMD.F=0
CMD.S=0
CMD.L1=0
CMD.L2=0
CMD.L3=0
CMD.R1=0
CMD.R2=0
CMD.CMDSTRING = ""
CMD.ERR = 0
_G.CMD = CMD
function CmdString()
CMD.CMDSTRING="M186"
-- NUOVA VERSIONE --
CMD.EACTIVE=true
CMD.ENUMBER="Application.GVL_HMI_OMAG.IStart_Laser_Tracc_Cut"
CMD.EVALUE="1"
CMD.ENUMBER2="Application.GVL_HMI_OMAG.IStart_Laser_Tracc_Cut"
CMD.EVALUE2="0"
--
end
_G.CmdString=CmdString