simonongsk
MrPLC Member-
Content count
52 -
Joined
-
Last visited
Posts posted by simonongsk
-
-
1 hour ago, innoaloe said:I usually use 0 for SNA for a direct network.
No routing table setup is required, assuming you're using FINS/UDPYou need to set it up though, if you're using FINS/TCP.
Also last octet of the IP Address is not always the FINS Node Address, so if your Sysmac Studio shows that the FINS Node Address is 11, you should use that for DA1.
"I usually use 0 for SNA for a direct network."
Do you meant without using a switch?
So if I am using a switch, what is the value I should use?
You need to set it up though, if you're using FINS/TCP---> How do you setup in Sysmac Studio? (prefer TCP over UDP).
-
Anyone tested NX102 builtin Ethernet Port 1/2 for Fins command with Multiway?
Example PLC Port 1 IP is 192.168.1.10 , PC Address is 192.168.1.88
FINS Node Address of built in Ethernet IP port is 11 (grey out) as it follow the setting at port 2
ICF 80
RSV 00
GCT 03
DNA 01 (Direct PC to NX102)
DA1 0A (IP node 10)
DA2 00
SNA 01 (Diect PC to NX102)
SA1 58
SA2 00
SID --Changing
I got an Error code 1004 ( setting error)
Do I need to setup routing table?
https://www.youtube.com/watch?v=PG3pEvaO4O4
i used this as a guide, but that video added a EIP card
-
Hi :
IF there are 10 global variables in the NX102
Count_1....................Count_10 (all of the variables are UINT)
what is the Class ID Instance ID. and Attribute ID for reading from and writing values to the above said variables?
I am unable to find the the appropriate manual
below is an Application that is able to peek at Omron EIP PLC
-
Thanks. As long as the Array stay the same with the index , value should be able to read but from the array instead of the Listbox0.
-
7 hours ago, Fritz said:No, actually not.
You can use VB.NET code in editor (Compact Framework 3.5) but visual components provided by Omron are not original .NET components. Those are Omron's own extremely limited versions. You can examine them with ILSpy from Omron libraries or use System.Reflection on runtime.
Fritz:
There is a variable property for the Listbox, what do you specify? I think I compiled but with an error stated the setitems is not an element something.
I will give it a try ,.
What is the listbox Memeber for selected item
ListBox0.SelectedItem.Value---> won't work
by the way VS2017 allow Campact FrameWork?
-
Fritz:
There is a variable property for the Listbox, what do you specify? I think I compiled but with an error stated the setitems is not an element something.
I will give it a try ,.
-
1 hour ago, Crossbow said:Used a listbox many times, but never tried loading the list anything other than manually. My applications have not required me to get into the script code.
This part is easy. I thought since Omron advertised about VB.Net, Then surely first thing come to my mind...listbox and Dropbox or even Textbox should behave as such in Visual Studio? if you read the link that I post, some one posted and said he/she had been able to load it from code. Or am i read wrongly?
-
I read http://forums.mrplc.com/index.php?/topic/33282-read-an-array-of-strings-from-nj-to-na/. What I looking at is how to add items to Listbox with array from NX cpu.
There is no "Items.Add" member for the listbox. I hope the listbox for NA behave the same way like the NS or Proface.
as below code from the link above sure will not work
Sub ListBox_Update
Dim List_obj As Object
Dim array(100) As String
Dim x As Integer
For x = 0 To 99
array(x) = ListItems(x)
Next x
List_Obj = array
listbox0.SetItems(List_Obj)
End SubAnyone have try NA Listbox and please share your code
Thanks
-
14 hours ago, Michael Walsh said:I was referring to the Beckhoff eds file, thank you.
You may need to use Beckhoff software to download settings to the CPU as well as the Omron configurator.
How would I know if the eds file is ok? Well, typically, CPUs do not look like I/O and the reason is this: you can only assign one EtherNet/IP master to control outputs. For instance if I have an output module, only one master could control the outputs, otherwise, how would it decide which master to obey. If the Beckhoff CPU is this way, then only one Omron CPU could sent it data. It does not make sense. Perhaps Beckhoff is doing something in the background to get around this, but I cannot tell. I just wanted to mention it. I would contact Beckhoff and make sure that you have the proper EDS file.
One other note. Usually you have to set up the Consume (or input) connection on the CPU on both ends.
So, for Omron to Beckhoff, typically I would expect to configure the connection in the Beckhoff. For Beckhoff to Omron, I would have expected to configure the connection in the Omron controller. This is most certainly how it works when connecting two Omron PLCs together.
I tested the link up with Beckhoff Hardware with Beckhoff local support. Funny thing, their hardware is able to scan and locat CJ2M-EIP21 without using any EDS file. BUT not with Omron Network Configurator ! Their provided EDS file were not be able to use with Omron Nework Configurator. What I would to known If somehow I have the EDS File. What is the next step for me. I would like to link Omron DM and send to Beckhoff PC. How to map it to TAG?
-
12 hours ago, Michael Walsh said:Yes, you would use Network Configurator for EtherNet/IP (or you could use Beckhoff's software, but I can't help with that). Do you have the EDS file for this device? If you post it, perhaps I can help. I have been unable to locate the file.
Which EDS file, Omron or Beckhoff?
Omron should be at "C:\Program Files (x86)\OMRON\CX-One\Network Configurator\Eds"
As of Beckhoff (i downloaded from Beckhoff Website, but it was stated as EIP Slave... that is the only file i am able to locate)
One Question though, If Iuses Network Configurator, how can Omron software download any file into third party hardware like Beckhoff CPU?
Also, how would you know if the eds file (i assumed is Beckhoff) will be ok without connecting to an actual hardware?
-
18 hours ago, Michael Walsh said:It won't really be a "slave", but you can set the Omron EIP units up to produce data that the Beckhoff can consume. It should work fine.
Hi Micheal:
Do you mean I use the Omron Network Configurator to do this? How? Some how the EDS files have to be included, right ?
I have intended to add 5 units of CJ1w-EIP21 to 5 CJ2M PLC which are currently running. Can you please help to describe how I can do it and with what software?
Thanks
-
Hi Micheal:
Do you mean I use the Omron Network Configurator to do this? How? Some how the EDS files have to be included, right ?
I have intended to add 5 units of CJ1w-EIP21 to 5 CJ2M PLC which are currently running. Can you please help to describe how I can do it and with what software?
Thanks
-
Hi:
I would line to use Beckhoff PC C6015-0010 Ethernet/IP as Master and Omron CJ2M CPU33 Ethernet/IP and CJ1W-EIP21 as Slaves. But I was told Omron Ethernet/IP can only be use as Master?
Is it true?
Have anyone have successfully connect Beackhoff Ethernet/IP to Omron Ethernet/IP? If yes, where can i get the Omron EDS files?
Thanks
-
On 23/11/2016 at 5:35 PM, BobB said:I use protocol macro and there is a bit. Do not know about any other method.
I believe is 1518.12? Depending of unit no? I had another question, I keep getting command error, 1518.06, reception data does not agree, What is this error and how to resolve this ?
-
17 hours ago, BobB said:I use protocol macro and there is a bit. Do not know about any other method.
Hi Bob:
I used the PMCR as well, what is that Bit (A2XX)? I am reading through the manual again.
Thanks
-
2 hours ago, BobB said:Time out bit?
I don't think there is such a bit. I had been reading the manual for the past few day. May be I overlook, do you have any idea what is the time out bit?
Rgds
-
Hi:
I have a question on SCU21, i have a RS232 connection from SCU21 connected to a external device. how to I program CX programmer to detect connection error when the cable is removed from the remove SCU?
Thanks
-
Hi:
I urgently need a simple sample Counter Interrupt Program to study and implement with my machine. I am using GX Work 2 My Problem is inconsistent start stop of roller conveyor after pulse count (OUT_C_32, with cc235, using CC235 to stop a conveyor.) I have to try interrupt, but the manual sample is suck!
Please help
Tks
-
hi:
in Omron that is a command to count how many bit that are in ON state, any similar instruction in GX Work 2?
Thanks
-
Hi:
I am new to Mitsubishi, I have a FX3U-80M with I/O expansion, I am using GX Work 2 Structured Ladder and tried to download the plc program but failed with this error message
"Upload or Download is not possible when Data exceeds capacity of the memory cassette, Check the memory capacity setting in the plc parameters"
At the moment the memory capacity set is 16000.
Can some help?
Thanks
-
Cool! Thank you all !
-
Hi:
in Omron there is a command BSET which can be used to set value from DXXXX to DXXXXn. Example BSET #0 D2000 D30000
What is the similar command in Mitsubishi FX3U structure Ladder?
thks
-
Thanks ! Structured Ladder look more organized. By the way, I am using FX3U 80 I/O, with Fast Counter, in GX Developer, It used a coil output (example C235 with K10 for counting 10 pulse, and using RST command to reset the counter) in Structured Ladder which command should I used?
-
Compare Structured ladder to Simple Ladder, which one will take up more memory?
NX102 Fins Command with PC
in NJ Series / Sysmac Studio
Posted
I am still unable to use the Fins Command with multiWay
attached is the setting