Jump to content

Igi

Members
  • Posts

    12
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Igi

  1. Hello, I use the Unitronics V350-35-T38, where port 1 is RS232 and port 2 is the ethernet card. When I had setup GSM modem on the port 1 and I had tried to download the program to the PLC I had got a message that I had to change the firmware (OS) in the PLC to the version which support ProfiBus and dial function. So I did that, but then the ethernet card was unavaible. I need both - GSM modem and ethernet card. I tried this in the latest version of Visilogic. Then I tried 9.6 version of Visilogic because in the past we used both and we used this version. I do not know why now it is not possible. Could you help me? Thank you in advance.

  2. Hello,

     

    I don't believe you can address the data table directly in the C function.  You would have to perform a 'read row from DTI' to put the row information into a tag.  Then pass this tag (which will be a struct) into your C function.

     

    It is important to note that when passing the struct into a subroutine, the struct will update with each scan since it is a passed in by reference.  You will not have to pass the struct back out - it will be updated as it moves through the subroutine.

     

    Hope this helps.

    Thank you, but it is possible to use directly DT, but in last version of Unistream you can choose type of input DT then in C code is automatically generated this structure:

    typedef struct

    {

      unsigned int BufferPointer; // BufferPointer

      unsigned int EntrySize; // EntrySize

      unsigned int Number_of_rows; // Number of rows

      unsigned int Signature; // Signature

      char Status; // Status

      char PadUInt[3]; // PadUInt

    } Data_Table_Indexed; // Data Table: Indexed

    but I do not know what to do with these members of the structure( I know C programming very well and I can work with structures etc.) . I mean how to get data from that. I tried to read from all, I tried to write one of them then read from the others etc...,  but I have got just garbage values...

  3. I have a datable which contains 400 rows. I need to display 20 rows. Now I am doing it manually but I think it is not a good way. I tried to do it with C function and UDFB but they do not support more than 10 outputs. Has the Unilogic a function to do reading from a data table in the loop and is it possible to read data table within C function? How to do it the easist way?

    Thank you in advance.

  4. Hi,

    1. Please send screenshots of this issue.

    2. Please send the details of your system - CPU type, operating system, system memory etc.

    3. Anyway, we recommend updating your Visilogic version. The current version is 9.7.9, and has a lot of fixes in it.

     

    Here are the details of my system:

    Win7 Professional, Service pack 1, 64bit

    8GB RAM

    Intel Core i7 4510U

     

    You mentioned updating Visilogic, I am not sure that I can because we use Uni350-35-r34 and we have older firmware in ( and we have o lot these PLC so it is not possible to update all of them). And second reason is all my company use version 9.3.1 when I create project in 9.7.9 version will they abble to open it?

    post-24658-0-08967000-1413954288_thumb.png

    post-24658-0-76980000-1413954293_thumb.png

    post-24658-0-83272300-1413954414_thumb.png

    post-24658-0-89469300-1413954426_thumb.png

  5. When I put operand(which has a operand description) on the screen in the ladder, then I cannot see operand description. If it is the description short, it is shown, but only when it is MB operand. I have 9.3.1 version of Visilogic on Windows 7. I have tried advices (changing resolution, size of fonts etc..) which were mentioned in the other topic but they has not worked. College has the same version, same resolotion of the screen, same OS and it works correctly but He did not remember if He changed some settings. Could you help me?

×
×
  • Create New...