Jump to content

s.pratt

Members
  • Posts

    350
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by s.pratt

  1. Im currently using a V130 -33RA22, next week I will be getting a 120-22-R1 to try. I have tested the output at the input of the controller and I get the 4-20mah signal. That is why I'm thinking it could be wired incorrectly into the controller or the inputs on the controller are faulty.

     

    This occurs with both analog inputs?  The input impedance for these inputs is only 37 ohms, so there is not a problem with using the Banner device. (it supports this impedance)

     

    Are you testing with a blank application (only configuring the input)?  Could you search your program to ensure you are not using the MI linked to the input elsewhere, or test with a 'blank ladder application'?

     

    Could you attach a wiring diagram of how the banner is connected to the PLC here for a better wiring analysis?

  2. Hello Michael,

     

    Was the location of the files from the "Recent Solutions" changed recently?  For instance, let's say you opened your file (XXXX.ulpr) originally from the desktop.  Then you moved this XXXX.ulpr file into your "Documents" folder on your PC.  Now you try to open the file from the "Recent Solutions".  Is this what you are referring to?

  3. Hello,

     

    Upon setting up a shaft encoder input, you will have a tag automatically created for you in the associated I/O struct.  This is where your pulse reading will be held.  For instance, if you are using a UID-0808THS module, your counter value will be in UID-0808THS_X.B1:Counter (for block 1 counter value).  In the UID-0808THS_X struct, there are other values related to this block one input you may use, such as frequency and direction of the pulses.

     

    If you wish to move this to another tag, you may simply use a store block to do so.

     

    Hope this helps. 

  4. Hello,

     

    I am unsure what you mean by "divide it into two MLs".  Are you trying to build a larger integer out of two MLs?  If so, it is not possible to create integers out of two other integers.

     

    The range for a DW is 0 to +4,294,967,295.  The range for an ML is -2,147,483,648 to +2,147,483,647.  The largest number the controller can handle in an integer is 4,294,967,295.  Since you are working with pulses from a HSI, the pulses cannot be negative.  So there shouldn't really be a need to use MLs for the HSI. 

     

    Hope this helps.

  5. Hello,

     

    For the inputs, you could collect the bit statuses into a user-defined struct, then pass the collection of this struct into the UDFB.  For instance, I created a struct of 16 bits, then I created 3 tags using this struct as the "type of tag".  This allowed me to pass 48 bits into the UDFB as a test. 

     

    You could then collect the statuses of these bits at the end of the UDFB ladder into a number to use with Modbus, as you have mentioned.

     

    Please watch the following tutorial on structs for UniLogic.  User-defined structs are covered about 5:30 into the tutorial: https://www.youtube.com/watch?v=98UuQXZC1as&list=PLFBq_OH6_be7snAZAycZzQMvAWjHkX9Pz&index=5

     

    Let me know if this helps.

  6. Hello,

     

    The NUM to BIT function will take an integer and convert its binary representation in an array of bits.  For instance, using a 4-bit integer as an example where the right most bit is "bit 0":

     

    0 = 0000

    1 = 0001

    2 = 0010

    3 = 0011

    4 = 0100

    etc..

  7. Hello,

     

    You may change the port numbers to whatever you'd like in the UniStream.  In your router, though, you need to set up the forwarding such that when a connection comes in for the external port number you set up, it knows to direct the connection to the IP address of the UniStream and the specific internal port number in the unit on the Local Area Network.  So communication will come in for the WAN IP + External Port number, and the router will direct it to the LAN IP + Internal Port number.  This is all set up in the router.

     

    Did you set up port forwarding for the VNC connection, or did that work without setting anything up in your router?

  8. Hello,

     

    The ports used to go online/download can be found by trying to download or go online with the unit.  To the right, you will find a circular button with a downward arrow that says "ports" next to it.  If you click the button, the port numbers will appear below.

     

    By default, the online port is set to 3335, and the download port is set to 22.

     

    Hope this helps.

×
×
  • Create New...