Jump to content

Kieran B

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by Kieran B

  1. Hi there

    Is there anyway to set a maximum time limit to allowing a remote access connection to be open for

    We are on a 4g connection etc all working normally but 1 of the operators keeps forgetting to close his connection, using up all the data

    So I was hoping there was a way to do this either in PLC ladder or from the Remote operator app?

    I am using socket 3 set up to 20256

    I have tried a timer running on socket 3 connected, that once timed out forces the socket closed, until socket is no longer connected, I have also forced closed for 30s

    However once these timers elapse remote operator just reconnects and carries on usually with prompts on screen

  2. Hi there, 

    I have to update program on a site where we already have 2x samba 43 in place, 

    I will need to poll some modbus values and show them on the displays from 4 RS485 devices, - VSD and soft starters, these will all be on a RS485 to TCP gateway, in my complete program

    I have made a separate working example of what i'm trying to do, by using 2 spare sambas i have, as a master & slave combo i just wanted to know if its the best practice way of doing it when polling the 24 to 30 different values needed

    I am also curious about the settings to do with SB168 Link lost auto recover, do i then need to set some time values in SI 103-110 to make it work properly?

    Any help or advice is always appreciated!

     

    network.vlp network slave.vlp

  3. Hi there,

    I have an installation with 2 softstarters that use rs485 modbus and an ethernet gateway that is the master of that ring

    I can send and receive all data needed using Modscan32 over TCP connection on laptop to both softstarters

    so far i havent been able to get a response from the softstarter when using the PLC - error code 5 and 4.

    SO I guess the question is, does the slave ID get sent along with the 'message' when using modbus ip function blocks, so the gateway knows where to forward the message?

  4. 15 hours ago, Saragani said:

    Can you please specify the OS on the PLC, and also attach the Visilogic project?

     

    Thanks

    Hi Saragani

    At this stage I cant confirm the OS version I will have to travel to site again,

    I believe it is the newest that came with the visilogic software 9.8.31 as I haven't been prompted for an update, and the PLC is only a month old

    As for the program I can email it to you apparently I am only allowed to upload .01MB and the file is 1.5MB

     

    Thanks Kieran

  5. Hi there I was using remote operator for a new v700 install

    When I went to enter a value onscreen the remote operator was using a different keyboard layout to the PLC and so couldn't enter the value correctly

    Photos attached for reference taken of PLC and remote operator, any insight would be appreciated

    also I am using the latest Remote Operator 1.0.60.0

    PLC.jpg

    Remote Operator.jpg

  6. There isn't such a feature in remote operator. My best idea of doing it with ladder would be:

    On each scan check the status of the socket that is used for connecting to the PLC.

    Also have another operand that saves the status on the previous scan.

     

    If old status was not "Connected" and new status is "Connected", then save the current time (UTC) in another operand.

     

    If old status and new status are both "Connected" and current time - saved connection time is equals or greater than, for example 30 minutes, then close the connection.

     

    On the end of each cycle, set old status = new status

     

     

     

    When closing the connection, you should close it for enough time for remote operator to fail (It has retries and timeout)

    Thanks for the reply.

    I was thinking down the same path so used the TCP close port option, after a delay had been reached using condition of SB148 socket connected status bit, then kept it closed for 30 seconds I could see in the ladder the socket was closed but remote operator was still working.

    Maybe I need to wait longer for the time out?

    I have attached the file I was testing with

    remote operator test file.vlp

  7. Hi I am using this software for a company to keep tabs on a remote PLC we have just had the issue where someone has left there computer connected on remote operator and so no one else can check on it, also used a bit of data,

    Is it possible to have a maximum connection time either in the Remote program or something I could add at the PLC end?

    Any ideas would be appreciated

    Kieran

  8. This is a strange issue that I have not heard before. If the code has been verified on other units, and the add-on RS485 works, I do not see a reason why there would be any problem with using the main connection.

     

    Do you have another V430 that exhibits the same issues?

     

    Have you used any different RS485 cables between the main COM port and the add on COM port that worked correctly?

     

    For further assistance please contact support@unitronics.com.

    I think I might have it!

    the add on port is an v100-rs4x so its isolated where the built in one is not, I am now trying to find an rs485 isolator to try in the bus to the plc and see if that helps otherwise I will just have to swap up to a v700 and use an add on rs485 port since the Ethernet is inbuilt.

     

    Thanks for your help

  9. How are you verifying the value in MI 141?

     

    It's strange to hear that the Samba acting as the master is successful while using the Motorola PLC is not. Does the Motorola have any special settings for serial opposed to Ethernet?

     

    Is that value being used or modified in the Motorola program where it can change from 36 to 19456 though another operation?

    By verifying I assume you mean looking at the value? I have the MI in a watch list and there are no actions set for that MI yet it will be stored into my program MIs when working correctly

     

    it seems that the Motorola is sending the values correctly because the add-on rs485 port works correctly on both the samba and v430 and get the 3 MIs filled correctly

    its just when using the built in port I have issues

    For testing I made up a basic program for both plcs and just swapped them over to see the results so no changes were made to the Motorola in between using devices

     

     

    I took a photo of the hex returned in info modes serial monitor and it was 1e 10 00 8d 00 03 12 4c on tx and rx but that doesn't means much to me

  10. Hi all

     

    I am using a V430-j-t38 with add on Ethernet card.

     

     

    The problem I am experiencing is with the built in Com port, I have set the dip switches to rs485 and  we use this port as a Modbus slave from a Motorola Ace3600,

     

    I am being sent a Vector of values in MI 141,142,143

     

    The problem is my plc interprets the information wrong and loads all the data into MI 141 as 19456

    when at the moment it should be 36, 1796 & 666 but the current values it should send don't really matter I seem to just get 19456

     

    The data being sent doesn't seem to be a problem nor does the PLC really because through testing we have tried,

     

    A samba running same code as v430 slave but with add on rs485 port - works correctly

    The V430 using an rs485 instead of Ethernet add on port - works correctly

    The samba as master sending data to the V430 through inbuilt port also works correctly

     

    The problem only is when using the inbuilt port connecting to the Motorola PLC

    Can anyone make any suggestions?

     

    I know its not the Modbus config or com init blocks because it is receiving data its just messing up the values somewhere

     

    Thanks Kieran

     

  11. Hi

     

    As usual I have taken on a job for a customer after the simple question: Can you make this work?

     

    So they have supplied me with an encoder (data sheet link below),

    http://www.beisensors.com/pdfs/H25-optical-absolute-encoder.pdf

    I was expecting and hoping for a standard ABZ type but instead was confronted with an RS422 type using native binary

    The code on the side tells me that its 12bits, natural binary, RS-422 serial asynchronous

     

    Is it even possible to use this type, I don't even know where to start connecting this one

     

    Any help would be appreciated

    Kieran

     

  12. Hi Shane

    Thanks for taking the time to reply but now I am really confused, :wacko:

    in the help information it said SI141 was to set the start of the vector now you are saying to use a set coil on SB141 instead

    Could you possibly write out the fill MB vector logic so I can learn from it?

     

    The way I was thinking and hoping it work from the beginning and reading the help info

    SI141 1st MB to use

    SI142 length of vector(number of MB to activate) Set by value MI20

    SI143 Value to store (a 1 to set MB to on)

    SI140 function #36 MB vector fill

  13. Hi all

    I have made a few projects now on the Jazz units and really like them, now I am trying some more adventurous stuff

    So I made a program to activate a certain number of MBs based on number of pumps required but the fill vector doesn't appear to be working.

    I have attached the program I have made so far

    I am wondering if its me or a problem in the Jazz

     

    Your help will be appreciated

    Kieran

    Fill Vector.U90

×
×
  • Create New...