Jump to content

razor_rich

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by razor_rich

  1. Via Termite (http://www.compuphase.com/software_termite.htm), I'm getting the following string:

     

    [02]   402.2LG 

     

    There is a space (aka "<SP>") on the end of that string for the "status" field.  

     

    The weight is 402.2.  I need to extract this weight from the string and store it with my V130.

     

    The "L" is for "pounds" and the "G" is for "gross."  I'm assuming the "[02]" indicates the <STX> control character.

  2. Hello,

     

    Years ago I got a V280 to read the ASCII string outputted by a scale indicator via RS232.  The Unitronics tech support guy back then, Jason, told me to download a program onto my PC that read whatever ASCII string was outputted by the indicator.  I just had to hook up my indicator to my PC via RS232.  This worked beautifully, and it was a cinch after that to get the V280 to read the indicator's ASCII string.

     

    Does anybody know what the name of that program is and where I can find it?

  3. Hi,

    I have an SD card in my V130-33-RA22, and SB 217 ("SD Card Present") is showing 0 instead of 1.

    This is my third SD card install, and first time I've had this error. First two SD card installs had no problems.

    The SD Card is used for an Advanced Webserver. I compiled the SD card using the SD card suite and uploaded my three webpages (Entrance.htm, Start.htm, and BadPass.htm) into the Web folder on the SD card. When I couldn't pull up the webpage in my browser, I checked SB 217 and found that it was off, signalling that the V130 is not detecting the SD card. What do I do?

    Richard

  4. Hi Unitronics Gurus,

    I've set up an Advanced Web Server. I have the Entrance.htm, BadPass.htm, and Start.htm files, and these three pages load properly. I have no issues here.

    I've made a fourth file called bc.htm, and I can't get it to load in my browser. I link to it in my Start.htm file using the following code:

    <a href="bc.htm&User=[sT20,ppppp]&Pass=[sT21,ppppp]">BC</a>

    When I click on the BC link, it simply reloads the Start.htm page, yet the browser's URL changes to: http://192.168.0.15:50055/bc.htm&User=rscot&Pass=rich7. Note that the URL changed from Start.htm to bc.htm.

    When I manually go into my browser's address bar and try to load the bc.htm page (http://192.168.0.15:50055/bc.htm), I'm redirected to the Entrance.htm login. I understand this is expected (page 10, Enhanced Vision PLC WebServer Tech Support Document). Yet, when I log in, I'm redirected to the Start.htm page, specifically: http://192.168.0.15:50055/?User=rscot&Pass=rich7&Start.htm=Sign+In

    So, when I try to change this URL to http://192.168.0.15:50055/?User=rscot&Pass=rich7&bc.htm=Sign+In and load that, the Start.htm page is reloaded, yet the URL in the browser remains the same (http://192.168.0.15:50055/?User=rscot&Pass=rich7&bc.htm=Sign+In).

    My browser is the latest version of Google Chrome. I've confirmed these results on IE 7.

    If I enter a random file into the URL, say party.htm, the Start.htm page loads. Therefore, although my bc.htm file is definitely listed in my SD Cards's Web Folder, the PLC is acting as if it is not there.

    When I delete the existing Start.htm file and re-title my bc.htm file to Start.htm, it loads properly. It seems like I can't get any webpages to load other than the essential three: Start.htm, Entrance.htm, and BadPass.htm.

    Am I missing something? Please help.

    Thanks.

    Richard

  5. Per Simon's response, the extra characters are sort of a big deal with my application. We're building a system that we're shipping to customers, and it looks pretty goofy if our notifications contain all that garbage text.

    Plus, since you can use your cell phone number as an email to get a text message (e.g. **********@txt.att.net), all the extra characters will turn a message that can be one text message into two text messages, which not elegant to say the least.

  6. I'm not sure if this is a bug or a programming issue.

    Here's my problem: The Send Email FB allows you to address the email to as many as eight email addresses in the "To..." field. So I've defined all eight email addresses as indirect vectors in the Send Email FB. I programmed the ability to enter up to eight addresses via ASCII in the HMI.

    Currently I only have three indirect vectors defined with ASCII email addresses, while the other five are undefined with all zeros in the MIs. When I try to send the email, the MI for the Status Message (in Send Email FB) reads "1" which means "In Progress," and stays there indefinitely. However, when I define only three email addresses in the "To..." field with indirect vectors that do contain ASCII email addresses, then everything works perfectly.

    So, my question is, why can't the Send Email FB send an email when some email addresses in the "To..." field contain indirect vectors that contain only zeros (and not ASCII email addresses)? Is this a bug or am I trying to do something that was not intended by the VisiLogic software engineers?

  7. Hi. I have a V130 and I'm setting up an Enhanced Web Server. Is there any way to be able to write strings from the web page to the PLC like you can write MIs? I'm trying to set up the ability to enter an email address in the webpage as a string, and then write it into the PLC's string libary, and if not, an MI vector. Then I want to call this string in the email FB as an indirect vector of MIs. Unless there's a better way to do this.

    Also, I noticed a typo in the "Enhance Web Server.pdf" support file. On page 6 where it describes the string syntax, there's a comma missing between the string number and the placeholder characters. I believe the format should be [sTXXXX,PPPPPPP] and not [sTXXXXPPPPPPP]. I've found that if the comma is missing, only the 0 string in Library 1 is displayed.

  8. Hi,

    I'm a veteran user of the V280 and connecting to it via Ethernet. I have never had any issues.

    It's my first time setting up an Ethernet connection on a V130, on a different network than the V280s, and I'm having a HELL of a time getting it to work. The V130 recognizes that the Ethernet card exists (SB 141 is on), but the Ethernet card won't initialize (SB 142 is off), and none of the sockets will initialize (SBs 143-146 are off).

    I've followed the Ethernet webinar exactly, except for the IP address of course, in coding my ladder.

    I have one ladder rung with the -| |- (SB 2) ----->(PLC NAME) ------> (TCP/IP CARD INIT) ---->(TCP/IP SOCK INIT Socket 1), and that's my entire program.

    I cannot connect using the "Communication and OS" or "Communication - PC Settings" window.

    My communication settings are:

    Type: TCP/IP (Call)

    Project Settings:

    IP Address: 192.168.10.3

    Protocol: TCP

    Port Number: 20256

    PLC Name: LC

    TimeOut: 4 sec

    Retries: 3

    Direct Connection

    I'm using:

    VisiLogic 9.3.0 Build 0

    Model: V130-33-RA22

    Hardware Rev: A

    OS: 3.4 (00)

    PLC NAME: LC

    IP ADDRESS: 192.168.10.3

    SUBNET MASK: 255.255.255.0

    DEFAULT GATEWAY: 192.168.10.1

    The IP address is a static IP address, not DHCP. I've tried DHCP also, and it doesn't work either.

    The V130 is connected to a D-Link switch, which is connected to a Motorola Modem/Router combo (Model: SBG901).

    All cables are secure and checked with other computers for functionality.

    I can neither ping the V130 from my computer, nor from the router.

    Socket: 1

    Protocol: TCP

    Local Port: 20256

    Slave

    I have been searching this forum and the Help documents for clues, as well as on tech support with the router company, but I can't figure this out.

    If anybody can help me, I would be eternally grateful.

    Richard

×
×
  • Create New...