LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet IP communication error with omron plc

Hi,

 

I am attempting to write data from LabVIEW (Version: 2022 Q3) to an Omron PLC (Model no: NX 102-9000) using Ethernet/IP Tag Write (Ethernet/IP Protocol). It successfully writes single-element data of a SINT array by specifying the index along with the tag name (DataArray_SINT[1]) in LabVIEW. However, I encounter errors when attempting to write Boolean arrays and string data. Despite specifying the index at the end of the Boolean tag name (B_Write[1]) and string tag name (S_Write[1]), the data is not successfully transferred to the PLC, even when the size matches the specification provided by the PLC programmer for the respective tags.

 

Additionally, when I try to write the entire SINT array data at once by specifying the original tag name (DataArray_SINT) or when attempting to use the Raw data type for the SINT array, I encounter issues. I am trying to write data from LabVIEW by selecting the Raw data type for the Tag Write VI for Boolean arrays and string data, but it does not work as expected. I am attaching images where errors occurred during the data writing process from LabVIEW to the PLC. Kindly review them and advise on how to resolve these issues.

 

SINT_write.png

String_write.png

Bool_write.png

0 Kudos
Message 1 of 1
(280 Views)