Industrial Communications

Showing results for 
Search instead for 
Did you mean: 

Ethernet/IP Get Attribute Class/Instance/Attribute Entered as Integers Expecting Hex

Go to solution

Hello All,

I'm trying to read Alarm codes on a FANUC R-30iB Mate Plus using the "EthernetIP CIP Get Attribute Single" VI. I have no issue reading objects that have numeric digits, however the protocol uses hex, and this vi expects integers as inputs for Class/Instance/Attribute. 


For example 0x65 is entered as 65


I need to read an object with Class 0xA0.  How do I enter this as a I32? I converted to a decimal but that doesn't work.


Any help would be greatly appreciated. Thanks! 

0 Kudos
Message 1 of 2
Accepted by topic author HaydenB

Never mind.... Right-Click / Display Format / Hexadecimal. The error occurs with A0, but not with A1, A2 etc. On to the next problem

0 Kudos
Message 2 of 2