Using the Print() function in scripting

This forum contains common answers to questions and tutorials produced for the community.
mwalker

Using the Print() function in scripting

Post by mwalker » Fri Sep 24, 2010 10:43 am

Can you explain how this is used?
dwills
Enovation Controls Development
Enovation Controls Development
Posts: 26
Joined: Fri Jul 30, 2010 8:27 am

Re: Using the Print() function in scripting

Post by dwills » Fri Sep 24, 2010 1:00 pm

The script function Print() prints a string to the console. The function is useful for debugging, but to do this the start up scripts have to be modified so that the port is not used for MODBUS.

I would recommend using a text gauge and variable, or using the screen api to do debugging. When the Print was first developed, the functions to set any string were not available. Also, it is common for developers to disable the modbus and use the console. This is probably not something that needs to done normally.

Don