- Posts: 373
- Thank you received: 3
RS232 Questions
- bitzerjd
- Topic Author
- Offline
- User
-
Less
More
7 months 2 weeks ago - 7 months 2 weeks ago #4678
by bitzerjd
Replied by bitzerjd on topic RS232 Questions
I have the following fields:
ID
Name
IP Address
Network Port
Serial Port
Serial Params
The Network Port and Serial Port ... I have 0 for the Network Port and 1:1 for the Serial port. Myserver found the device, so I'm assuming the "0" is OK. Should the Serial Port be 4999?
-Update- Made the Network Port 4999 and the Serial Port 1:1 and got this...
20/12/2025 14:31:40.31 · DEBUG · GenericSerial.NetConnect - Device (79) has connected.
I'm assuming that is good!
ID
Name
IP Address
Network Port
Serial Port
Serial Params
The Network Port and Serial Port ... I have 0 for the Network Port and 1:1 for the Serial port. Myserver found the device, so I'm assuming the "0" is OK. Should the Serial Port be 4999?
-Update- Made the Network Port 4999 and the Serial Port 1:1 and got this...
20/12/2025 14:31:40.31 · DEBUG · GenericSerial.NetConnect - Device (79) has connected.
I'm assuming that is good!
Last edit: 7 months 2 weeks ago by bitzerjd.
Please Log in to join the conversation.
- camens
- Offline
- User
-
Less
More
- Posts: 46
- Thank you received: 2
7 months 2 weeks ago #4679
by camens
Replied by camens on topic RS232 Questions
Yes, I think you've got it. Now you have to create the serial database with the control commands. Just create one and test it using the 'Driver Command Testing' in the GenericSerial Devices driver. Once you get one working, you can add all the others.
Please Log in to join the conversation.
- bitzerjd
- Topic Author
- Offline
- User
-
Less
More
- Posts: 373
- Thank you received: 3
7 months 2 weeks ago #4680
by bitzerjd
Replied by bitzerjd on topic RS232 Questions
Thanks again! I wish we could post images...it would be a lot easier to see the config items when there is a question.
I appreciate all the help, this was super helpful!!
I appreciate all the help, this was super helpful!!
Please Log in to join the conversation.
- bitzerjd
- Topic Author
- Offline
- User
-
Less
More
- Posts: 373
- Thank you received: 3
7 months 2 weeks ago - 7 months 2 weeks ago #4681
by bitzerjd
Replied by bitzerjd on topic RS232 Questions
I'm pulling what is left of my hair out. Using the iTEST utility from Global Cache works perfectly. I can send "literal" text "POW \n" and the unit fires up. I can also send it via myServer setting up an Ascii model and sending POW in the data field and \n in the additional parameter field. The problem is that it works once and then no more commands work. Once I restart the server, I can get the single (Ascii or HEX) command to fire...then nothing.
I've also setup a HEX config and get the same behavior.
#POF \n = 23 50 4F 46 0D 0A
Any ideas?
Here is what is in the log for the Off command after the ON works.
21/12/2025 11:07:30.07 · DEBUG · GenericSerial.doCommand - Cmd=[79~Send~Zidoo~Power OFF] Client=[dashboard-fx-0bf6]
21/12/2025 11:07:30.07 · DEBUG · GenericSerial.RX <<< - gc100:23 50 4F 46 30 78 30 64
-Update-
Ok, figured it out. I needed to add \n to the Suffix and \r to the Terminator fields.. The \r was the key field.
I've also setup a HEX config and get the same behavior.
#POF \n = 23 50 4F 46 0D 0A
Any ideas?
Here is what is in the log for the Off command after the ON works.
21/12/2025 11:07:30.07 · DEBUG · GenericSerial.doCommand - Cmd=[79~Send~Zidoo~Power OFF] Client=[dashboard-fx-0bf6]
21/12/2025 11:07:30.07 · DEBUG · GenericSerial.RX <<< - gc100:23 50 4F 46 30 78 30 64
-Update-
Ok, figured it out. I needed to add \n to the Suffix and \r to the Terminator fields.. The \r was the key field.
Last edit: 7 months 2 weeks ago by bitzerjd.
Please Log in to join the conversation.
- aa6vh
- Offline
- User
-
Less
More
- Posts: 108
- Thank you received: 7
7 months 2 weeks ago #4682
by aa6vh
Replied by aa6vh on topic RS232 Questions
I am not familiar with this serial device you are trying to use, but RS232 serial ports do have control characters ("Clear to send", "Ready to Receive", etc) that may not be sending correctly. That would explain why it works after the restart, but not after the first use.
Serial ports can be controlled by hardware or software. Hardware uses specific wires to indicate the control, software uses special ASCII codes for control.
Serial ports can be controlled by hardware or software. Hardware uses specific wires to indicate the control, software uses special ASCII codes for control.
Please Log in to join the conversation.
- bitzerjd
- Topic Author
- Offline
- User
-
Less
More
- Posts: 373
- Thank you received: 3
7 months 2 weeks ago #4683
by bitzerjd
Replied by bitzerjd on topic RS232 Questions
Thanks to everyone who chimed in with help.... I'm really happy the way RS-232 is working and started converting my Vrroom from IR to Serial. Of course the family is looking at me with a weird side eye because I'm converting stuff that is working fine!
Happy Holidays Everyone!
Happy Holidays Everyone!
Please Log in to join the conversation.
Time to create page: 0.190 seconds