Kiiza

MrPLC Member
  • Content count

    38
  • Joined

  • Last visited

Everything posted by Kiiza

  1. ANALOG INPUTS AND OUTPUTS

    I am now onto PID control. I have seen the two PID control instructions; PID and PIDAT. However, my challenge with them is: How do I actually set the values for the different parameters? Because the interface of the instruction only shows three parameters yet there's much more to the PID than those three. I read the manual for the PID instructions and it talks about other parameters such as C, C+1, C+2,.... My question is; how do I access and get to set these parameters? Thank you.
  2. ANALOG INPUTS AND OUTPUTS

    Thank you very much guys. Your advice has been so helpful.
  3. ANALOG INPUTS AND OUTPUTS

    I was trying to understand if the analog input cards also have a set maximum (for instance 0-8000). I think I get it that they do have. I f am scaling a 0-1460 rpm output for instance, my zero_point would be 0; Max_Point be 8000; the  Max_Analog_in_INT  be 1460. And then I would take the integer value out of the analog output card (that's when I utilise your Function block). That's what I make of it, please correct me if I'm wrong. The other intriguing question is; Does OMRON have standard function blocks for scaling inputs and unscaling outputs in CX-Programmer? Thank you.
  4. ANALOG INPUTS AND OUTPUTS

    I am not so sure I understand that. I am referring to analog outputs form the PLC this time. For instance if I am sending a 0-50Hz frequency setpoint to a VFD. On the HMI the operator enters a value between 0 and 50Hz. How do I unscale te operator value to a form that the PLC will understand (I imagine that will be in integer format). Kind Regards.
  5. ANALOG INPUTS AND OUTPUTS

    Now I wanna ask about the analog outputs. I am imagining I have to unscale them in some way inorder to convert operator values or automatically generated values from for instance a PID into a format understandable by the PLC. Do you have any suggestions as to how I can go about this? Thank you.
  6. ANALOG INPUTS AND OUTPUTS

    I get it, Thank you very much.
  7. ANALOG INPUTS AND OUTPUTS

    OK, I get it. In that case; does it matter if I am using 4-20mA or 0-20mA? 
  8. ANALOG INPUTS AND OUTPUTS

    Hello Michael, As I mentioned earlier, I have only worked with SIEMENS PLCs and for them the range is always  -32768 to 32767   0r 0 to 32767 depending on whether the signal is unipolar or bipolar. I am only using the simulator within CX-One; I don't have a PLC with me. I am wondering; do the different analog input cards come with particular specifications for the  Max_Analog_in_INT ? Thank you, i appreciate.
  9. ANALOG INPUTS AND OUTPUTS

    I actually downloaded your function block already. I still don't understand properly the input Max_Analog_in_INT. Is it really necessary? And what exactly does it mean? and there is the integer data type; because the analog inputs are integers --correct me if I am wrong. The value range in that case is  -32768 to 32767 . How does your FB account for those ranges? Because your FB seems to scale the input from 0 to Max_Analog_in_INT. Thank you.
  10. ANALOG INPUTS AND OUTPUTS

    Hello Michael, thanks for the reply Well, I am using C1JM CPU13.
  11. I Have understood the rest of the inputs and outputs on the Function block. However, I don't understand the significance of the input Max_Analog_in_INT. What exactly does that refer to and is it really necessary?