Jump to content

Jenkins

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by Jenkins

  1. Hello all,
     
    I have an application with only a few screens.  I am using TightVNC Viewer per Tech Support.  I have a UDP Socket configured for Port 555 in the UniLogic project and am not using any security for the VNC configuration.  I am connecting to the IP Address of the Panel which is different from the Panel.  The ethernet cable is connect directly from the computer I am working on.  Am I missing something?  Are there setting that need to be configured yet?

     

     

    I have attached screenshots of my VNC settings and the message when it closes,

     

    post-52-0-35592900-1439515544_thumb.png

    post-52-0-76976800-1439515544_thumb.png

    post-52-0-06066800-1439515545_thumb.png

    post-52-0-35565100-1439515545_thumb.png

     

    Any help is much appreciated!

     

    Jenkins

  2. Redlion offers the Data Station Plus Protocol Converter. It has drivers for BACnet and believe it or not Unitronics. It is a really cost effective solution and can do multiple conversions. It has Ethernet, Serial, and USB on the base unit plus an expansion slot for Canbus, DeviceNet, Profibus, GSM/GPRS Modem, and additional Ethernet or serial comms. The software is free.

    Here is the link to the hardware

    Data Station Plus

    Here is a link to all the drivers

    Drivers

    Jenkins

  3. I have recently run into a issue where using the ladder based Autotune for a burner. At the end of a 3 stage tune, we were still getting to big an oscillation. I read on the forum here the suggestion of PID server. So we went to use it.

    Here is my question. All the values that PID Server is looking for, come right out to the legacy PID Config FB. PID Server needs to have an operand in each of the functions but which are necessary? During the autotune, the Reset Intregal Bit was high but in our ladder we did not include it. For PID Server to work correctly do I need to make sure this is in the ladder? Are there any other functions that are recommended?

    We did try the autotune without putting the addtional functions in the ladder just linked them to unused operands and still got bigger oscillation then we wanted. The biggest problem was it took 15 min to get to setpoint when the burner is capable of reaching it in 30sec.

    Any input would be helpful.

    Jenkins

  4. Damian,

    THANKS! We have successful communication! I really appreciate you helping me. I will admit, I feel a little foolish for missing that but am happy to report it works with the Mitsubishi.

    On a side note, I have talked to my customer on that soft starter I mentioned in earlier posts and we can't get that to work.

    He is going to put his sniffer back on and "fake" some example messages as they are still not communicating. We don't have an offset issue there, thankfully. I will also post any update from that project as well.

    In case anyone is interested, I am attaching the modbus documentation for the Motortronics VMX Modbus instructions.

    Thanks again!

    Jenkins (needs to improve reading skills) :blink:

    VMX_mb_reg_map_07292009_release.zip

  5. AHHHHHH!

    This is what I get for doing this at work when I am slammed and half the office is out.

    Damian,

    I made a typo. It is suppose to be address 9C49 hex, which is 40009 dec. In the Mitsubishi manual, that is the register for "Inverter status/control input instruction". Apparently you read and write to that register.

    Sorry for the typo.

    J3nkins

  6. Damian,

    Thanks for the response. Reading those forum posts were very enlightening. Here is some history on my end.

    On the soft starter I listed above, there was a RS485 Modbus network with 20 Yaskawa VFDs and 1 VMX Soft starter. The VMX was in the middle of the daisy chain and was not communicating but all of the other devices were. In contacting that company and explaining our situation. They came to the conclusion that it was the CRC byte order.

    I was not present but had a trusted associate actually attempt to connect to the Mitsubishi VFD. Over the phone, we troubleshot the cable, parameters, terminal resistance, addressing, ladder logic, baud rate, parity, stop bits, etc. We made a test program, with only the modbus in it with one present single holding register command. Still no response.

    I wrote down that string that was being sent via INFO mode. It was 65 06 9349 0000 7E68. I saw how the CRC was being sent "7E68". I then went to this website here. The bytes were swapped "687E". I made the conclusion that the byte order is reversed.

    If you have ever programmed an Automation Direct C-More HMI, when setting up the driver for Modbus you have options to change byte order. Maybe they have found something or decided to appease people. I don't know.

    I have an appointment with our customer with the Mitsubishi VFD and I will hopefully come back pleasantly surprised. Either way I will definitely post back what I find.

    Thanks again for you responses.

    JENKINS :huh:

  7. Hello Ash,

    From what I have read in document PI-MBUS-300, it is the opposite where the data is high byte, low byte and the CRC is low byte, high byte.

    post-52-013204800 1301075112_thumb.png

    post-52-072668500 1301075110_thumb.png

    The brand VFD I am talking about is a Mitsubishi FR-D700. Below is their message structure.

    post-52-042579700 1301075111_thumb.png

    Another product that adheres to this structure, that I have found, is Motortronics VMX Soft Starter. This is taken from their Modbus documentation.

    post-52-055484700 1301075112_thumb.png

    On the flipside is Yaskawa. I have used these VFDs with great success using Modbus and they structure their message the same as Unitronics (high byte, low byte on data & CRC)

    post-52-095126300 1301075112_thumb.png

    We could easily use many more products with built in Modbus FB's by adding an option for changing byte order on CRC and maybe even on the data if some manufacturer decides to go off the standard.

    Thanks for listening!

    Jenkins

  8. To whom it may concern:

    I would like to the ability to change the byte order in the CRC of the Modbus Config FB. My reason for this is primarily by use of modbus and VFDs. It seems that depending on manufacturer, the byte order could be LSB, MSB or MSB, LSB. If we had the ability to change this with a simple setting it would replace "work around" code using the Protocol FB.

    Just a suggestion.

    Jenkins:huh:

  9. Hello all,

    When looking at the string generated by the Modbus FB is this:

    [] = byte

    [address] [Function] [Registor High] [Register-Low] [Length-High] [Length-Low] [CRC-High] [CRC-Low]

    According to PI-MBUS-300.pdf, the CRC should be LB, HB. (See Attached Screenshot)

    My post is two fold:

    1. Does anyone have an example where the worked around this? The slave device is looking for CRC LB,HB.

    2. A suggestion is to add a pull down in the Modbus configuration to change the CRC-16 order.

    Jenkins

    post-52-074751900 1300734068_thumb.png

  10. Hello all,

    Recently I have had a few suggestion made to me and thought I would share them.

    1. Keypad Entry Variable on a touch screen - If the variable happens to be overlapping the enter button on the virtual keypad when it opens, it will sometimes completes keypad entry. If you for some reason for it makes sense to put the variable where it overlaps this becomes an issue. Maybe a small timer in the background or a -|N|- before you can enter a keypad entry.

    2. Drum Sequencer - Ability to label steps and see column address descriptions in config, ability to go online in config, a check mark to print or export the config. Go to Step(index) FB only lets you choose a MI not a constant which is different than a lot of other FB's, also in that FB in the help file mention that the Step Index MI is different than the Current Step Index. Why do the steps start at 1 and not 0?

  11. I'm new to ladder logic and I have a question about Timers.

    I have a variable 4 (Timer T10) who should count down a predefined time.

    If I set this variable type to Current then the IHM show me the time.

    If I set it to preset then I can change the time with the keyboard but the IHM do only show the value.

    But the count down do not work anymore.

    Question: How can I use this same variable as input for the keyboard and should show the count down on the display?

    I'm not using the same IHM for the input and the count down.

    Many thanks in advance for any help.

    Regards

    Otto

    Make 2 displays that essentially look the same but one is current and one is preset with the keypad entry forced. For example, screen shows the current value, pressing Enter jumps to a similiar screen but the variable is the preset and once entry is completed jump back to display with current value.

×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.