01-29-2017 11:58 PM
Hello,
Here with, I have Omron NJ 301-1200 PLC and LabVIEW 16. I want to communicate with plc without using DSC module. PLC support Ethernet/IP Driver and I have to same driver in LabVIEW 16 still i can not connect.Error code -251723760 is display.
I have only CPU of omron PLC.No other Modules are available for PLC.Is there any configuration in PLC?Extended modules necessary for connection?
PLS Help us.
01-31-2017 10:07 AM
You have provided neither the Omron Manual (so we can see what the Controller expects) nor your code (so we can see what you have tried). Without both of these, you are limiting yourself to a LabVIEW Forum User who has specific experience with this device.
Bob Schor
02-01-2017 03:09 AM
Dear Sir,
Thank you for reply.
Here i send my PLC and LabVIEW Code.
I am facing problem with boolean data type while read from PLC
Error code: -251723773
EthernetIP Tag Read BOOL.vi;
Details: The data type returned for the request does not match the data type requested by the user
How to read and write boolean data type with NJ Series.
pls remove .doc extention from second file & write .smc2 extention. you get the PLC Code file.
04-01-2017 12:54 AM
Hiii.....!!!
I'm also facing the same problem with Omron NX1P PLC.
I am able to read/write data variables like Word,Real,UINT but unable to read/write Boolean's.
So please help if had any solution or alternative method.
Thanks in advance.
10-14-2018 08:16 AM
Well, you've provided the "code that fails", which shows you reading two reals, a disabled reading of a Boolean, an Int, a DInt, an SInt, an Int, a DInt, an SInt, and finally a Bool, where I expect the failure is occuring. You did not send anything that lets us look "inside" the missing functions that implement these reads, nor did you provide the manual from the Manufacturer describing the Protocol that explains what you are supposed to read and when.
.
Since we cannot test your code, you'll have to do a little more work. Where did the failure occur? Which of the Read functions (I'm guessing, but you should know) threw the BOOL error, the first (now disabled) Read or the second? Did the error occur the first time this code ran, or did it run successfully at least once?
And where is the manual from the Manufacturer that explains how to use the Software?
And what is the "not-a-.doc" file that you sent? I don't have any idea what a .smc2 extension means, nor do I expect I have software designed to read or understand such a file.
I think your best bet is to get in touch with the Manufacturer's Support Team.
Bob Schor
10-14-2018 10:20 AM - edited 10-14-2018 10:21 AM
@Bob_Schor wrote:
Well, you've provided the "code that fails",
Bob Schor
No he didn't Bob! New poster on a "Zombie" thread. No relationship with the previous vi is known and "BOOL.vi" is not attached.
I'll Split the thread to prevent other from making the same mistake.
08-29-2022 08:13 AM
Hello
Has anyone solved that problem?
Why it is not possible to read boolean tag from Omron NJ??
08-29-2022 08:56 AM
It's almost certainly possible but maybe not as you think it should. EthernetIP is a byte protocol, so how booleans are transmitted if at all is likely vendor specific. Your PLC program probably maps the various booleans into specific bits in a byte address and if that is the case you would need to actually read that byte and mask the relevant bit with a AND node for instance.