Hi there,
I am using an AB ML 1200 series C PLC to control a weigh feeder.Also connected to ML's Channel 0 is a Network enabler card by Moxa(never worked with this before).I have to send out several process parameters to this Network enabler by first converting the integer values to strings and then writing each one to the Channel 0.If I am right then the ASCII write instruction would take about 0.5 sec to execute.And to write about 10 different strings would take approximately 5 sec.(pretty long)
The channel 0 is configured to ASCII protocol.And I am simply writing string after string to the channel,with a delay of 0.5 sec for each string.
Can some one suggest a better way to do this??Can someone let me have a sample code for Serial communication??I havent yet tested my code,but the time taken for this communication routine would really increase the scan time of the entire program.
Thanks in advance for you suggestions and help.