Jump to content

kpetro07

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by kpetro07

  1. 7 minutes ago, Joe Tauser said:

    Maybe, if the particular Siemens you're using supports the Modbus protocol on a separate RS232 or RS485  serial port. That's a question for your Siemens dealer.

    The only thing Profibus and Modbus have in common is they both end in "bus".  Someone else on the forum can describe it much better than I.  I just know it as "the purple cable".

    Google is your friend-

    https://control.com/forums/threads/difference-between-modbus-and-profibus.31231/#:~:text=Profibus has certain protocol features,not the same as Profibus).

     

    Joe T.

    I think this is what I am looking for, but link is not wokring.. 

     

  2. Hello,

    I am looking for the best solution in order to store bits values and temperature(int16) with timestamp every time the bits are changing values.

    Just to keep a log to see the changes. 

    Indexed Data table ?  Or is there any 'easy' solution ?  

     

  3. On 8/5/2020 at 7:32 AM, Hoops123 said:

    Hi,

    Not 100% sure what your refering to, but I use bootlace ferrules for connecting to th inputs

    hello,

    and you dont have problem with the contact ? @Joe Tauser suggestion is more reliable but I cannot find in local market so I will order and delay for 1 month.. Unitronics should mention that they do not supply the connector.

  4. 13 hours ago, Ausman said:

    + to Joe's extras.

     

    Thanks Kpetro.  But the essential bit that you happily haven't encountered is that on most Unitronics stuff you always had to relate the 4mA to what the total range was.  The maths was essentially 4/20 x the range.  So if you have 2^15 the (4/20) * 32768 = 6554.  Flex was going on the range being 2^16.  If you can be bothered you could try the 0-20 and set the linz B at 6554 and it should work ok.  But it won't give quite as good definition as the module appears capable of if the setting is 4-20.

    cheers, Aus

    Sorry! I meant 6554. I have done the test now and is working if you choose 0-20mA! if you choose 4-20mA in the configuration you should start from zero! 

  5. On 10/13/2019 at 5:56 AM, Joe Tauser said:

    There can be only one answer.  I've said many times that empirical data is the best data.

    If kpetro put 0 in and the linear block worked properly then the spec sheet is misleading and the scaling is spread over the whole 15 bit range, not starting with the 4 mA offset like we're used to.

    I configured a remote I/O drop with that module.  You can choose what your input will be:

    image.png.188eacbd53fe2fc75a99f2006dac74c8.png

    I haven't personally used this module, but we can deduce that the module takes the configuration into consideration and returns 0 counts at 4 mA.  Allen Bradley does this on their CompactLogix I/O, so it's not out of the ordinary.  It would be nice if it were documented better, but I have a feeling that Unitronics is relying on the manufacturer for this.

    Joe T.

     

    Hello all, 

    I think that the configuration is set as @Joe Tauser mentioned. We have configured the input 4-20mA from the I/O module  and on the linearization we used 0 - 2^15 . The value seems correct now. 

    @Flex727 suggested that the 4mA value would need to be 13107 but even with the configuration 0-20mA this does not work.

     
  6. Hello all,
    We have created a small program with REMOTE IO using US5-B10-B1 OS 1.26.51  and we connected IO modules on a URB TCP. Everything works perfectly but if you switch off URB-TCP and switch back on, then CPU cannot find the REMOTE IO  (even if we restart the CPU). The only way to find it is to download the program again. We have tried both ways setting the IP for URB-TCP (dip switch and BOOTP) but the problem still remains. 

    We created a program with the same configurations with US10 and we do not have this problem.  

    Any suggestion ? 

    Thanks. 

  7. 12 hours ago, Joe Tauser said:

    Is the delay between Outputs always the same?  What is the maximum value for X?

    I would use a combination of a timer incrementing a pointer and a Set Bit block to tick the bits on in an integer tag or array, and then do a Num to Bits function to transpose the number to the outputs in bit form.  You could reverse the operation using the Reset Bit block to turn them off.

    This method is above beginner level - what is your experience with manipulating bits in integer arrays?

    Joe t.

    WeI do not have any experience with bits in integer arrays so we have done it as attached.... 

    delay on.JPG

  8. Hello All,

    Can someone help to build a simple program for switching multiple outputs with delay ?

    Condition is:

    Input ON, Output 1 ON then delay XX seconds Output 2 ON, and .... delay XX seconds Output X ON.

    Input OFF, Output 1 OFF then delay XX seconds Output 2 OFF, and .... delay XX seconds Output X OFF.

     

    thanks in advance.

  9. 14 hours ago, Flex727 said:

    I think you're setting up the linearization function properly (though X1 & X2 should be 819 & 4095, respectively, but that is inconsequential to this problem). If you can see the actual analog raw value changing appropriately and you have the linearization function set up properly, then the problem must be that the linearization function is not being called for some reason. Make sure the program is downloaded to the PLC and make sure the function is not in a subroutine that's not being called. If you post your program here, someone will try to help troubleshoot your code.

    attached you will find the program. the value is correct for temperatures above 50oC. 

    test 2.ulpr

  10. 9 hours ago, Flex727 said:

    Ah, sorry, didn't realize you were using the remote I/O. I guess that's a bit different.To troubleshoot that it would be best to go online and look at the raw value without using the linearization function - no reason to try to troubleshoot two things at once. If the raw value isn't changing, then you need to look at your hardware connections.

    The raw value is changing. When we try linearization the value is wrong.

  11. Hello all,

    this is the first time I am writing to this forum. We were using vision plcs and now is the first time we are using unistream.  

    We  have connected the cards through USP-TCP. For the analogue input we are using the card URA-0800O and we set the input 4-20mA.

    The sensor we are using is 4-20mA 0-150oC. 

    We tried linearization but the output value is wrong.

    In X1 we entered the value 818 and X2=4092.

    in Y1 we entered the value 0 and Y2=1500 but the output value is 0 and does not change. When we change the Axis values (y1=818,y2=4092,x1=0,x2=1500) in linearization, shows an output value but is 10-15 degrees less than the actual temperature. 

    Are we doing something wrong?

    Thanks

×
×
  • Create New...