Jump to content

razor_rich

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by razor_rich

  1. I'm trying to figure this out on my own, but a key sentence in the Help manual is missworded. Can somebody please explain to me in plain English what the third green call-out box is trying to say?
  2. 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.
  3. Figured it out. Download Termite here: http://www.compuphase.com/software_termite.htm They only have a Windows version, but I was able to get it to work right away with the same COM1 port that VisiLogic uses.
  4. Hi, I need some help with the Protocol Scan FB. I'm reading the following output from a scale, and I just need to get the weight (the XXXXX.XX part). Can anybody advise me on how to setup the "Protocol Message" in the Protocol Scan FB?
  5. 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?
  6. I also tried the Panasonic formatter (doing all reformatting possibilities) and it didn't work. Tried formatting on two different computers (Windows XP), and it still doesn't work. It's a brand new micro SD card from Best Buy. ugghhh
  7. 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
  8. 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
  9. 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.
  10. Hi Ofir, Thanks for your response. The only email services I have access to are my company's web domain CPanel (which is what I'm using currently, and getting the extra characters), and gmail (which I understand is not supported). Can anybody recommend a free email provider that they've had success with in not getting the extra characters?
  11. My IT manager and I looked all over our host server's control panel (CPanel) and email account options, and couldn't find anything related to greylisting. Is it for sure a grey listing problem or could it possibly be something else?
  12. That's okay. I figured out how to do it on the HMI with a "Variable: ASCII String." Thanks for the quick response.
  13. Nevermind. I didn't read the post immediately prior. I'll look into the greylisting.
  14. 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?
  15. Nevermind. I stored the .css file on a real web server and linked to it.
  16. The "Enhanced PLC WebServer.pdf" explains how to chance MI values, but it doesn't specify how to change MB values. What's the code for this? Also, I read on the bottom of page 3 that we can "Send values to operands and strings." I'd like to send values to strings and set/unset bit values without javascript. Any help on this would be very much appreciated. Richard
  17. 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.
  18. I set up email capability on my V130, and I get junk text in the email. For example: --KkK170891tpbkKk__FV_KKKkkkjjwq Content-Type: text/plain; charset=US-ASCII alarm text here. --KkK170891tpbkKk__FV_KKKkkkjjwq-- How do I get rid of the "--KkK..." at the beginning and end of the email? This is ugly. I've tried plain text and HTML, and both options give me this junk text.
  19. I'm building my website for an Enhanced Web Server (V130-33-RA22). Is there any way for the SD "HTML Complier" to compile a .CSS file? I noticed that the PLC doesn't load my style sheet. I know I can put the style code in the HTML header, but that's cumbersome and messy. My CSS code is quite long as well. Am I doing something wrong, or is there a hack around this? Richard
  20. I figured out the problem. I connected the Ethernet cable to the expansion port instead of the Ethernet port. Nine hours of headache, and it was all because I plugged the cable in on the wrong side. face/palm
  21. 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...