
Coalguy (Customer) asked a question.
Sending Serial from a H2
I just need some help sending say FE 4D 9F to a Lionel train controller to throw a switch. Im using the Steamout box. Triggered by C10, the FE 4D 9F is put into SS1 as FE4D9F and no other settings selected on the Streamout box. Im not a serial guy at all, so the little things may be getting me. The Domore serial port is set for 9600 1 stop bit and no parity. flow controls at default.
Ive been sending serial to the train controller and it is not receiving anything, it even has a rs232 data led thats not lighting up, the Domore does show activity on the serial led.
So any ideas? Am I totally off base here?
Thanks
I would check the cable and see if you have he TxD on the DoMore going to the RxD on the train controller.
Please provide a precise model number for the Lionel Train controller or at least a link to its documentation with the serial communication information.
Please provide a diagram the communication wiring as you have implemented it.
Are you able to perform this operation from a standard PC communication port?
Provide the section of the H2 program which is controlling the communication.
Make sure that a zero volt signal is connected to CTS (terminal 6 of port 2) to allow transmission. This is easiest to provide by just connecting RTS (terminal 5) directly to CTS (terminal 6) at the H2 itself.
+1 @Adisharr (Customer) & @bcarlton (Customer)
I believe that your cable wiring is the problem. You should only have three wires (TXD, RXD, and GND) All other handshaking signals should be jumpered together on each side.
Here is a link to a post that shows how to send and receive ASCII through the serial port.
https://accautomation.ca/brx-do-more-plc-modbus-ascii-protocol/
Regards,
Garry
https://accautomation.ca/series/brx-do-more-plc/