Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Ofir

  1. Hi John, When using the advanced web Server once you have applied a password, the application will request this password each time the user: * Accesses a new page hosted in the PLC * Enters or modifies data on a page In order to avoid this please read pages 9 & 10 of the attached documnet. Enhanced PLC WebServer.pdf
  2. Did you check with the supplier of this motor whether it is possible to change these parameters using SDO commands? If it is not possible then you can try doing it using CAN_LAYER2 protocol. Baiscally using "CAN_LAYER2 Send" command you will just need to enter ID and data you wish to send to the device.
  3. Hi, First of all make sure that the Node-ID and Bit timing parameters are not configured using dip switches. If indeed these parameters can be configured via SDO then take a look at EDS file and find the index which is related to NODE ID and the one that related to Bit timing. Now when you have this information first you need to set the device in to Pre-Operational mode. Then you can use SDO Download command for changing the Node-ID and Bit timing parameters. You can find an example for CANOPEN in VisiLogic--> help--> examples -->communication--> CANOPEN which includes function to switch the CANOPEN device to stop/Pre-Operational/Operational modes and also sending SDOs example.
  4. Hi, No, the Email function does not support SSL encryption. You will need to use a mail server that use login or plain and of course mail servers which do not require authentication.
  5. Hi, First make sure that you are using the latest system files of the V570 according to VisiLogic. PLC not reponding to the SMS message can be caused if: - The message was not sent exactly as configured in SMS configuration. - Signal quality was under 13 Anyway you can check status message operand of SMS configuration - see help SMS operands. If you are able to simulate the error you got please send a mail with the application to support@unitronics.com and we will check it.
  6. 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
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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"
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. 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
  17. 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)
  18. Hi, Jazz has ALL operands battery backup - expected for about 7 years! The operands values are kept and power failure will not affect it.
  19. 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.
  20. Hi sgull, We are considering this option but still do not have a decision yet.
  21. 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.
  22. 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
  23. 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.
  24. 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.
  25. 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
  • Create New...