Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Ofir

  1. Hi Maxim, I'm not familar with ICONICS OPC DataSpy but you can download OPC client which we use here for testing in order to determine that the communication works properly. You can download it from: http://ftp.unitronics.com/Downloads/OPC%20Client.exe Then use syntax as i mentioned before.
  2. Hi Maxim, As I understand SB148 is on when UniOPC is connected to the PLC. Did you check with other Unitronics software that the communication works properly? You can check using Visilogic the Ethernet communication using online mode. Please make sure you are configuring the Tags in OPC client with the right syntax. The syntax used to define the 'item' must be structured as follows:<PLCName> <ItemPrefix> <Address> For example if the PLC name is MAXIM and you wish to read MI10 then the syntax will be 'MAXIM.MI10'
  3. Hi, You can check the price of V130 with Ethernet port comparing to the M91 with this converter. Please note that using V130 Ethernet port you can open up to 4 sockets and of course this PLC has many other advantages such bigger screen, String library, SD card, Trends, Web Server capabilities and much much more.
  4. Hi Innov, There is no direct way to link the phone numbers to MB. You can use the indirect phone number for this application. The indirect phone number is linked to a vector of MIs. You can build a Data table which will be the phone book. Then each time you want to send the SMS to specific numbers, you will read the relevant number from the table and then send the SMS.
  5. Hi, i'm not sure why the value you send is zero. Are you using struct or Bit to Num for structing the data? Are you activating those function every scan? If yes then please activate it only when buffer of the relevant message is equal to 0. This is 8 bytes per PDO. For each PDO send there is a buffer of 8 messages. Yes you can write all PDOs in one scan.(you cannot send 5 PDOs - Unitronics CANOPEN supports 4 PDOs (PDO1,2,3 and 4))
  6. The PDO size (8 bytes) is a standard of CANOPEN and it is not limitation by Unitronics. You can check the EDS file of the CANOPEN device and see that the PDO size is 8 bytes maximum. The limitation of Unitronics CANOPEN is that it supports up to 4 PDOs. (PDO 1,2,3 and 4) As I mentioned if 4 PDOs (PDO 1,2,3 and 4)is not enough then you can use SDOs.
  7. Hi, Unitronics CANOPEN supports PDOs 1,2,3 and 4 so basically for each node you can send/receive these 4 PDOs. PDO is built to transfer specific data (Which can be configured by the user in most cases) and indeed its size is 8bytes which cannot be increased. Another way of reading/writing data with CANOPEN is using SDO. You have 2 types of SDO functions, SDO download (for writing parameters to third party device) and SDO upload(for reading parameters from third party device). Using SDOs in a matter of request & reply you will be able to handle vector of data. Please note that usually SDOs are used for programing and PDOs for exchanging data with the device but there are also users which use SDOs for exchanging data. Actually the memory mapping is determined by the CANOPEN slave device so using Unitronics PLC you can choose your options for handling the data either by PDO or SDO. VisiLogic offers also other functions for mapping the received/sent data in easy way. (For example the function Map Register bytes) Which third party device are you communicating with? Does it support MODBUS TCP? If indeed it supports MODBUS TCP and the registers you wish to read/write are continues then indeed using MODBUS you can send one command to read/write all of them.
  8. Hi Bruce, Attached is example application for multiple ID & passwords. This application based on a DT which contains the IDs and password and then according to the ID it will search for the right password. This applicaiton using password variable and the digits entered are not visible. password.vlp
  9. Hi, The resolution stated in the graph, is the actual resolution. It depends on many factors. For defined sensitivity and time, the stated number is the real one. The other numbers in the result are not relevant – not precise.
  10. Hi, Please note that there are 2 slave address tables, one for standard vision and one for enhanced vision. You need to use the Enhanced slave address table - please note that the addresses are in HEX. For reading coils i assume that the address will be 10001 + offset - Can you try it?
  11. Hi, If SB150 is going off that means the communication is lost. You can try set a value of 20 in SI110 (Socket 3 TCP/IP Connection Keep (units of 100 msec)). This SI enables the PLC to reconnect when there is no communication from the connected device for the defined time
  12. Hi, I tested your application using V570 as master and V130 as slave and it works properly. Please try using other MODBUS commands as appeared in slave addressing you posted above. (For example command 1 read coils) It seems that command 5 does not apear in the document you posted. You can try also changing the register addresses.
  13. Hi, Do you need to send the checksum as binary? When you configure the check sum in FB Protocol Send try to change the format (The first field combo box) to binary.
  14. Hi, Which VisiLogic version are you using? Which OS version installed on the PLC? Make sure you are using Visilogic 8.6.3 and the latest OS 3.1(30) If you still unable to use MODBUS with the device using V570 then attach the application you are using so i can test it on my desk.
  15. Hi, Does the power Led and the comm led on the EX-A1 are On? Usually the Run Led is blinking if the hardware configuration does not match to the I/O that physically connected. First of all did you configure in VisiLogic Hardware configuration the I/O you are using? Make sure that you configured the I/O the same order as it is physically connected. After configuration is done download the application to the OPLC. Note that both the OPLC and the EX-A1 must be connected to the same power supply. You can also review the EX-A1 manual at: http://www.unitronics.com/Data/Uploads/IO_expansions/EX-A1%2012-24VDC.pdf
  16. Hi, What was the result when you were using command Read Coils #1? What is the value in status messages? If you are still unable to communicate then You can try first communicating with the device using MODSCAN32 software (or other MODBUS master software) in order to locate if the problem comes from the PLC, wiring or the device. You can download MODSCAN32 from win tech: http://www.win-tech.com Then you need to connect the drive to the PC using Ethernet and set the right communication parameters in MODSCAN32 application. Please check that the communication works properly with the PC.
  17. Hi, First of all indeed you are right, I forgot to set SB168 on power up. Go to the operands window at the bottom and set in power up SB168 to 1. Anyway this system bit is not the cause for the status 5 - when SB 168 is link lost recovery. I took a look again on your slave addressing and noticed that for addresses 1-6 the MODBUS command supported is Read Coils #1. Try replacing the Force Coils command with Read Coils #1 and then test again.
  18. Hi, I created new application for V570 as MODBUS master which its IP address is and by pressing on the write button it will set/reset the relay in address 0. Basically after downloading the application you will need to press on the connect button then you should see "connected" indication on the HMI. you can change the value to send by pressing on the ON/OFF button and then by pressing the write button it will send the value to the device and change the state of the relay. V570 TCP master.vlp
  19. Hi, If you are not using ZIP file but EXE file for setup then basically you need to change the name of the folder in Program Files/Unitronics from "Unitronics VisiLogic_C" to for example "Unitronics VisiLogic_8_0_1". Then when you run the setup you choose the option repair. (Now the last version that you installed will be "Unitronics VisiLogic_C") Usually the error "Bad collection index" occurs due to a feature called UAC (User Account Control)in Vista or Windows 7 . Are you using Vista or Windows 7? If yes then download the documnet from the below link which explains how to disable the UAC. http://www.unitronics.com/data/uploads/VisiLogic_Software_New/Disable%20UAC%20Vista%20+%20WIN7.pdf
  20. Hi, Which PLC are you using? Which OS installed on the PLC? The latest version of VisiLogic is 8.6.3 - Make sure you are using the latest OS version. Does the "prepare PLC side modem" passed successfully? Does the SIM card has PIN code? As you mentioned this command related to Network Registration - can you test it with another SIM porvider?
  21. Hi, See the attached doc which explains how to work with the swapper. Using VisiLogic Version Swapper.doc
  22. 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).
  23. 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?
  24. 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.
  25. 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.
  • Create New...