Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Ofir

  1. Hi, The Trend history can be saved on the PLC RAM memory - Press right click on the trend in the system tree and you can decide how many samples you wish to save in history.Then you can view this history by pressing on the 'M' button you have on the Trend variable. Please note that the history trend which is saved in the PLC RAM memory erased after power cycle. You can use SD card for saving the trends and then view the trend on the PLC HMI or even on your PC. There is an example in VisiLogic --> Examples --> Project Examples --> SD --> V570_SD_Card_Trend_Read_Write_Append.vlp
  2. Hi, Which file type are you using? Usually this kind of issue can be caused if the file is still open for writing. For example CSV file is in open state to make write to SD card fast. To release it before rename, create a new temporary file by name i.e TEMP.csv then rename the old file.
  3. Hi, Basicall you can use the example "PLC to EX-RC1- Standard" but you will have to apply one change. In subroutine "INN" net#2 open the struct function and instead of I160, replace it to MB with free address. This means that the vector of integers you receive from the EX-RC1 will be extracted to a vector of MBs that starts with the address you indicate in struct function. Then you can use any if these MBs as codition in your ladder.
  4. Hi, Can you post the EDS file including the example? This can help other members which instrested in communication with FESTO using CANOPEN. Thanks in advance.
  5. Hi, Basically you need to use the function Swap bytes. (under vector menu). Since Swap Bytes does not support MF then you need first to use Copy memory function to copy the bitmap of the bits from MF to DW. Then you use Swap bytes on this DW and use copy memory to set it back from DW to MF.
  6. Hi, As I understand you wish to use Unitronics OPC Server for communicating V120 with the SCADA. You can download UniOPC server from: http://www.unitronics.com/Data/Uploads/software%20utilities/UniOPCSetup_201.exe Then you can find in OPC help file detailed explanation how to use the UniOPC Server. Basically you need to configure the communication channel (57600, 8 , N , 1) and add PLC. Please note that there is no automatic browse to operands - You will need to add the variables/tags manually. Review help topic "OPC Client: Item Syntax"
  7. Hello, 1. The PCOM requests are exceuted once per cycle and if the communication buffer can contain all the requested data it will be consistent. If the requested data is too large and the communication buffer cannot contain it all then it will take more than one scan to excute the request and then it can lead to inconsistent data. 2. If you are using TCP then only one client can be connected at a time to a one socket. Unitronics Ethernet card offers 4 sockets that means you will be able to communicate with 4 devices over TCP at the same time. Each one of the sockets can be configured independently to protocol, port number and client or server.
  8. Hi, You can send email from the V280 but of course there is no option to use attachments since V280 does not support SD. Anyway you can create ASCII vector with all the data. You can use string functions such as "NUM to ASCII" and "Insert String to String" to create the vector. (Also in order to go line down you can use CR+LF characters) You can send up to 800 characters in the mail content.
  9. Hi, Which Unitronics PLC model are you using? Please note that there are two different slave addressing tables. one table for the standard vision - V120/V2xx/V530 and one table for the enhanced vision - V130/V350/V560/V570/V1040/V1210 Under VisiLogic help --> MODBUS slave addressing you will find the two tables. You will see that for the standard Vision the ML starts with 5100 (decimal) and for the enhanced vision the ML starts with 7000 (hex)! Then you will need to add the offset of the ML address and 40001 for read holding register command.
  10. Hi, First of all you the GPRS example for connecting/Listening to other device. You can find the example under VisiLogic help menu --> Examples --> Project examples\Communications\GPRS\570_GPRS_Enfora_Via_Internet.vlp Then for sending strings over GPRS you can use FB Protocol Send. After connection is established with the other device (MB call status) you need to activate "PROTOCOL CONFIG" and then using "FB Protocol Send" you can send strings including variables from the PLC.
  11. Hi, In general CanOpen is nerwer modern protocol. CAN is a very robust bus and quite fast. If you are looking to develop something completely new, your own network, you can go with CAN. check also the link below for detailed Comparison: http://www.pacontrol.com/download/fieldbuscomp.pdf
  12. Hi, If the card is relatively old and probably is formatted to FAT16. Sometimes, in some computers, Windows formatter, which we use in our SD Suite, even when set to format as FAT32, remain the card in FAT16 and even don’t give any sign about the problem. Please try to format the card in other computers, or try the formatter of Panasonic http://panasonic.jp/support/global/cs/sd/download/sd_formatter20.html (After formatting with Panasonic, format again using Unitronics SD card formatter) Make sure that you are using the latest SD Card suite.(Download)
  13. Hi, Jazz has ALL operands battery backup - expected for about 7 years! The operands values are kept and power failure will not affect it.
  14. Hi, The Show Alarms function is defined to display all the active alarms as long as one of them is the alarm whose ID was entered to the function. You can basically use MI instead of contact ID0 and then each time new alarm is triggered you can keep in this MI the last alarm ID. (you can use FB events for this purpose. The other option is to use the Show Groups function which displays the group which was entered to it.
  15. Hi sgull, We are considering this option but still do not have a decision yet.
  16. Hi, Which socket and port number are you using? Make sure the socket is configured to TCP slave. Review the topic "What are the steps communicate with the PLC via Ethernet?(PC to PLC) "from FAQ. http://www.unitronics.com/Content.aspx?page=FAQ#faq8 You might face this problem due to firewall antivirus or other security programs that runs on your PC. Try to turn off any security programs and test again.
  17. Hi, When working with MODBUS over GPRS you will need to use "serial" MODBUS FB. After connection established between the PLCs activate the MODBUS CONFIG. Attached are examples for V130 Modbus over GPRS. (You can upgrade the applications to V1040 from project menu convert to color). The Modbus client GPRS application will perform the call to the Modbus server GPRS. (If you don’t have static IP then power up first the SERVER application check on the HMI what is the IP, then change in the client application the IP in GPRS CALL FB) 130 ModBus Client over GPRS.VLP 130 ModBus Server over GPRS.VLP
  18. Hi, Usually in systems where you have many tags and the update rate is critical, We recommend using MODBUS instead of UniOPC since there are only 2 elements (PLC and SCADA) and not third element between them. Most of SCADA systems support MODBUS driver and there should not be any problem to implement such connection. You will need only to set the PLC as MODBUS slave.
  19. Hi, There is no built in application for this function but it can be programmed using communication functions. The two V1040 will be connected by communication the main panel will transfer all the data to the remote panel and also whenn pressing on buttons on the secondary HMI it will send the requests to the main panel. The displays will be the same and according to the data the remote panel will show the same as the main. The communication can be either by Ethernet or CANBUS depending on the distance and area.
  20. Hi, There are 2 ways to send string as HEX. You can use either the control characters or using the variable stream. When using the stream variable you will need to link a vector which holds the values required. Attached is also example application for sending this string in both ways. send HEX.vlp
  21. Hi, The ways I described in my previous post will send the string in binary way. You can send the string from the PLC to Terminal application and check that you send the right sting. If you still unable to get a response then attach the ducmentation of the protocol.
  22. Hi, Upgrade the OS to the latest and test again. The latest OS is 3.4(25). You can update the OS from the Web from Visilogic help menu -->Check for updates --> Operating system
  23. Hi, If you wish to send the string as binary then you can use either the control characters or using the variable stream. When using the stream variable you will need to link a vector which holds the values required. See attached picture for protocol send using the control characters.
  24. Hi, There is no direct option to reset HSC which is on expansion unit. See the logic in the attached which implements reset for HSC.Instead of working directly with the MI that linked to the HSC (which you are unable to change/reset) working with the virtual HSC.
  25. Hi, If your encoder supports A & B signals (I hope so) you can select in Hardware configuration HSC as” Shaft encoder x2” or "Shaft encoder x4”. The first option – PLC counts the rising edges of A & B signals. In the second (x4) both rising and falling edges of A & B.
  • Create New...