I don't think, you might be able to execute "CONTINUE" command through HTTP. It is one of the blocked commands by default.
Posts by AnandTUD
-
-
I use karel to copy/update the PMC file and when PMC is running, sometimes the copy does not execute successfully. So, i would like to stop the PMC before update and then start again.
-
Hello all,
Does anyone know a method apart from navigating to MENU -> I/O -> PMC -> [FUNC] -> Run/Stop PMC to start/stop PMC (like using System variable or other methods)?
Thanks and Regards
Anand
-
Hello MANIKANDAN_S ,
You could refer to the KAREL reference manual. Below is the description for RUN_TASK builtin.
-
Yes, even i tried some combinations and wasnt successful. Anyways thanks for the effort Nation
-
It is unfortunate that this is not documented anywhere, but I found the IF statement synax in one of Fanuc's .cm files.
Here it is:
Code
Display MoreIF VAR $APPLICATION[2] "V7.30P/*" SETVAR $CCSCB2_GRP[1].$FS_TYP2 1 ELSE IF VAR $APPLICATION[2] "V7.40P/*" SETVAR $CCSCB2_GRP[1].$FS_TYP2 1 ELSE IF VAR $APPLICATION[2] "V7.50P/*" SETVAR $CCSCB2_GRP[1].$FS_TYP2 1 ELSE IF VAR $APPLICATION[2] "V7.60P/*" SETVAR $CCSCB2_GRP[1].$FS_TYP2 1 ENDIF ENDIF ENDIF ENDIF
Is it possible to use IF statements to check Karel variables? Has anyone tried it?
-
-
Hello all,
I have an additional text "Continuous" below the speed override in one of my Roboguide projects. I guess theres one option/system variable activated. Could anyone tell me what does this mean and which system variable makes this change?
Thanks and Regards
Anand
-
-
Again regarding this topic, I tried configuring the Group Input for Override Select and then tested it, but there seems to be a little delay (~0.5 seconds) from the Group Input going to 0 and the robot stopping completely. If I am not wrong, shouldn't Override = 0 bring the robot to standstill immediately?
-
$UI_CONFIG.$IOSTAT_INST = FALSE should do the job
-
Yes, I mean background task. Another task would work, but is overkill for this application.
Here is code to control the speed I've used in the past. Speed is read in on GI[5] and applied.
Code
Display More/PROG BACKGROUND /ATTR OWNER = MNEDITOR; COMMENT = "Reporting data"; PROG_SIZE = 1046; CREATE = DATE 06-10-26 TIME 17:25:26; MODIFIED = DATE 10-12-18 TIME 08:12:06; FILE_NAME = ; VERSION = 0; LINE_COUNT = 32; MEMORY_SIZE = 1446; PROTECT = READ_WRITE; TCD: STACK_SIZE = 0, TASK_PRIORITY = 50, TIME_SLICE = 0, BUSY_LAMP_OFF = 0, ABORT_REQUEST = 0, PAUSE_REQUEST = 0; DEFAULT_GROUP = *,*,*,*,*; CONTROL_CODE = 00000000 00000000; /MN 6: ; 7: !Get override from the PLC. ; 8: IF (UO[8:TP enabled]=OFF AND GI[5:Override]>=1 AND GI[5:Override]<=100),$MCR.$GENOVERRIDE=(GI[5:Override]) ; 9: ; 10: !Reenable the UOPs if they were ; 11: !disabled by the user. ; 12: IF (UO[8:TP enabled]=OFF AND $OPWORK.$UOP_DISABLE=1),$OPWORK.$UOP_DISABLE=0 ; 13: ; 14: !Report out current override. ; 15: GO[5:Current Override]=($MCR.$GENOVERRIDE) ; 16: ; /POS /END
I can't really help you with the wiring. I believe CRMA15 and 16 are assigned to rack number 48.
Isnt it possible to map the GI to Override directly through Override Select option instead of Background logic?
-
If I am not wrong, the format in CREATE and MODIFIED is DATE YY-MM-DD TIME HH:MIN:SS;
You could use Karel to get more info using GET_ATTR_PRG and CONV_TIME_STR functions.
-
Hello all,
Does anyone know how to use the PBUTLIB %Environment directive in Karel? There seems to be some useful functions defined in it but I am unable to call it in a karel program. It seems to be available only for Controller versions v9.40.
Thanks and Regards
Anand
-
I had made a list some time back. Not complete though.
Main Page
Page Name
SP_ID
With SCRN_ID
Utilities Hints
153
153,1
Proj Adjust
930
930,1
Program Shift
151
151,1
Mirror Image Shift
150
150,1
Tool Offset
155
155,1
Frame Offset
191
191,1
Group Exchg
1200
1200,1
Angle Entry Offset
254
254,1
Test Cycle Setup
69
69,1
Manual Fctns Macros
138
138,2
Alarm Alarm Log
18
18,1
Motion Log
18
18,2
System Log
18
18,3
Appl Log
18
18,4
Password Log
18
18,5
Comm Log
18
18,6
Log Book
1106
1106,1
I/O Cell Interface
955
955,1
Custom
992
992,1
Digital
98
98,1
Analog
97
97,1
Group
99
99,1
Robot
107
107,1
UOP
108
108,1
SOP
109
109,1
Interconnect
157
157,1
Link Device
299
299,1
Flag
1111
1111,1
Marker
1111
1111,2
TC_ONLINE
1111
1111,3
Ethernet
1062
1062,1
PROFIBUS
272
272,2
PMC
473
473,1
SETUP ZDT Client
1985
1985,1
General
68
68,1
Coll Guard
1087
1087,1
Frames
154
154,1
Macro
140
140,1
Ref Position
147
147,1
Prog Select
166
166,1
Port Init
163
163,1
Ovrd Select
181
181,1
User Alarm
31
31,1
Error Table
456
456,1
BG Logic
1111
1111,6
Resume Offset
1337
1337,1
Resume Tol.
420
420,1
Softfloat
225
225,1
Stroke Limit
197
197,1
Space fnct.
200
200,1
PROFIBUS
272
272,3
ProfiNet
1161
1161,2
Host Comm
195
195,1
Passwords
935
935,1
FILE File
74
74,1
File Memory
253
253,1
Auto Backup
1008
1008,1
USER 37
37,1
SELECT 71
71,1
DATA Registers
23
23,1
Position Reg
148
148,2
Pallet register
92
92,1
KAREL Vars
34
34,2
KAREL Posns
34
34,3
STATUS Axis
32
32,2
Version ID
70
70,1
Stop Signal
173
173,1
Exec-Hist
226
226,1
Memory
174
174,1
Prg Timer
152
152,1
Sys Timer
152
152,2
Condition
296
296,1
PROFIBUS
272
272,1
Notifications
1621
1621,1
Reminder
1827
1827,1
Program
932
932,1
Power Consumption
1711
1711,1
4D Graphics 4D Display
1388
1388,1
Axis Position Display
33
33,1
SYSTEM Clock
34
34,4
Variables
34
34,1
OT Release
66
66,1
Axis Limits
162
162,1
Config
34
34,6
Motion
290
290,1
DCS
1133
1133,1
USER2 190
190,1
HMI Menu
381
381,22
Top Menu
381
381,23
Jog Assist Menu
1631
1631,100
-
Hello ikalus1988 ,
May I know the source for this ? Are the 50iA manuals released?
Thanks and Regards
Anand
-
Hello DS186,
Thanks for the input. I am trying to use the Override Select menu to define 0% override. It does not allow me to define that since the range of Override expected is from 1 to 100. Could you please explain me how to achieve 0% override by using Zero % Override = TRUE and Override Select menu (Using DI)?
Thanks and Regards
Anand
-
U need to call %ENVIRONMENT UIF at the beginning of your karel program so that u can use SIM_KEY routine.
-
Okay. I found one function called SIM_KEY (Not documented in Karel programming manual ) which does this. I tested it in roboguide and it works. There are two arguments for this function. Unfortunately, I dont know what the first argument is (Its a string, maybe someone knows what it is). The second argument is the function key number F1 to F5 which is mapped to 129 to 134.
-
I am looking for a similar solution. I am able to navigate to the BG logic page through karel but could not find an way to input the soft function keys without using the Teach pendant. Could someone suggest a method?