MBS

MrPLC Member
  • Content count

    11
  • Joined

  • Last visited

Community Reputation

1 Neutral

About MBS

  • Rank
    Sparky

Profile Information

  • Country Germany
  1. Of course, I have already seen the description in the reference manual for this command. I have also tried serveral different parameters in the brackets. - the portnumber must be the same as for sending characters? - if I want an "O" to be detected as first letter, I have to put in 79 as the second number? - end character to match is 0 in my case because I do not know the end character - timeout 300ms should be enough - maximum number of characters to read: I want to read 2-3 characters
  2. I just tried it like this but it didn't work (a bit as expected)
  3. I will try docklight now. With Hyperterminal and realterm I could not setup a communication between the PC and the red lion for an unknown reason:( But sending characters to the camera works...strange! In Crimson, I have realized it like this so far: 1) I created a string-tag "negative_Statusabfrage" 2) I dragged & dropped the tag from the resource window to a screen in order to see the tag name and following the tag value 3) I added a complex action to the field created in step 2: PortPrint(2, "negative?\r"); PortSetRTS(2, 1); negative_Statusabfrage := PortInput(2, 0, 0, 100, 2); Can I do it like this or is there a possible mistake included?
  4. hello @ all, I have a G304K from red lion and use mainly Crimson 3 to program the device. Has anyone of you an idea how the program should look like in order to read ASCII-characters from a Raw Serial Port? Therefor the connected camera must be asked with an ASCII-command (e.g. "negative?"). Then it answers on, off or syntax error (if the question is spelled wrong). Sending commands is not the problem - I have already tried it successfully. But I'm not able to receive characters from the camera so far... Thank you in advance, MBS
  5. search: HMI of any brand

    ok, I suppose it is done with the command "PortPrint" in the action setting of a button, right?
  6. search: HMI of any brand

    I'm testing the crimson-software for the G306K these days. But I've got two questions about the crimson 3: 1) Are the ASCII-commands (e.g. "lih on") put in the first field of the data source of a string-tag while the source is configured as "general"? 2) Do I have to set a communication port (the RS232-interface) for the mentioned string-tag or how does the string-tag "know" which port and therefor protocol he should use for communication with the camera?
  7. search: HMI of any brand

    ok, but which models? The problem is that my requirement concerning sending ASCII-codes seems to be a little special so it is not easy to find a well-fitting product...
  8. search: HMI of any brand

    thx. Are you both sure that ASCII-commands (req. 1) can be sent?
  9. search: HMI of any brand

    Hi everybody! I am in search of an HMI of any brand. The requirements are: 1) The product must be able to send ASCII commands via the serial RS232-interface to a connected camera by pressing a button at the touchscreen of the HMI (necessary requirement) 2) The screen of the HMI must be programmable, so that I can decide which/how many buttons to implement (necessary requirement) 3) It must be a relative cheap solution because I need the HMI only for sending ASCII-commands: maximum ca.650€/950$ list price (necessary requirement) 4) It would be useful if the device had two serial outputs (optional requirement) 5) Technical service for the product should not be bad (optional requirement) Can you recommend a product to me which meets these demands? Thank you for your efforts in advance! MBS
  10. I have to add that the unit is connected directly to the NQ5 (thus without plc)
  11. hi @ all, Is anybody of you familiar with this program? I am new to this board here and the nq-designer. I would like to know how I can control a unit, which is connected via RS232 to an NQ5. Normally, the unit is controlled via hyperterminal in Windows by typing in the commands. How should I configure a tag in nq-designer, that for example the command "lih on" is send to the unit after touching a button on the NQ-screen? Or do I not have the possibility to enter commands in textform? I have already browsed the software, but I didn't get an idea how to do this so far. Thx for help in advance! MBS