Posted 26 Nov 2014 Hello, I using Omron CJ2M with SCU31-V1 So, I'm using protocol macro to read data from temperature controller. My question, when the temperature controller is off, the value in PLC is still record the last reading from temperature controler before it turn off. How can I make PLC to record "0" when the temperature is turn off. Regards, Ezt Share this post Link to post Share on other sites
Posted 26 Nov 2014 The protocol macro error flag will come on if it doesn't get a response within a time. (Tfs from memory???) 1 person likes this Share this post Link to post Share on other sites
Posted 26 Nov 2014 Sorry. What do you mean by Tfs memory? Share this post Link to post Share on other sites
Posted 27 Nov 2014 I'm thinking the time to reply in cx-protocol. From memory it's called Tfs. Share this post Link to post Share on other sites
Posted 27 Nov 2014 TRANSFERT THE #0 IF COMUNICATION ON TROUBLE Share this post Link to post Share on other sites
Posted 28 Nov 2014 What if you initialise the value of the result before you execute the protocol macro. Isnt there also a flag to indicate if the read was successful ? ie if not successful then write zero to the result. there is a port monitor /busy flag that you could use to make a decision on... lots of diff ways to achieve what you want... Share this post Link to post Share on other sites
Posted 3 Dec 2014 Look at the bits in n+8 (port 1) and n+18 (port 2). There are Transmission error bits located there. n = 1500 + 25 * Unit Number (dial on front of SCU Card). Share this post Link to post Share on other sites
Posted 29 Jun 2023 (edited) Quote I using Omron CJ2M cpu31 with SCU31-V1 Master plc and slave plc's. then I want to master plc to reed and write PMCR instruction through 10 numbers slave plc's. how to use PMCR in the ladder program. Edited 29 Jun 2023 by Janaka Angampitiya Share this post Link to post Share on other sites