Jump to content

Paul Augood

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Paul Augood

  1. On 4/26/2017 at 9:32 AM, Ausman said:

    Hi Edgar,

    Reading your post has me a little confused.....your statement implies you are trying to register various versions of Swapper.  Swapper is the means to register different Visilogic versions.  It is primarily used for when you want to work with older versions of Visilogic for compatibility with PLC installs done at some point in time past.  Using modern versions often creates the need to update a host of things, or do major mods to a program because of the constant improvements Unitronics is excellent at, and this is the way to get around it without uninstalling the existing version and reinstalling the one you want to use.   To get older versions of Visilogic you should be looking at "Previous Versions", not "Swapper Versions" on the software page: https://unitronicsplc.com/software-visilogic/

    Use the latest version of Swapper that will have installed along with 9.8.31 to register various versions of Visilogic.  (edit:  9.8.31 was current at time of post, but always relates to the latest stable version)

    Run both the installs and programs as Administrator.  I also suggest that you have a good read of these topics/answers: 

    My method of creating "virgin" Visilogic installs and then copying them elsewhere for future use/reference hasn't failed me yet.  If you still have issues after trying the options, please let us know.

    cheers,

    Aus

    Ausman,

    I know this is an old post but you mentioned creating "virgin" Visilogic installs - does this mean they are complete installs? If so how have you separated them/renamed them to get this to work? I've tried version swapper but it didn't seem to work and somehow resulted in reinstalling windows again.

  2. Email goes out on a different port - different socket set up in the PLC. I mention it because it kept working (email could go out) but remote operator was giving the message I previously noted. I've had that message before when someone else has been connected but in this situation it continued indefinitely and was only fixed by unplugging and plugging in the ethernet cable.  previously.

    Socket 0 TCP master (port 20258) for SMTP (email)
    Socket 1 TCP RAW slave (port 80) for web server
    Socket 2 TCP slave (port 20256) for programming
    Socket 3 UDP RAW slave (port 20000) for DNS resolver
    Socket 4 TCP slave (port 20257) for remote access

    Yes have closed and opened remote operator many time - no change in behaviour form these two PLC (same programs on 50+ others).

  3. I am having occasional problems connecting with Remote Operator. 

    What is going on when I get the error "No connection could be made because the target machine actively refused it xxx.xxx.xxx.xxx:20256 (where that IP would be in the xxx.xxx....)? 

    Typically our units are still sending out emails when this occurs but we cant connect.  This has been resolved but simply unplugging and plugging the ethernet cable back in but our systems are quite remote and unmanned.

    Could this physical action be reproduced through programming - re-initializing the ethernet port periodically or some other action?

     

  4. Ausman (and anyone else interested in this issue), your suggestion worked but made some notes here.

    Following your suggestion I first made a copy of the  UR2 file and used a text editor (I used Notepad++ too) to cut and paste the associated blocks in order of the name. Cut whole block from <RemotePLC> to </RemotePLC> and insert after </RemotePLC> where you want it. Once you've edited what you want to change save and then open with RO to test - if ok you can let this become your default file. I also made additional UR2 files for different groups of PLCs for deferent clients/ different applications. 

    AGAIN WORK OFF OF A COPY OF THE FILE - ITS EASY TO SLIP UP AND MAKE A MISTAKE

     

    This is an example of the block you want to cut, and if you are at the beginning or end of the don't mistake <RemotePLCs> or </RemotePLCs> (with the littel 's').

    <RemotePLC>
          <Name>XXXXXXXX</Name>
          <PlcName>XXXXXXX</PlcName>
          <ViewMode>DisplayOnly</ViewMode>
          <InterpolationMode>NearestNeighbor</InterpolationMode>
          <AutoRefreshInterval>0</AutoRefreshInterval>
          <BackColor>White</BackColor>
          <UseCacheFile>true</UseCacheFile>
          <Channel xsi:type="Ethernet">
            <Retry>5</Retry>
            <TimeOut>10000</TimeOut>
            <RemotePort>20256</RemotePort>
            <RemoteIP>XXXXXXX</RemoteIP>
            <Protocol>TCP</Protocol>
            <ConnectTimeOut>5000</ConnectTimeOut>
          </Channel>
          <ID>XXXXXXXXXXXXXX</ID>
          <NetworkID>0</NetworkID>
          <IsOpened>true</IsOpened>
          <WindowTop>8</WindowTop>
          <WindowLeft>951</WindowLeft>
          <WindowSize>
            <Width>462</Width>
            <Height>441</Height>
          </WindowSize>
          <ForceJazz>false</ForceJazz>
          <IsDefaultConnection>false</IsDefaultConnection>
        </RemotePLC>
     

  5. I have looked for some basic information about pulse counting but I couldn't answer what i believe is a simple question?

    I have some experience using the Vision series PLC for simple digital I/O and analog I/O. But I have a requirement to count pulse from a flow meter and plan to set up one of the inputs on the snap on module V200-18-E1B as a HSC linked to ML-95. 

    I can make the connection to PLC direct or make a link between the flow meter device and the inputs to count the pulse with a PR Electronics 9202 pulse isolator. Then my scaled flow pulse should just increment ML-95. I am attaching some info on the flow meter compute pulse (max frequency 6.5hz. 

    Just want to check I am understanding the function of the HSC input correctly.

    Thanks

    Paul

    Flow meter pulse output specs.png

  6. I am displaying a variable string in the HMI (its the site name of where the PLC is located). The properties are set to Center Center but the string is always justifying to the left. Checked the string length and this changes based on the name stored. I've written some code to add spaces to try to center the name but because of character sizes its not very centered - doesn't look  right. Any ideas anyone?  

    image.png.c5757e8410b1d987792cc4e2aca8a919.png

×
×
  • Create New...