Sign in to follow this  
Followers 0
JoeB7774

Serial Output

3 posts in this topic

Hello.  I am new to programming with a Modicon 340.  I would like a serial output to a printer (or an LCD screen) (eg) an input is registered and I would like an output to display the results of the input.  Does the Modicon 340 support this?  I have the P3420302 module which appears to have a serial connection (along with ethernet).  If someone could point me in the right direction I would greatly appreciate it.

Share this post


Link to post
Share on other sites

Hi, just use PRINT_CHAR block  to send any data via serial interface.

You will find example in the description of this block.

Share this post


Link to post
Share on other sites

Also to add to quant you must specify in the port config if you are talking rs232 or rs485 etc before communicating to the printer. Normally this will be rs232 and as Quant suggested use the Print_Char function block

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0