Hello everyone,
i am making a weight batching system , my system consists of 9 tanks each tank have a specific raw material , the user should be able to add a formula through scada system so he will be able to specify each weight of each ingredient to add to the formula.
i have managed a connection between my weight indicator (pt650d) and my plc (fx3g) through fx3g232bd module (RS232 communication) , the weight indicator send data in ASCII to plc that we can show on the scada system .
so how can i change the ASCII numbers that come from the weight indicator to Decimal number without changing the value so i can control a barrel that will add raw material from the tank to the scale untill it reaches what the user specify in the scada ??