Jump to content

Ofir

Members
  • Posts

    377
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Ofir

  1. 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.

  2. 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...

  3. 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 )

  4. 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.

  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,

    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.

  8. 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"

  9. 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.

  10. 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.

  11. 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.

  12. 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.

  13. 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)

  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.

×
×
  • Create New...