-
Posts
377 -
Joined
-
Last visited
-
Days Won
21
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Everything posted by Ofir
-
how to detect if the date changes
Ofir replied to ohaldi's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
Retrieving code from a V350
Ofir replied to Dave Igo's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
WebServer need help.
Ofir replied to Valver's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
GSM number via vector with variable length
Ofir replied to Ladderlogics's topic in Jazz, M91 PLCs and U90Ladder
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... -
WebServer need help.
Ofir replied to Valver's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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 ) -
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
-
CANOpen ID config
Ofir replied to esoula's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
CANOpen ID config
Ofir replied to esoula's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
PLC Emails
Ofir replied to Surya's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
V570 and GSM modem
Ofir replied to Vidmas30's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
Trend data storage
Ofir replied to The Sparky's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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 -
Having trouble with SD Rename File
Ofir replied to TT_ZX's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
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.
-
CanOpen Ds402
Ofir replied to Ziwi's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
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"
-
PCOM - Questions ( Consistency and Ethernet )
Ofir replied to Manfred's topic in Unitronics PCOM Protocol
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. -
V280 + E-Mail Table
Ofir replied to OLAF's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
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.
-
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.
-
CanOpen vs Modbus
Ofir replied to Ziwi's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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 -
No SD Card found
Ofir replied to PCSControls's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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) -
Hi, Jazz has ALL operands battery backup - expected for about 7 years! The operands values are kept and power failure will not affect it.
-
Problems with displaying alarms
Ofir replied to zeljko's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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.