Jump to content

Ofir

Members
  • Posts

    377
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Ofir

  1. Hi,

    You can use a timer for controling the rate of the pulses.

    Each time you can change the timer preset according to the required rate.

    Connect inverted contact of a timer to a coil of the same timer. This will create a pulse generator according to the timer preset.

    Then use a direct contact of the timer to activate your output.

  2. Hi,

    As you already mentioned you can check in SI225 (SDO status) that there is no error (equal to zero).

    There is another system bit SB243 which indicates SDO transfer failed when it is on.

    Please note that the PLC has CAN sniffer built in inside INFO mode where you can see all transmit and received CAN messages!

    Using the new VisiLogic 9.3.0 you have also the option to sniff all received messages to a data table - Please help topic CANbus Message to Data Table.

    Please see detailed information about the difference between "Domain Segment Transfer" and "Block Segment Transfer" in the below link:

    http://www.softing.com/home/en/industrial-automation/products/can-bus/more-can-open/service-data-object/download-sdo-segment.php?navanchor=3010619

  3. Hi Flex727,

    Unitronics Ethernet card supports 4 sockets.

    According to your configuration you need to set in the master PLC two of the sockets to TCP master and one socket to TCP slave so that the PC will be able to connect it. (This will let the msater PLC to communicate with both slaves at the same time)

    For both slaves you need to set 2 sockets which will be TCP slave so that the PLC and the PC will be able to connect to it at the same time.

    Checking the status messages is good option. If you will reinitalize the Ethernet card then all the connections will be lost and you will need to reconnect both slaves. If you recognize communication problem then you can init the relvant socket.

    Take a look also on SIs 103 - 106 (keep alive) for setting in the slave PLCs.

  4. Hi BenB,

    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 internal loop, logical error.

    Does this error occur in all V130 PLCs?

    If yes then most probably there is some problem with the code.

    Are you using jump to label function?

    Make sure that there is no internal loop which will cause this kind of error.

    Anyway if you do not find the reason for this problem send the application to support@unitronics.com and we will check it.

  5. Hi,

    Which PLC are you using?

    Can you explain in more details what is the relation between the VB application and OPC server?

    Does the VB application act as OPC client? Does it has OPC driver?

  6. Hi,

    If all the 8 PLCs and the PC are connected to the same switch then basically if you will set to each one of the deivces IP Address in the same gateway then you will be able to connect from the PC to each one of the PLCs.

    In the ladder code add the function TCP/IP card init after direct contact of SB2 and configure IP address, Subnet mask and default gateway according to your network settings.

    Add the function PLC name after TCP/IP card init and configure your PLC name.

    Download the application and reboot the PLC.

    Then using VisiLogic, Remote Access or any other Unitronics software you can access to controller via the IP address, PLC name and the port 20256 or 20257 if you did not change the sockets settings.

    Please note that you can also configure each one of the sockets to other port number and TCP slave and later use this port number for connection.

×
×
  • Create New...