Search the Community
Showing results for tags 'rs-232'.
Found 2 results
I have an Ohaus scale with a serial printer port connected to a Unistream 5" pro. A part is place on scale and a comparison is made to a valid weight range. I finally have a working model for getting weight ASCII string into a REAL but it's very clunky. There has to be a better way. The biggest issue with my conversion rung (before using mul & add FB's) is if I weight in a part at 10.39 grams and the REAL displays as such and the next weight is 7.43 grams (THE TENS PLACE IS A NULL ((BLANK)) CHARACTER) the real displays as 0.43 grams. The tenths and hundredths always read out okay because the zeros present regardless of fractional weight. Is there a cleaner way to take " 10.39 g" ASCII, narrow to "10.39" ASCII and convert to REAL D#10.39? Next issue, I want the buzzer (more of a beeper) to sound for a short burst when a valid weight is received. In Vision there was a simple SB bit that would sound buzzer for any duration the OTE was true. I have tried several constructs with the BUZZER START AND BUZZER STOP actions but always end up with a continuous buzzer or a chatter. Please and thank you for any assistance. Please see "WEIGH IN" subroutine for example of the code I have that works but could stand to be simpler. JorachoPressNewScale12-20-18e.ulpr
Sunchos posted a topic in Vision & Samba PLC + HMI Controllers & VisiLogic SoftwareGood day to everyone! Got an issue trying connect to v1040-t20b via modbus serial. I'm initiating data exchange through usb port (and starting to realize that, eventually, there is no any response from Uni, 'cause com1 supports only PCOM). Than i looked through info mode menu: com1 - pcom, com2 - pcom, com3 - modbus. And at the side panel there are port1 and port2 only. So, there is no such as 'port3' or... com3. How can i configure usb port to recognize modbus commands?