Jump to content

Ofir

Administrators
  • Content Count

    371
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Ofir

  1. Hi Matt, In general these kind of errors are generated by watchdog timer in case the controller exceeds some predefined time and didn't pass trough Scan end. The reason can be too long code, internal loop, logical error. In some cases, it can be related to external events, like switching contactors, solenoid valves and power relays, motors and motor drivers, welding works around… Does it happen on specific action or randomly? Can you simulate this error? Does the same error occurs when the V570 is on your desk? Where the PLC located? What is the environment? Please check the following: Calling to displays and alarms displays are with one shot condition only. Calling a label and creating internal loop Calling to subroutines in a way that you create loop between subroutines and never go back to main routine. Make sure that you are using the latest VisiLogic version 8.6.3 and OS version 3.1(30).
  2. Hi Vidmas30, It is really hard to undestand from the description of the register the right addressing. Please make sure that you are looking at the MODBUS addressing and not in other protocol addressing. Usually in slave addressing table you will find the MODBUS command number, register address and legal parameters. Can you post a screen shot of this table?
  3. Hi, If you wish to use Ethernet it seems you will need to choose in the Red Lionthe protocol Unitronics PCOM ASCII TCP/IP Master. The V350 basically can stay with the default socket settings. PCOM is the default protocol of the ports and if the Red Lion supports it then you dont need to change anything. Of course you need to remove the MODBUS from this socket. You can set an application which has only --|SB2|-- TCP/IP card INIT -- PLC Name. Then the Red Lion should connect to the IP address of the PLC and port number 20256. (It can be also port 20257 or 502) Check with the Red Lion supplier which other settings you should set for communication.
  4. Hi, Syntax of a Tag: The syntax of the tag is combined from PLC name dot operand name and address. In your case if the PLC name is PLC1 and you wish to use MI1 then the tag name is PLC1.MI1 You can find also detailed information in UniOPC help under topic OPC Client: Item Syntax TCP Call Vs TCP Listen TCP Call - The PC (UniOPC) will initiate the connection with the PLC. (The PLC must have at least one socket configured to TCP slave) TCP Listen - The PLC will initiate the connection with the PC. (The PLC must have at least one socket configured to TCP master and using the function TCP connect) In most cases you will use TCP call meaning when you start UniOPC it will connect to the PLC.
  5. Hi, Currently there is no option to renumber the Alarms IDs.
  6. Hi madox, It seems that somehow the data is written instead to a CSV file to the folder itself.. Which VisiLogic version are you using? Which OS installed on the PLC? The latest VisiLogic version is 8.6.3 and you can download it from: http://www.unitronics.com/Data/Uploads/VisiLogic_Software_New/VisiLogicSetup_8_6_3.exe It seems that you will have to delete those subfolders/files (40;32,5) manually. Then please update the PLC to latest OS 3.1(29)and start testing again.
  7. Ofir

    OPCEnum as Service

    Hi, Are you running both UniOPC server and the Wondeware on the same PC? If yes then you do not need to use OPCEnum. Please note that there is no option to tun UniOPC server as service.
  8. Hi, Do you need the each digit as a number or as ASCII? If you need it as number then you can divide the number by 1000 then 100 and 10 and put the resutls in 4 MIs. If you need it as ASCII you first need to convert the number to ASCII you NUM to ASCII function (Strings menu)then using the function Map register bytes you can set in each MI one byte which is one character. Later if you need to send each character to a different sub index then you will need to excute the SDO download 4 times. You can prepare a data table with sub index ID and character and each time before sending the character you can check from the data table to which sub index to send.
  9. Hello, When sending Emails with attachment from the PLC via some mail servers to Gmail account the attachment somehow is received as raw data inside the body of the message and not as attachment. We noticed that there are some mail servers which the attachment received in Gmail account properly. Currently the fix is not scheduled - please refer the above information is a known issue.
  10. Hi, If you wish to send the customer project which will be downloaded using SD card then follow the below steps: Open the application using VisiLogic Under Project menu select the option "Create project files..." In the first Tab "Clone File.." if you wish to create only application file then select the .V57 option and click on create file Then you need to put this file .V57 in the SD card in folder User_App. (Basically you can send the customer the SD card or send him the file and he will put it on his SD. (Make sure the customer SD card is formatted properly) Now the customer can insert the card to the PLC and from Info mode --> SD --> Application -->upload to PLC After performing the above steps the application will be loaded to the PLC. Another option is to use the Unidownloader.
  11. Hi, Basically when you get the IP address of the mail server you need to know also the port number it is using. Besides of port 25 there are also servers which work on port 587 for example or other number, you can search this in google. Anyway please note that Gmail mail server based on SSL encryption which we do not support. We support mail servers that require authentication type login or plain and of course mail servers which do not require authentication.
  12. Hi Daminan, The Data Tables function is excuted even in the same net you placed it. That means that in the next element after the Data table function (In the same net ofcourse) the values are already updated.
  13. Hi Rick, Next time it happens, please make sure to get the status messages of this function so we will be able investigate this issue. Also please note that ejecting the SD and inserting it back also should release this system bit.
  14. Hi Stefan, If you wish each log to create a new line - set in the last row of the function "Create Delimeted line" the delimiters as CR and LF. \You can take a look at the example "SD_Card_Demo" in Unitronics Examples under SD folder.
  15. Hi Rick, Which VisiLogic version are you using? Please make sure you are using VisiLogic 8.6.1 Which OS version are you using? Please make sure you are using the latest OS 3.1(19). Does this bit stucks always on specific system or randomly? What is the status messages value of the function "Write Delimited Line"? Please sure also that the max vector you configured in the function "Create Delimeted line" is big enough to hold the vector. (Try to increase the vector lenght) If you still face the same issue please attach also the applicaiton and steps how to simulate the problem.
  16. Hi, Actually there is an option to establish connection with the PLC via Ethernet even if you did not configure PLC name and TCP/IP card init in the ladder code. The way to do it is as follows: Go into info mode --> Ethernet settings Set IP address,subnet mask and default gateway to match your network settings. Set one of the sockets to TCP slave with port number 20256. (Basically you can set other port number) Then check in info mode --> Operands --> system double words --> the value of SDW9 From VisiLogic or other Unitronics software set in the connection parameters: IP address of the PLC, TCP port and the PLC name (SDW9 value) Now you should be able to connect. Bill: For investigating this issue with the "strange" port numbers which you got by default - please send us the serial numbers of those PLCs. Thanks.
  17. Hi Tim, Thanks for the suggestion. I passed it to Unitronics R&D for review.
  18. Hi RickM, Status 521 means that the path of the file is not found. This can be caused by wrong folder or wrong file name in Email function - Please verify. Does the same application run on all units? We will take care to update the Error list in the help file. Sorry for the inconvinience.
×
×
  • Create New...