Jump to content
  • Member Statistics

    Total Members
    Most Online
    Newest Member
  • Topics

  • Who's Online (See full list)

  • Posts

    • Hello, I didn't want to mess around with my Windows settings, so I simply left it that way and didn't use a meter. I learned to work without a scroll bar by using a lot of subroutines. However, nowadays I started experimenting with VirtualBox, as I wanted to learn to work with Linux (which is supposedly better for constant serial I/O with PLCs and running one script with database all the time), and I thought of an interesting solution. I installed Windows XP on VirtualBox, and Visilogic works on XP like a charm with no problems whatsoever! So if anyone experiences the same problem, this is one of the solutions.  Here is a tutorial that shows how to install a VM with Windows XP: https://www.youtube.com/watch?v=_GYeqWEHzZI  After that, all you need to do is install .NET framework 4.0 on VM from here: https://dotnet.microsoft.com/download/dotnet-framework/net40  After that, you can install any version of Visilogic and you are good to go. I recommend doing what you need to do in XP and then transfer the .vlp file to your main OS to continue working there. I also found a lifehack that will make transferring data between VM and your computer a lot easier: Use a flash drive, fill it with things you need to transfer to VM, then connect it to VM. Then, in VM, fill it with things you need to transfer to PC and disconnect it from VM. (Note: the flash drive needs to be formatted to FAT32 so Windows XP can read it) I didn't test if it works on Windows 7 as well, but having a Windows XP is convenient because it doesn't take much space (and also, it can bring you some nostalgia). Best regards, Š.K.
    • I'd turn attention to the message format.  You have a message length of 20 characters in the protocol scan, but the message is only 3 characters, including the CR (0D hex).  Reduce your message template to 3 characters and you should see something better. In terms of decoding, you have at least 3 options: 1. Read the raw message then use logic to pull out the 2nd character as the data.  As Aus suggests, you can use the "P" and "R" messages as a redundancy measure.    Set the steam variable to put one character per integer.  that way the second integer in the vector will hold the ascii value of the key that was pressed. 2. Create a variation of the template where the first and last characters are fixed text, and the centre character is linked to an MI.  You would need two templates, one for the "P" messages and one for the "R" messages. 3. Do the "brute force" method and create 24 individual messages and use the "Index of received message" to tell you which key was pressed or released.  Example below for the digits 0...3    
    • Thanks for the reply Aus, I'm still stuck on the Scan protocol. MB2 does not increment so I think I'm not setting something right. Any tips on how to set up my scan protocol to read this message? My MI2 reads a -1 - I read on this thread that that happens when data is coming in but doesn't match the scan protocol? Thanks in advance. Gate Control 0.1.vlp
    • Any update on this topic? Hoping to find out if this feature has been developed or if it is planned for development?
    • Hi there! I have simple task of readibg few registar in each of 80 modbus rtu slaves via rs485, and than writing some registar to them. Basicly it's bit for on or off and speed reference, so nothing new. Thing is, with unistream for example b3 model with add on rs485 io, would i have problem doing that on 80 slaves? I worked with visio and i know there were sojme task about time to wait between reading or writing to each slave. Is it same on unilogic, or i can just read all slaves, put data on registar, do something and than write other back to slaves? I know datasheet says slave number is unlimited but would like to hear opinion or some idea.    Thanks!     
  • Blog Entries

  • Create New...