Omron Sysmac Studio NX Place variables in structure

Mindchronik

Member
Join Date
Oct 2011
Location
in a bottle
Posts
5
Hi everyone,
I am trying to program a function block to copy the variables obtain from Ethercat into a structure on a NX1P2.

Since I cannot place structures into the I/O Tables, I wanted to create the function block in a manner that I feed it the node name and it copy the equipment values to the global variable.

ex:
Robot.Inputs.Status.Busy := CONCAT(NodeName,_Robot_Status_Busy_6010_02);

This, of course, doesn't work as Concat() is returning a string. But is there a way to reference the global variable that has the same name?

The goal is to create some AOI (like in Bradley) to be delivered with the equipment so it is easy to use.

At the moment, the only solution I see is to create a program and manually enter all the variables to be transfert into the global structure, and this for every one of the equipment installed.

Do anyone has a solution to my problem?
Anything to emulate what an Allen-Bradley do so easily with the EDS file?

Thanks in advance!
 
I'm curious to know if you've had any success with this. I'm also searching for a method to create a function to set up 200 PID zones without having to write the names of the variables one by one.
 

Similar Topics

Anyone is suffering very high latency on keyboard and or basically everything using Sysmac Studio on a virtual machine? I am using i7-4th gen 32GB...
Replies
11
Views
4,837
Hello Everyone, I have just started exploring the Sysmac studio and I am not familiar with the instruction set of the sysmac studio.I am trying...
Replies
2
Views
1,681
Hi, I am phasing problem in Syamac studio software. when i will try to open the software, one error window will popup like 'An unexpected error...
Replies
0
Views
4,771
I took an online course but don't remember covering this. How do I access the system clock in a compare instruction? I want to turn on an output...
Replies
1
Views
511
I come from an AB background. My current job has a lot of Omron devices. We have a couple systems with NX102's with numerous IO link devices...
Replies
0
Views
655
Back
Top Bottom