Jump to content

Ofir

Members
  • Posts

    377
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by Ofir

  1. Hi, The RTC values are in SI30 - SI38. The date is in SI32 so you can use it in your ladder code to compare it with your reuired value.
  2. Hi, What do you see on the HMI? After downloading applicaiton, do you see the right display? If you are able to communicate with the PLC, go online (debug mode) and check if SB16 turns on when touching the screen.
  3. What is the size of the setup file you have downloaded? Make sure that the download was completed successfull (the file size is around145Mb). Then make sure you are installing VisiLogic with administrator rights.
  4. Hi, Did you make any changes to the application or did you download it as it is? If you establish connection with the PLC via VisiLogic do you also lose ping after the connection is done? Try to do the same test with a cable connected between the PLC and our PC. (It doesnt matter if it is cross or straight) Beside of socket1 you have another 3 sockets which you can configure as you like. For example socket 3 by default is TCP slave port 20257 so you can use it for communication with VisiLogic. It is better to leave socket1 for the Web Server since the Web soubrutines logic is already linked to this socket.
  5. Hi Ari, Please note that the indirect phone number is in ASCII. Than means each MI contain two digits. If the maximum length of the number if 14 digits then you can set the maximum length to 14. Now each time you fill the vector with a new number, make sure to add null at the end of the number. For example if the vector starts in MI1000 and the number is +972544332211, MI1000 = +9 MI1001= 72 MI1002= 54 etc...
  6. Hi, As I understand you are trying to run the Advanced Web Server. In order to eliminate the router settings, try to connect your PC directly to the PLC. You do not need to change the socket setttings (Configured as TCP_RAW), just change the IP address, Subnet Mask and default gateway to match your network. Copy the files from the ZIP to the SD card in folder Web and download the application to the PLC. Now try to type the IP address of the PLC in the browser address bar and check if you can view the page. (first make sure you can ping the PLC )
  7. 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
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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
  13. 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.
  14. 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.
  15. 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.
  16. 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.
  17. 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"
  18. 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.
  19. 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.
  20. 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.
  21. 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.
  22. 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
  23. 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)
  24. Hi, Jazz has ALL operands battery backup - expected for about 7 years! The operands values are kept and power failure will not affect it.
  25. 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.
×
×
  • Create New...