Hi!
Does anyone have the KAREL file KLIOTYPS.KL.? I am unable to find it
in the KAREL manual.
Thanks!
cosva
Hi!
Does anyone have the KAREL file KLIOTYPS.KL.? I am unable to find it
in the KAREL manual.
Thanks!
cosva
CONST
io_all = 0 -- Any I/O type
io_din = 1 -- Digital input
io_dout = 2 -- Digital output
io_anin = 3 -- Analog input
io_anout = 4 -- Analog output
io_tool = 5 -- Tool output
io_plcin = 6 -- PLC input
io_plcout = 7 -- PLC output
io_rdi = 8 -- Robot digital input
io_rdo = 9 -- Robot digital output
io_brake_out = 10 -- Brake output
io_opin = 11 -- operator panels input
io_opout = 12 -- operator panels output
io_sopin = 11 -- Same as io_opin
io_sopout = 12 -- Same as io_sopout
io_estop = 13 -- Emergency stop
io_tpin = 14 -- Teach pendant digital input
io_tpout = 15 -- Teach pendant digital output
io_wdi = 16 -- weld inputs
io_wdo = 17 -- weld outputs
io_gpin = 18 -- Grouped inputs
io_gpout = 19 -- Grouped outputs
io_uopin = 20 -- User operator's panel input
io_uopout = 21 -- User operator's panel output
io_ldin = 22 -- laser DIN
io_ldout = 23 -- laser DOUT
io_lain = 24 -- laser AIN
io_laout = 25 -- laser AOUT
io_wstk_in = 26 -- weld stick input
io_wstk_out = 27 -- weld stick output
io_mem_boo = 28 -- memory image boolean's
io_mem_num = 29 -- memory image din's
io_dummy_boo = 30 -- dummy boolean port type
io_dummy_num = 31 -- dummy numeric port type
io_proc_axes = 32
io_iopin = 33 -- Internal operator's panel input
io_iopout = 34 -- Internal operator's panel output
io_flag = 35 -- Flag (F[ ])
io_marker = 36 -- Marker (M[ ])
max_log_port = 36
-- physical only
io_keep_rly = 41 -- Backuped internal relay
io_rly = 42 -- No backuped internal relay
io_keep_reg = 43 -- Backuped internal register
io_reg = 44 -- No backuped internal register
max_phy_port = 44
io_min_type = 1 -- same as io_din
io_max_type = 44 -- same as max_log_port
Thanks!
Do you know, or can anyone tell me, how to access the kliotyps.kl file?
Just for general knowledge.
Thanks
there are a few files much like that one that are included with the WinOLPC install (roboguide as well) if you wish to use the constants included in those files simply include it in your programs header
PROGRAM Vectr
%NOBUSYLAMP
%NOABORT = ERROR + COMMAND + TPENABLE
%NOPAUSE = ERROR + COMMAND + TPENABLE
%COMMENT = 'Vector from PR[AR1]'
%ENVIRONMENT Regope
%ENVIRONMENT Vectr
%INCLUDE KLEVKEYS.KL
VAR