lchamarthi

MrPLC Member
  • Content count

    151
  • Joined

  • Last visited

Everything posted by lchamarthi

  1. CP1H

    Hi, Could you please help how to connect encoder inputs (A, B) to CP1H PLC and how to see value/pulse of encoder and its direction bit status. Thanks Lakshmi
  2. Sample Pid Program

    Hello Sorin! Really thanks a lot for taking your valuable time-off to check the code & valuable comments given. I didn't used APR instruction & binary calucation for conversion. Instead of that i used SCL instruction defining directly Maximum & minimum limits of the two data (i.e. 0---250 Degree C, 0----0FA0) for conversion from one to one. Also as you advised I put #449 instead of #494 in C+6 word for PID. Now I turned on the PIDAT instruction with Always on BIT & C+9 with #8000 (15 bit-On) always. Then output is giving &4095 as long as the SV Higher than PV and &0 if PV is higher than SV or equal. Is it okay to implement (I always see &4095 for any error but some times &3071..for any error----I thought PID always open maximum to reach SV quickly regardless of change in error provided SV is higher than PV). Also I kept P=10, I=9999 & D=0 constantly Now I am similating on board, May be if we go to the field then we will come to know the actual response i think. Thank you for the help L
  3. Sample Pid Program

    Hi Sorin, Thank you for sending sample PID code & i implemented as attached for controlling 0--250 degree centigrade temperature sensing through Analog Input 2002 & controlled range 0---250 degree . But in the result word i always see & 4095 (FFF) value Constatly regardless change of Set value. More over DA041 Analog Output module (In my application Valve controlling through Analog output) which supports only upto 4000 counts. I didn't understand why it is giving 4095 counts instead of Max 4000 counts (which DA041 module support) ? Could you please check my code & kindly let me know comments for controlling only 0----250 degree centigrade. Thanks in advance. L PID.cxp
  4. C++

    Hi BoB, thanks for quick look into it...... May be as an example, Omron HMI (NS) uses NS/CX-Designer tool for customer application development.In AB if am correct, use RS view for their HMIs for application development. Now I am thinking to work on developing CX-Designer tool/ RS View tool itself....Also PLCs use their own tools for ladder development like CX-Programmer for OMRON PLC......I want to work on generating CX-Programmer itself.....as i imagine will be the good field which can utilize my base experience too.... So I would like to know what languages require to this and market demand level. I know VB will be helpful to learn to make PC as HMI......Any Forum recommeded to start learning VB? But I am open to take guidance if any other demanding technology suggested to be learn, where PLC & HMI and industrial background is utilized.....
  5. C++

    Hi, By seeing this thread starting, I was happy to decide myself to go for which language to learn....but after reading full thread i was not undestanding under which line to go... I am a PLC, HMI programmer with good process knowledge. As a lady, I don't prefer to travel much, slowly would like to go soft line of working in HMI, PLC tool package kind of developments which will also use my old industrial experience....I don't know really what languages will help for that and how best would be the market. I am seeking for the help in choosing best competative career. Thanks guys
  6. PLCs supporting Modbus

    You can use Omron PLC(CS/CJ) with SCU-31V1 module with Modbus macro.
  7. Function code 17

    Hi Guys, Could any one send me CX-protocol command (sequence, sent and receive message commands) for Function code 17 in the modbus for read/write multiple registers. Thanks Lakshmi
  8. Function code 17

    I can't able to trace the data as i am getting pop up that PMSU configuration not allowed to trace.
  9. Function code 17

    Hi Guys, I have developed below macro for reading and writing multiple registers in slave using Function Code 17 as per Modbus standard application. Send Message <a>+ETB+(R(2),4)+(R(4),4)+(R(6),1)+(R(7),R(6))+<c> Receive Message <a>+ETB+<l>+ (W (1),*) +<c> with this above, I couldn't get proper response on the serial port, Is the macro is right?
  10. PMCR step counter not incrementing

    Thanks for immediate reply. any reference manaul for understanding macro Data fileds in sent and receive messages.....apart from the one you suggested... If i understand data fields, i will only keep try different options.... Thanks
  11. PMCR step counter not incrementing

    Hi, In my program, PMCR step counter not incrementing with the bit 1634.15 for SCU unit no.5 Step counter is at 1 only. I am unable to understand why 1634.15 is not going on/off to increment counter. pl help me attached are the programs. unable to attach standard ModbusPM_v5.psw protocol file, which is available in Forum. Thanks for the help 3PMCR.cxp
  12. PMCR step counter not incrementing

    Really Happy to see some different ideas..... combininig send and poll into 1 sequence, i understand that for read and write will happen in only one pmcr ...right.but i was confused protocol macro to be changed as i am not good handle on understnading of macro as i said last time. You have suggested me to go through manual provided for macro....May be i can't able to undestand data fields what really mean like what you have given an option of applying or referencing plc memory in macro &~(W(D500),1) is slightly faster then &~(W(1),1). Could you provide me some sample how to do it...... Thanks for the great help.
  13. PMCR step counter not incrementing

    Thanks for the reply. I solved that issue with your suggestions. Method mentioned in attached program is used to communicate with 13 slave devices using PMCR instruction. I am using one PMCR for read and one more PMCR for write of slave. like wise 26 PMCRs for all 13 nodes, and am using a counter to poll based on PMCR execution finishing flag completion status. But when I poll for all 26, response from slave is nearly 5sec delay. I am looking for possible options of reducing this delay either 1. Can we use one PMCR only for both read and write functions so that poll will limit to 13 and becomes faster. 2. Is there any another method of polling to make fast Expecting response is about 2s for 13 slaves config. PLC used is CJ1 CPU13 Thanks Lakshmi
  14. cx-protocol disapointment again

    Hello All, From this thread I understand, You guys are strong in playing with protocol messages. I am just learning Modbus communication with PLC using PMCR and readily given modbus macro from this Forum. I was not able to really understand from manual about the Data variables defined in sent message list and receive message list. I am using Function code 3 for read and 8 for write in protocol macro downloaded from forum Data field example – what does this code mean? <a>+SOH+(R(2),4)+<c> Please help me in understanding of this........ Thanks
  15. PMCR step counter not incrementing

    Hi PMCR, Thanks for the inputs for trobleshooting. Right now it's working fine, after ensuring Data registers and setvalues. Guys, Right now 1. I am facing problem of Modbus node fail set bits are set even during the normal operation like For example W6.0 (Transmission error) and W6.1(read error) become high then go low, this is enough to throw a fault and display. How can be avoided this? 2. Response from node is significiantly slow as the Nodes are more because Polling/Step counter value becomes more. So there any best method apart from the concept which i have opted in the first thread attached program. May using one PMCR per node for both reading and writing something like that, so that step counter will become half for right now size. 3. Protocol Macro I have downloaded from Forum only. It is having Master and Slave routines with Sequence Nos. I didn't understand fully. So is there any document on macro like Data field example – what does this code mean? <a>+SOH+(R(2),4)+<c> Thanks Lakshmi
  16. Hi

    Hi, I am approaching you because I am in little confusion about career further step. As you guys are good experts here in this forum, hope could give me a good guidence to proceed. I am basically good Omron PLC & HMI developer with 5+ yrs experience. Now I would like to add one more skill ( one of the below mentioned). I did the ground work for this. VB or MATLAB or LABVIEW or VC++ But out of all, which one will be more demanding and utilizing PLC, HMI base too (i.e. earlier experience too) Could you suggest or help me in detail about this Thanks Lakshmi
  17. Hi

    Thanks for the suggestion
  18. How to use PMCR simultaneously

    Hi everybody, I am using 6 PMCRs instruction in Modbus RTU communication in Protocol macro mode. right now i used timing delay for starting next PMCR. This way there is a delay in communication. So i would like to immediately start next PMCR instruction once previous PMCR is finished. Can anybody help me in achieving this? Regards Chamarthi
  19. How to use PMCR simultaneously

    Thanks Sample_Ladder.zip
  20. How to use PMCR simultaneously

    Hello PMCR, Thanks for editing my sample code and correcting. Its working fine now. Now the communication delay reduced to 1sec. Now my turn is to create an alarm for the slaves which are not physically present but polling is done. Suppose, Max step counter is 5. While step counter is 2 and executing second PMCR. slave #2 is not physically present but slave3 ....4 & 5 are connected. In this case, i am getting an ERC error on the module but based on this I couldn't able to display a message to an operator that Slave # 2 is not present or not working. Any idea or help on this? Thanks Lakshmi
  21. How to use PMCR simultaneously

    Please find my sample code. with these timers its working fine for maximum 25 bytes message. If i remove the timers, communication not happening properly even if i have used PMCR execution flag NC and port enable flag NO for the second PMCR execution. I think i have to use some more flags...pl help me 2PMCR.cxp
  22. How to use PMCR simultaneously

    You could use the PMCR execution flag (NC) and the Communications Port enabled flag (NO) before the PMCR instruction, to ensure that only one PMCR can execute at any one time.
  23. How to use PMCR simultaneously

    Thank you very much PDL for the quick reply and info. I am bit confused to play with this bits/flags in ladder. Mine is SCU, unit number 5. If you have any sample code will enable me to go fast.. Thanks a lot.
  24. NS language selection

    Hi ESCI, I did used the same to switch among 3 languages. I used $W=D10. So I am using D20 register to control the label. In simulation its working fine but on the hardware its not working/switching as required. What would be the problem ..Can you please suggest........
  25. Can some one help me please with PMCR(260)

    Hi Bits N Bytes, what you mean by 15 slave modules? Are these Drives? Other PLC's? Remote I/O Blocks? PC's? 15 Slave modules are Other PLCs(Embedded Controller with I/Os which supports Modbus RTU) . What communication protocol does each Slave Module use? Modbus RTU Doesn't sound like you have planned this project too well!! Thanks for the suggestion....I will do. Bob B, Slave supports Modbus RTU Thanks