Jump to content

Malcolm

Members
  • Posts

    24
  • Joined

  • Last visited

Posts posted by Malcolm

  1. Hi Splathappy,

    IO Link is an extension to existing protocols.
    You could use an EthernetIP Field coupler that speaks IO Link to make it work.
    AXL E EIP IOL8 DI4 M12 6P  From Phoenix Contact can make this happen for you.
    BTW IO Link is definitely something great to look at!

     

    Best Regards,

    • Upvote 1
  2. I am communicating to a remote IO system not from Unitronics.

    This IO System has 16,32, and 64 Digital Inputs or Output Modules but will only receive the information in 16bit registers via modbus in holding registers.

     

    In order to translate digital values to registers I can use the num to bit or bit to num option of the unistream but I am bound to using an array of bits to use it.

    I have my variables declared differently in my program therefore I need to use a lot of programming space and time to do it.

     

    For example let's say I have variables named Valve1Open, Valve2Open, Valve3Open, ect.

    First I need to create an array of bits ex OutputArray[0..16]

    Then for each variable I need to do: 

    Valve1Open == InputArray[0]

    Valve2Open == InputArray[1]

    Valve3Open == InputArray[2]

    ...

    and so on.

    Then BitstoNum from OutputArray to get my OutputRegister to use in modbus.

    For projects with multiple modules than can take 100-200 IOs or more this can get frustrating. 

    I would like to use a UDFB to put in all my variable names and just get 16 bit register as a result and reuse the block to reduce time,space, and variables.

    Therefore I need at least 16 inputs/outputs on the UDFB.

    But I could find more applications for UDFBs with more that 10 Inputs and Outputs.

     

     

  3. Hello Ofir,

    I am using the socket 3 init function for the Modbus Socket. This is because sometimes the Modbus TCP will "freeze" and this has solved my problem in the past.

    SB1698 is active.

    I am using socket 3 for the Modbus. And socket 2 for the Remote Operator. Socket 2 Init is only used in power up.

    I am using the latest version of Remote Operator.

    I already tried the timeout settings but has not helped.

  4. Hi guys,

    I am experiencing a problem with the remote operator. I had a V280 with ethernet card using 3 of the 4 sockets. One of these sockets assigned to the Remote Operator and never had a problem.

    I used the last socket adding a Modbus TCP Master to it. Now I sometimes get a com error in the Remote Operator station although this is very rare maybe once or twice a day. I can connect back just by clicking on the RUN button again. The problem is the client does not want to be reconnecting. He sees this as a negative issue.

    Do you have any recommendations?

  5. Hello Tester2,

    I have had similar issues with this. Once connected you should not have any problems as long as the LAN is stable.

    To connect I have had to use SB 7 right between your open contact of MB 7 and SB 142. Don't really know why but this has solved my issues before.

    If you keep getting disconnects then you have LAN problems in this case try using a positive pulse in parallel between TCP CARD INIT and TCP/IP Socket Init.

    Attached is a screen shot of the positive pulse thing. The INC function is a counter to keep track of the down times.

    I this doesn't work may I see a copy of your program to mgarcia@rydindustrial.com

    Regards,

    post-120-029565800 1292862128_thumb.jpg

  6. Thanks Malcolm but this is not my target. I have other projects with Ewon modem-router instead of a simple modem GPRS.

    The question is if I can use the V130+modem gprs like a Modbus TCP/ip slave

    Hello Nacho,

    You can use the a GPRS modem for TCP/IP Slave comunication using a VPN tunnel. The model I suggested is a GPRS/GSM modem, router, firewall and has the ability for VPN tunnels. I do not know of the Ewon but if it supports VPN then it is posible to make a "Local Area Network" using the internet and the modem as gateway. I have a presentation but it is too large to post if you want it please let me know.

×
×
  • Create New...