I have an Allen Bradley MicroLogix 1400. I am trying to display a value onto an HMI, however my HMI will not accept a Long (i.e. L10:2) as an accepted tag, but it will accept a Float. My Long values are all 8 digits long and will be only numbers (i.e. 99475491.)
It is in a Long in the first place because when I get this value into the PLC via EthernetIP it comes in as a String. I am then converting them into a Long via an ACI instruction (ACI ST52:1 L10:2.)
Is there a way I can convert my Long into a Float, or even better would be to convert my String into straight into a Float? Thanks!!
It is in a Long in the first place because when I get this value into the PLC via EthernetIP it comes in as a String. I am then converting them into a Long via an ACI instruction (ACI ST52:1 L10:2.)
Is there a way I can convert my Long into a Float, or even better would be to convert my String into straight into a Float? Thanks!!