Output a variable t...
 
Notifications
Clear all

Output a variable to an LCD screen

1 Posts
1 Users
0 Likes
108 Views
(@Dan_S)
Posts: 0
New Member Guest
 

I'm trying to output my cycle count (var. 'a') to a 2-line LCD screen. I currently have pin 1 of motor D-sub out to port 2 (RX) on front of RS232 shifter, then from TX port in back of shifter (have also tried the RX port) to the screen's JP3 connector, pin 1 (RX). All I get is a bricked screen. Am I missing some commands to address anything? I tried the OCHN with default (RS2,0,N,9600,1,8,C) commands, changed PRINT to PRINT1, but nothing I've tried works.
Any ideas on what I'm doing wrong? I would just like to see a cycle count on something other than the desktop, because I test a lot of items to failure, while monitoring with a network camera, and would like an exact cycle count when something fails.
Attached are schematics of the components and my code. Motor model # is SM23375DT.
Thanks for the assistance !!

 
Posted : 27/10/2020 5:43 am
Share: