trubleshtr
Member
Hello,
First time poster here so go easy..
I need some Omron advice on using the Hex value in the D area of PLC. I am trying to view it on an HMI in Decimal. I will give you a little background,
I have been handed the task of re-programming a machine, which has not been completed by a contractor. I am more familiar with A/B so I am struggling with the half done program in Omron that has been left for me. This machine set-up is using excel for info,a VBA script to transfer data to PLC and then The HMI is looking at a D area (D112) to get it's value to display, I see that Omron D is in hex, (this hex value is being displayed on HMI) how can I get the value into a decimal form? Can I simply put the D112 value somewhere else in the PLC (via MOV)and save it as a INT or BCD and then re-program the HMI to look at that location? Can I be that lucky hehehe..
I could spend time with trial and error, but seeming as We are already in trouble with an incomplete machine (which of course is needed) I am looking for a "get out of jail free" card here.
Cheers
I suffer from I.D. 10T error's
First time poster here so go easy..
I need some Omron advice on using the Hex value in the D area of PLC. I am trying to view it on an HMI in Decimal. I will give you a little background,
I have been handed the task of re-programming a machine, which has not been completed by a contractor. I am more familiar with A/B so I am struggling with the half done program in Omron that has been left for me. This machine set-up is using excel for info,a VBA script to transfer data to PLC and then The HMI is looking at a D area (D112) to get it's value to display, I see that Omron D is in hex, (this hex value is being displayed on HMI) how can I get the value into a decimal form? Can I simply put the D112 value somewhere else in the PLC (via MOV)and save it as a INT or BCD and then re-program the HMI to look at that location? Can I be that lucky hehehe..
I could spend time with trial and error, but seeming as We are already in trouble with an incomplete machine (which of course is needed) I am looking for a "get out of jail free" card here.
Cheers
I suffer from I.D. 10T error's