Jump to content

jimrinaldo

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by jimrinaldo

  1. We already have a developed working machine, and the code within it is functional with the one work station on it. We do not have room in memory on the V120 we use to double the code, but still have one more output and two inputs that can monitor a second work station on a slightly reconfigured machine. can a small routine be written so that the 2 outputs can be swapped like a MB, and the same with the 4 inputs  be seen as 2 MB's for their status? Another MB flag could be used to toggle this function. any ideas or sample code ideas are welcome. jim_rinaldo@att.net

  2. You'll be using the Protocol:Scan FB to read the incoming data stream, capturing the characters you are interested in to MI registers so that your ladder program can check their ranges and decide which message to send out. Hard to be more helpful without knowing more about the incoming data...

    Thanks, I understand that much, but I was hoping not to reinvent the wheel and find a subroutine that worked. The examples don't have anything like it, and I've struggled to make a routine work for over a month with no sucess.

  3. I've been fighting this one for a long time. I need to write a new subroutine for an existing program. I have the RS-232 port initialized properly, but I need to see the numeric character string come in first. If the string does not meet correct criteria (such as value(s) in range for the function), then sends out a '0', followed by a <CR> (ASCII 13). If it does, then the function needs to be performed (by other subroutines that are already defined) then sends out '1' <CR>.

    Thank you for your support.

×
×
  • Create New...