Henny

Members
  • Content count

    62
  • Joined

  • Last visited

Community Reputation

4 Neutral

About Henny

  • Rank
    Advanced Member
  • Birthday 06/15/1970

Profile Information

  • Gender
    Male
  • Location
    Netherlands
  1. Hello third option nw1 Probe Coiltemp -------[P]----------(. ) nw2 Coil Coiltemp Coil ----[./ ]------[ ]--------------(. ) | Coil Coiltemp | ---[ ]------[/ ] ---------| Not so nicely. drawn but I think you understand kind regards Henny
  2. Hello Aus Thanks for your positive feedback on this! But more annoying regarding the OPC topic that you referred to is that both Isak and I tried to help the topic starter and that Isak even took the effort to test it but until now no reply from the topic starter!! When I would start a topic regarding a problem that I could not solve by myself I would check the forum every day to see if someone has already responded and give an answer back. Also when I found in the meanwhile the solution myself then I would also post it to keep everyone informed. Kind regards Henny
  3. Hello Meelis Theoretically it would be possible to communicate with two PC,s and so two different UNIOPC servers to the V130 But not with the same settings. The V130 supports four ethernet sockets and for the required setup you would need two ethernet sockets. If you also want to connect over ethernet with visilogic , then his would occupy a third socket. Default settings in UNIOPC is the PLC name and port number 20256.(Is also default in remote operator and Visilogic) In both UNI OPC servers you have probably the same port number setting and that’s the reason why both your PC,s won’t communicate simultaneously to the V130. In the help file from visilogic you will find the default port numbers and settings of socket 0 to 3. Search for “socket init”. You also can find info in this help file what program code is needed in the V130 to override the default settings. Let’s say you don’t need the default configuration from socket 0 that is configured for UDP with default port number 20000 then to change this you need a socket init where the configuration is Socket 0 , Protocol=TCP, port number is 20258 , Client/Server=Server. In one of the Uniopc,s you also have the change the default 20256 port to 20258. If you don’t need Modbus tcp over ethernet you could also try to change the port number in one of the Uniopc servers from 20256 to 502 and then no extra program code in the V130 is needed because port 502 is default on socket 2 , TCP and server. Never tested it and I don’t know if things work with port 20258 or just another free higher number but les then 65535 but this approach is the only way I know to get it working. Kind regards Henny
  4. Hello Dave Then only way I see in this is to copy the Integer tag values into a buffertag and then copy the buffer tag into the string tag. Let’s say you have a tag called “stringvalue_int” and type is INT16[0..5] and the result must be placed in a string tag called “text”and type is STRING-ASCII length 6 Then you have to create a buffer tag let’s say “bufmemory” type is BUFFER[0..11] First you do is copy the value from the integer tags into the buffertag by calling six times a “copy tag to buffer” instruction. First tag=offset in buffer 0 Second tag=offset in buffer 2 Third tag=offset in buffer 4 Fourth tag= offset in buffer 6 Fifth tag = offset in buffer 8 Sixth tag = offset in buffer 10 Then you can copy the contense of the buffertag into the string tag with instruction “copy buffer to tag” If the value of a integer is OX3031 then string value will be “10” so if you want it to be 01 then you have to use extra dummy tags for byte swapping and use these dummy tags in the “copy tag to buffer” instruction. Kind regards Henny
  5. Hello Steven A quick scan through the manual tells me that this communication is not modbus but serial over RS 485. For this kind of communication you have to get familiar with the FB protocol. With this protocol you can build your serial Messages. On the Unitronics website you can watch webinars about using FB protocol. Hope it helps. Kind regards Henny
  6. Hello The problem is that when you have a Modbus master slave communication between Unitronics and another device established, that if the communication is interrupted by means of disconnecting the Ethernet cable or rebooting the master the Ethernet socket on Unitronics site maintains in status “connected”. So you have to check if the SDW,s are changing to determine if data is exchanging. When these SDW,s are not changing then you have to do a socket disconnect to allow the master to reestablish the connection again. So I think Joe,s question is , is there another way to eliminate this problem without adding the code for disconnecting the particular socket? Kind regards Henny
  7. Wrong collor otherwise it could be Herbie.
  8. Hello Forgot to attach the screenshot in my previous posting. Noticed that it,s a type mismatch MI59 and MI62 are swapped in the explaining text. Kind regards Henny
  9. Hello @For Unitronics plc you have to look for modbus rtu or tcp remote i/o, or the i/o modules offered by Unitronics. Canbus I/O can also be used by Unitronics. Noticed that Murr also offers Can open protocol so I think you would need this one then. http://shop.murrelektronik.com/en/I-O-Systems/Impact67/IMPACT67-COMPACT-MODULE-PLASTIC-55075.html I don,t have experience with Canbus but at least I know that for a V350 you have to order a V100-17-can module. Kind regards Henny
  10. Hello This is not possible because Unitronics plc can only act as profibus slave and the module you want to connect is also a profibus slave. I see a Unitronics plc with profibus card as a intelligent remote i/o device including Hmi that you connect to a profibus master. For Unitronics plc you have to look for modbus rtu or tcp remote i/o, or the i/o modules offered by Unitronics. Kind regards Henny
  11. Hello In the attached screenshot from the visilogic helpfile (version 9.8.22) explaining the function of the Vector get max function. I suppose there is a type mismatch regarding where the max value is stored. Help file states that the max value will be stored in MI59 but I think it should be MI62? Just a type mismatch? Kind regards Henny
  12. Hello for a TON timer you definie a tag from type Type "Timer". When you gave a symbolic name to it like "delaytime1" then delaytime1.current contains the elapsed time,delaytime1.preset contains the preset time and finally delaytime1.out is the output of the timer and changes to on if the timer has counted down to zero. When you add a second timer and uses the same tag for it then this results in the same behavior as when you use the same timer twice in visilogic. You also write that if you use different names (different tags) all works well so I think the adding the same tag too different timers is the problem here. I fully agree on Flex that long rungs are more difficult to trouble shoot and also difficult to watch the online status because you have to scroll through your screen from left to right etc while with a short rung where you have only 3 our 4 boxes in series you can watch status without scrolling from left to right. Kind regards Henny
  13. Hello You also changed the com init in your Logic to com1 and also in the modbus config fb? This because the units that worked used com2. On the other hand when com init is wrong you would not receive anything. I know this sounds like stupid question but one can sometimes forget too take a look at the most simple things. Succes Kind regards Henny
  14. Hello Jordy My first thinking is use a Mi that contains the number of the batterie that has to be charged(1-8). Use another mi that contains the bitmask. 1 = 0000 0000 0000 0001 2 =. 0000 0000 0000 0010 3 = 0000 0000 0000 0100. etc. Copy this bitmask with num to bit instruction to the outputs. Assuming that your outputs are fore example 01 = batterie 1. O2= batterie 2. 03= batterie 3 etc (addressed directly behind each other). To creatie the desired bitmask you can use the bitset instruction. Hope you understand the idea behind it? Kind regards Henny
  15. Hello Besides the filter function it would Also be an option to put si13 as a contact condition Before your linearisation function. Your input from the io card is then scaled only one time per second. Kind regards Henny