May 27, 2019, 06:18:17 AM
Robotforum | Industrial Robots Community

 How to get control uint serial number by KAREL

hot_post Author Topic:  How to get control uint serial number by KAREL  (Read 3027 times)

0 Members and 1 Guest are viewing this topic.

December 27, 2017, 03:19:06 PM
Read 3027 times
Offline

linuxsand


Hello, how do you get control unit serial No. by KAREL?  or just cannot...

Actually, if these hardware information exists in some controller files, that will be great too...

Any reply is appreciated :)

fanuc_hardware_info


Today at 06:18:17 AM
Reply #1

Advertisement

Guest

December 27, 2017, 07:15:25 PM
Reply #1
Offline

rafahil


There are not data of the controller serial number in the software.

December 28, 2017, 12:47:03 AM
Reply #2
Offline

Jonson


http://media.linuxsand.info/image/fanuc_hardware_info.jpg[/img]

Hi, Have you find any method to get a unique code of your robot?

Thanks!
Jonson

December 30, 2017, 03:34:04 PM
Reply #3
Offline

Nation

Global Moderator
Try checking under the $APPLICATION system variable. There is a bit of information about the controller there, but I am not sure about the serial number.
Check out the position converter I wrote here!

January 02, 2018, 05:40:50 AM
Reply #4
Offline

linuxsand


Quote

Hi, Have you find any method to get a unique code of your robot?

Thanks!
Jonson

Not yet ...

January 02, 2018, 02:39:42 PM
Reply #5
Offline

Atinder


Hi Linuxsand,
If you have a teach pendant, try doing this to check the serial number and controller ID-
Press MENU
Press 0--NEXT
Press 4--STATUS
Press F!--[TYPE]
Select VERSION ID

January 03, 2018, 12:10:34 PM
Reply #6
Offline

linuxsand



Thank you, Nation, but there is no serial number of the controller in $APPLICATION.

img-sysvar-application
« Last Edit: January 03, 2018, 12:15:15 PM by linuxsand »

Today at 06:18:17 AM
Reply #7

Advertisement

Guest

January 03, 2018, 12:16:19 PM
Reply #7
Offline

linuxsand


Select VERSION ID

Atinder, I'd like to get serial number in KAREL code.  Thanks anyway :)

January 05, 2018, 09:33:00 AM
Reply #8
Offline

bidzej


Not sure if this helps, but to identify the controller (for example for licensing purposes), you could also use its MAC address.

There is a variable with the E-number of the robot, but it can be edited freely, so I guess it won't help you.

January 05, 2018, 02:56:28 PM
Reply #9
Offline

linuxsand



Thank you bidzej, how do you get controller MAC address programmaticlly?

January 05, 2018, 03:25:54 PM
Reply #10
Offline

bidzej


it's somewhere in the system variables, can't remember where now... But you'll find it  :icon_wink:

January 05, 2018, 03:32:25 PM
Reply #11
Offline

Nation

Global Moderator
Try checking under the $APPLICATION system variable. There is a bit of information about the controller there, but I am not sure about the serial number.

Thank you, Nation, but there is no serial number of the controller in $APPLICATION.

img-sysvar-application
[/quote]

I looked on a real controller, and APPLICAITON[3] contains the S/W serial number that is shown under the VERSION ID in the status menu.

January 05, 2018, 05:36:54 PM
Reply #12
Offline

PnsStarter


Code: [Select]
$APPLICATION[3]
....
Name: Software Serial Number of the APPLICATION/TOOL Software
....
Description: Displays the software serial number of the software APPLICATION/TOOL.
Typically,this is the FANUC Robotics project number that the robot was ordered against.

But if you order multiple robots at once, it might be the same number at all robots.
(checked 2 robots, which were ordered together (europe) )

keep in mind for licensing purposes  :
all 'unique IDs'- might be changed for some reason

MAC - changes (mainboard)
master counts - servo /mastering

I think $FNO (F-Number) is best for licensing:
A serious integrator can change this for evaluation purposes.
e.g. $FNO = 'eval or education' <-- check/compare in karel prog

But he won't use this 'fake' variable in production because of unknown changes by
 - maintenance
 - next programmer and or karel-script
 - older backup

IMHO : use $FNO or read some info from orderfil.dat

best regards
PnsStarter








January 08, 2018, 08:37:36 AM
Reply #13
Offline

rob76


Keep in mind that everyone can change the F number in the controller, it is just a variable w/o protection.

I used in the past also the MAC, this number cannot be changed and is unique.

$TMI_ETHERAD[1] for Port A
$TMI_ETHERAD[2] for Port B

Today at 06:18:17 AM
Reply #14

Advertisement

Guest

January 12, 2018, 06:50:58 AM
Reply #14
Offline

rafahil


Good idea. Just consider that if the Main board is replaced, the MAC addresses will change.

January 15, 2018, 06:47:33 PM
Reply #15
Offline

Sergei Troizky


Just curious what are $TMI_ETHERAD[3] and $TMI_ETHERAD[4]?

January 15, 2018, 09:05:36 PM
Reply #16
Offline

rafahil


I think...

$TMI_ETHERAD[4] - The Vision Ethernet port

$TMI_ETHERAD[3] - I do not know




Share via facebook Share via linkedin Share via pinterest Share via reddit Share via twitter

xx
Karel: Serial Write String to RS232

Started by luijtena on Fanuc Robot Forum

0 Replies
1257 Views
Last post May 18, 2017, 09:18:04 AM
by luijtena
question
robot control with s4c+ serial port

Started by yunusdereli on ABB Robot Forum

5 Replies
2899 Views
Last post September 19, 2015, 02:03:09 AM
by Jonson
xx
How to force the number of screen's display by variables or by karel

Started by Chander_hxj on Fanuc Robot Forum

3 Replies
1574 Views
Last post June 24, 2017, 07:04:25 AM
by Chander_hxj
xx
Increase number of force control schedules

Started by Nation on Fanuc Robot Forum

7 Replies
1963 Views
Last post February 07, 2017, 02:45:38 PM
by fastfingers