Jump to content

Eyal Koren

Members
  • Posts

    259
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by Eyal Koren

  1. Eyal

     Thanks again for your support. I truly appreciate it.

    I wasn't sure how to attach a file to this post so here is a link to the files dropbox location.

    https://www.dropbox.com/s/9btz1a8xj8aqjva/Railcar%20Control_Main_11.vlp?dl=0

     As a reminder I was able to print the ladder report the problem lies in printing the HMI report.

    I am curious what the hang up is so I can try to advoid in the future.

     

    Thanks again

    Michael

     

    Dear mrdegold,

    I referred your application to our R&D department. They found a bug in Visilogic that caused it to crash and already compiled a fix for this issue.

    This will be solved in the next release of Visilogic, which should be out soon.

    Thanks again for making Visilogic better.

  2. Hello,

     

    I currenlty busy with a project Unistream 7" + 2x 8DI/DO and a EX-RC1 + 3xPT4x, 2x4AI2AO + 2xAO6. Followed the instruction on the webinar.

     

    What took me some time was that you have to upload a ladder programm with Visilogic to the EX-RC1. They don't show it in the webinar - because standard the EX-RC1 is pre loaded with a program - which has an auto configuration for digital inut and output. But when you want to use it for analogue input/output you should change it - by uploading the program in Visilogic withe the serial (9 pins) cable and RJ11 connector.

     

    When you follow the webinar - the example is shown for maximum of 16MI. In my case it exceeds 16MI - so I had to change the program. After a lot of 'trial and error' I came to a simple sollution by stripping most of rungs out - and only used the minimum of code. To get the second set of 16MI - you have to change the start adresse by adding 16 (so 1016=start adres first vector, 1032=start adres second vector), and bassicly follow the instruction in the webinar.

     

    When the first vector is sent/receive through the canbus MB0 and MB1 blocks the sent/receive off the second vector.

     

    I attached the visilogic file - feel free to use it - or comment on it - I'm not an experienced programmer so constructive criticism is welcome.

     

    Hi HVG01,

     

    In the EX-RC1 webinar there is a comment regarding applications with more than 16MI's for I/O status. However, indeed there is no good practice of how to implement this in the EX-RC1.

    In the attached zipped folder you will find a sample Unistream project, EX-RC1 application and hardware configuration files.

    This example will be added to the standard Unilogic examples library.

    Unistream_EX_RC1_more than 16MI.zip

  3. I tried using the Read/Write Mixed Data FB today and it works well. One issue I came across was an offset when reading the slave registers. I was trying to read 200 MIs (MI 3700 - MI 3899) but when I entered MI 3700 into the FB, the data returned starts at MI 3701. Obviously it is easy to just start reading at 3699 instead and that worked properly, but should that offset be expected? There was no offset when I wrote MIs, just on the read.

    Hi Flex,

    I was just testing the Modbus IP R/W Mixed Data FB and I didn't encounter the issue you reported.

    Can you please post your application and mention the PLC's you are working with?

  4. Hi CFBFP,

     

    In general, CANopen has a success bit for NMT, Emergency, TPDO and RPDO commands.

    However, SDO commands does not have this acknowledgment indication. 

    If you cant use PDO commands in your application, you can try the following:

    Use SB242 (CANopen SDO in Progress) and SB243 (CANopen SDO transfer failed) to create logic that will resend a command in case it failed to send.

  5. Hi,

    To be able to log alarm history on the V350 you should add an SD card to the PLC. The text below is taken from Visilogic help. Please look into it for more details.

     

    Store Alarms History to SD

    If a PLC contains an SD card, and the PLC application comprises Alarms, the PLC stores the first 8 Alarms in RAM, and then automatically transfers them to the Alarms folder on the SD card. You can view the Alarms file on PC via the SD Tools utilities.

    When the PLC writes this type of data to the SD card, it creates a file with the extension .ual  in the Alarms folder.

    To cause the PLC to write the entire Alarms History to the SD Card, turn SB 352 ON in your application.

    An Alarm is added to the History buffer after it has:

    • become Inactive

      and

    • has no Pending actions: View, Acknowledge, Reset.

    The History display records the time the Alarm became active, the time it became inactive, and when Acknowledge and Reset were performed.

  6. Thanks Eyal

     I've tried your sugestion. In fact to assure I had followed your directions correctly I have tried several time. I am still unable to print a report with the setup that I discribed earlier.

    What I have found is that the problem seems to be while attempting to print the HMI. I was able to print a logic only report. Then while trying to print a report on the HMI I could print 1 or 2 screens then I got the same errors when I went to the third screen.

     As before any help would be appreciated.

    Thanks again and Happy Holidays

    Michael

    Please ensure that your User Account Control settings are switched to Off.

    Also, you are welcome to post your application here and I will try to print is on my desk.

  7. Eyal

     Thank you for getting back to me.

     I believe I am running the most up to date version of visilogic as you can see in the attached "About.gif" file

    The "Printsetup.gif" shows the setup I'm trying to use to print my report.

    As I said it appears that visilogic is spooling the information to create the report at which point I get the errors as seen in "Error1.gif" image. When I click ok on the first error I get the error dipected in the "Error2.gif" image at which point visilogic shuts down. When I restart Visilogic I get the message that It was shutdown improperly and would I like it to recover

     I apprecaiate any help you can give me.

    Michael

     

    Please re-download Visilogic from Unitronics website and follow these instructions:

     

    Backup you projects and delete all the files related to Unitronics installations.

    ·         Erase the “Unitronics VisiLogic_C”  folder  from- C:\Program Files\Unitronics

    ·         Erase the “Unitronics”  folder  from- C:\Program Files\Common Files.

    ·         Perform Windows update and restart the PC

    ·         Log-on as administrator

    ·         Save the setup file on your desktop and make sure that the installation file is not blocked (Right click on the file>Properties) If yes, just click on the unblock button

     

     

    ·         Install VisiLogic.

     

    After the installation is done, go to the properties of VisiLogic shortcut and under compatibility ticked verify the privilege Level “Run this program as an administrator”.

  8. Hello,

     

    I'm studying an example project and I found one thing that it's not crystal clear to me. It's about analog inputs.

    MI0 is a 10-bit 4-20mA analog input, so you have to use 204 to 1023 (820 units) for the linearization. In the net above it, it's checking whether the signal is between 190 and 1040. I believe it's checking for underflow/overflow. But why 190 and 1040 values? Why those values are used and not others?

    Same situation with MI6, a 12-bit 4-20 mA analog input. 819 to 4095 (3277 units) for the linearization and 800/5020 for the underflow/overflow detection.

    Maybe those values in the example are not correct. So, my question is how do you calculate analog input values for the underflow/overflow detection. In Siemens there is a table with those values (see attached), but what about Unitronics? I wasn't able to find such table.

     

    Regards,

    Giedrius K.

     

    Hi Apollas,

    The over/under range values are determined by each product separately.

    To find these values, you should look in the products specifications found in http://www.unitronics.com/support/technical-library

  9. Hi,

     

    Please follow these instructions:

     

    Note that you need to install the software while the Windows UAC is OFF and after rebooting the PC.

    (VisiLogic V9.7.24 recommended)

    Turn OFF Windows UAC.

    1.    Delete the file Current_OPLC.udb from: C:\Program Files\Unitronics\Unitronics VisiLogic_C\Data\DB

    2.    Backup you projects and delete all the files related to Unitronics installations.

    3.    Erase the “Unitronics VisiLogic_C”  folder  from- C:\Program Files\Unitronics

    4.    Erase the “Unitronics”  folder  from- C:\Program Files\Common Files.

    5.    Perform Windows update and restart the PC

    6.    Log-on as administrator

    Save the setup file on your desktop and make sure that the installation file is not blocked (Right click on the file>Properties) If yes, just click on the unblock button:

     

     

    Install VisiLogic.

     

    If software opened properly, Go to the properties of VisiLogic shortcut and under compatibility ticked verify the Privilege Level “Run this program as an administrator”.

     

  10. Hi

    I am using a V350 - j- TRA22 PLC.  I want to use remote operater with 3 computers. i am using a ethernet port with plc

     

    1. 1st computer is in the control roon from there the operater will see the status of machine and control it.

    2. 2nd is in the quality control roon from there the quality person will just see the status of machine and quality related parameters (no control from there)

    3. 3rd is in the production managers cabine form there he will just see the status of machine and production related parameter ( no control from there)

     

    The 1st computer will be connect to plc 24X7 , but the other 2 will be connected to the plc as per there requirement.

     

    You can also suggest any other good option for this application.

    As I explained, you can use up to four different devices over the Ethernet network. You can define different port for each device and communicate as you will...

    Please see the attached application. I sets up four sockets with consecutive ports 20255-20258 for TCP communication. All you need to do is define the IP address, port number and PLC name to open a connection.

    V130_4_Ethernet_Slaves.vlp

  11.  

    I'm not sure if this is the sort of suggestion you are looking for on this subject but I'll put it here anyhow.  I think it would be great to have some statistical calculation functions. If there was the ability to read a vector/array of values and determine the statistical profile, that would be excellent! The values that would be most helpful I think would be those that are available in Excel when using the statistical analysis tools such are seen here (http://www.real-statistics.com/descriptive-statistics/descriptive-statistics-tools/ )

     

     

    Please see the attached application. I assembled it according to the "Descriptive Statistics" feature in Microsoft Excel. You may find it useful.

    Statistics_04_12.ulpr

  12. Hi Uni Guru

    As i am using V130-j-TR20 where i get 3 HSI shaft encoder option, if i connect the the z to 2nd counter then i only can connect 2 encoders to the plc or may be only one if i want to use the z ( index) for 2nd encoder also.  

    Unfortunately, with this configuration you will only be able to set one rotary encoder with index input. The other encoder will not be able to use its index input.

  13. Hi,

    With the Vision series, you can connect up to 4 devices via Ethernet, where each connection occupy one socket. Remote Operator opens the socket and keeps the link connected.

    If you want to create more than one connections to the same PLC (I would like to know what for exactly) you will need to create different connections from different sockets.

  14. Hey Eyal,

     

       Thanks for the quick response.  I am using a UniStream 10 with unilogics.  Does this still have the same limitations?  Is there a manual for the array instructions. 

     

    Thanks

    Paul    

    Unistream works in the same way. You will find explanations regarding data tables in the Unilogic help file.

    If you still need assistance, I will be happy to help.

  15. You can use an offset multiplier to simulate a 2 dimensional array with a vector.  It's really how 2d arrays work anyway, just takes a bit more coding effort.

    Array2d[width][Length] = Vector[(width*rownumber)+column number]

     

    So using an array of 4x4"

    (*Note this math assumes 0 as vector/array as array first element.  Also, based off C notation)

    Position[4][2] is the same thing as position [4*(4)+(2)]

    Element[4][2] = vector[18]

    Element[3][3] = vector[15]

     

    An array of 50x30:

    Element[45][10] = vector[45*50+10] = Vector[2260]

     

    An array of 27x13:

    Element[14][26] = vector[14*27+26] = Vector[404] 

     

    Hi Cantcliff,

    That's quite clever. I didn't know that's how 2d arrays work.

    Anyway, it is much more simple to use data tables.

  16. Hi Sunit,

    I will answer your question in the order they were written:

    1. You are correct. There is no "Z" (or index) input for the shaft encoder. However, you can connect the second HSI as a counter and program it as "counter reset".

    2. I cannot find much sense in starting/stopping the counting mechanism (please please prove wrong). What you can do is to store the counter values into another operand, and work with the new operand. This way you can manipulate the second operand as you will, while the actual counter is not affected.

    3. The solution above also works for this one.

     

    If you have further questions please post them here.

  17. I am looking for help with array instruction set.  I need build an array with 500 columns and 10 rows.  I need to make it so the operator can search by info in the array.  is there a manual on the instructions on the different array instructions.

    Hi,

    First of all, two dimensional arrays are not available for Unitronics products. There are one dimensional array's available, usually referred to as Vectors.

    Second, in the M90/91 PLC's there is a small database for storing integer values, but it will not suit your needs because you need 5000 cells for your application.

    Finally, there is a very useful solution in the Vision series: the Data Tables feature enables you to store all values up to 192KB (depends on the model) locally, including easy store and retrieval of data. You can store any data type you like, export/import to Excel files and much more.

    For your convenience I attached the relevant topic from Visilogic (the Vision PLC's development environment) help file.

    data tables.pdf

  18. There are many different machines but the ones we are looking to replace the PLC and HMI in have 5 digital inputs and 4 digital outputs also they have2 analog inputs and 2 analog outputs for speed refence and temperature control through an rtd module. Temperature range should be 200f-600f The screen size is 3.5 inches and the resolution needs to be probably 14 bits for better control. I am in North America but the machines are world wide and many different enviroments. I work in the rebuild facility but am looking to get into new product development. I am educated in Allen Bradley brand of PLC's and HMI's but think this could be a very good replacement and I'm willing to experiment for the good of the company and would be doing this on my own to present to the right people.

    For these requirements I would recommend the Vision V350-35-RA22. 

    The short specs will be:

    3.5" color touch screen (320X240 pixels).

    8 DI

    8 DO

    2 AI 14 bit resolution, jumper selection between 0-10V/0-20mA/4-20mA

    2 temperature measurement inputs (either PT100 or thermocouple)

    2 AO 12 bit resolution, jumper selection between 0-10V/4-20mA

     

    Expansion port for adding I/O modules.

    Communication - one RS232/RS485 communication port. Optional communication modules available.

     

    For your convenience, please see the product page here, and a comparison table for the V350 here.

     

    I also referred your details to our branch in the US.

  19. Hello Brian,

    Thank you for your post.

    Unitronics offers various products that supports your configuration, with the main feature being an "all in one" solution of PLC+HMI combined.

    Please write a detailed description of your system, including the following:

    1. Number of I/O's - digital and  analog ( with analog IO's please mention desired resolution in bits).

    2. Desired Screen size and technology - There are several screen sizes available, from 3.5" to 12.1" (in the "Vision" series). Most models consist of a color touchscreen, some of them have combined touchscreen and physical buttons and some are non touchscreen. Please define your requirements.

    3. Environmental requirements - IP class, temperature ranges etc.

    4. Please state the country you are operating from. We can connect you with our local distributor.

     

    Best regards

×
×
  • Create New...