Sequence AUTO Start not working


Hemendra

Recommended Posts

Hi Guru,

I am reading Modbus device parameters. wrote sequence of group read (because further i have to add many devices) as per shown in user guide. it is starting Capturing data after entering in Development mode and BEGIN Sequence manually.  Sequence is not starting automatically on starting of application, AUTO START is Checked. Application attached. Thank you.

Group Read.ctl

Link to comment
Share on other sites

On opening document, it starts in runtime, then i am switching over to development. that time 'switch to Safe mode' (having red icon) option is enable, so i can say its not starting in safe mode. i checked again but still no change in result. I noticed that in another document also it not starting, after starting it manually, it stops after some time. Anything else to check?

Link to comment
Share on other sites

Also, check the Command / Alert.  Keep it visible when you come out of Safe mode.

Error handling is done with try/catch blocks similar to many programming languages.  For example:

while(1)
   try
      // do something
   catch()
      ? strLastError // display last error in command / alert
   endcatch
   delay(1) // always put the delay outside the error handling
endwhile
 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.