lchamarthi

MrPLC Member
  • Content count

    151
  • Joined

  • Last visited

Everything posted by lchamarthi

  1. How to do masking in Omron

    We are using CJ1M-CPU13 PLC
  2. How to do masking in Omron

    Hi Everybody! I have 16 point input module. I am interrested in some those bits (8 to15) for some data manipulations. I can use each bit indiadully which will make lenthy program. What instruction from Omron to achive the above functionality (MVM is equi..instruction in Allen Bradley)? Kindly suggest me some way to achieve this? Thanks & Regards LChamarthi
  3. How to do masking in Omron

    Hi ESCI!, This XFRB(062) is a very suitable instruction to transfer & moving to required position at the same time means masking (MVM) & moving bits to right most position(DIV) (refering to previous post ) is done by XFRB. Thanks a lot..... Best Regards LChamarthi
  4. How to do masking in Omron

    I willtry to explain better by following attachment. Bits 0--8 are interested to take the new status into Destination from Source, even we are getting this. But from 9--15 bits, we are not interested in new state of these but we are taking its old status. Now in this case some these are 1's but when in Destination result is "0". Because I am taking the total Destination word for data manipulations I will get differences. Please suggest how to achive this Regards LChmarthi
  5. How to do masking in Omron

    I have a small doubt, If we use ANDW then no problem for the bits which we are interested to mask, when we come to remaning bits status should not change in the destination where as here if suppose Source---1 Mask--0 then Dest---0 which should be 1. Is it correct? By this total destination value will change. Lchamarthi
  6. How to do masking in Omron

    Hello, I couldn't able to understand the MOVD instruction part. Can you clarify please! LChamarthi
  7. Hi Everyone! Hello TWC controls! I understood the MVM instruction usage as u mentioned in the sample program & instruction help in RS Logix. Example is like this! Also example given in Help is If we see help example, 0000 are to be masked ones then how 1111 came in result value_b. I think masked bits output should be 0000 After clearing this basic question (above image), please clarify me in the/co relate first picture how it will manipulate? One more silly question, Is RSLogix 5000 software is enough to communicate from PC to PLC otherwise i need to have RSLinx Software as mentioned earlier & if then programming recommended cable? Thanks in advance. Lchamarthi
  8. MVM Instruction

    Oh! Ya I understood. Can anybody clarify me on DIV instruction query also so that i can move ahead? Thank you Panic! Regards Lchamarthi
  9. MVM Instruction

    Really I stucked up here until u gave a hand. I will be glad to find & have Mr.PLC forum & group of good helping people.If i don't know certain things also i will agree to do my boss with confidence because of forum people's help. In this example Source is deviated from my example. If i take these bits correctly as in my example, 2#0010_0100_0001_1101_0010_0101_1111_0110 Source 2#0000_0001_1111_1111_0000_0000_0000_0000 (33488896) Mask 2#0000_0000_0001_1101_0000_0000_0000_0000 Destination Dest 11101 = which is ( 29 ) decimal Is my manipulation is correct? If then, Dest Should have 29 decimal but in program Dest is 8388608 ? This i couldn't get. Also in DIV instruction, Source A is 8388608 Source B is 65536 If i do normal division taking both as decimal 128. But in program Dest is 2. This also I confused. Please correct/guide me in correct path. Thanks in advance Lchamarthi
  10. MVM Instruction

    Hi TWControls, Please find the attached images. In this can you please explain me the MVM instruction manipulations (source, mask, & dest). Many Thanks Lakshmi
  11. MVM Instruction

    Could anybody offer me help in understanding above MVM instruction query please? Thanks in advance Lchamarthi
  12. MVM Instruction

    Hello TWC Controls, I understood the situation. As i thought it should not exist to smothen the things to my side.Next time i won't delete. Sorry for this time to everybody. Regards Lakshmi
  13. Hi Everyone! As I am searching for trail Rs Logix Software since 2 days, I could able to get on thier site which is a trail version. Could anybody help me to get the manual on the software usage? Because I used Omron Softwares and RS Logix seems to be different in assigning the symbol names & access, Instructions too. Especially Timer Enable (TE), Timer Timing (TT), Timer Done (T.D) purpose i couldn't understand as in Omron have only two cases either Timer ON/OFF. Typical Instructions like GSV, SSV, MVM, LIM, CPT felt difficult to understand. Could anyhelp on undestanding of this will be great. Also how the addressing will be in AB & where it will be assigned? Please give me hand to learn AB software too. Thanks in advance Lakshmi
  14. RS Logix Software

    Thank you so much to all for good helping nature! Especially TWC Controls Program example explination. Now I got little bit into the software. I doubt on where we will asign the Tags(Symbol names) with address. I opened everything in the index. But I couldn't. Also I hope "I" or "O" input or output comes depending on the config. But heard somewhere that slot no is the address but refering internal bits 5:O -------Refers total 5 slot (All outputs) 5.6:O -------- 6th bit in the 5th slot (Is it correct? This bit refering syntax i am doubt) --Pl clarify me) One more difficulty i find in this software is, Address cross reference tool (finding input condition to turn on Internal Relays & where in all the program it has been used gives a list) i couldn't able to find. Going through the total program to find one realy usage in the program to & forth difficult. Where in Omron this tool available. Pl calrify me whether this available or not? If not how can search in best way? Waiting for your earlist possible reply. Thanks in advance for taking off ur valuable time Lakshmi
  15. RS Logix Software

    Hello TWControls, I downloaded RsLogix 5000 demo software from AB website. I couldn't able understnad in the following. Especially Timer Enable (TE), Timer Timing (TT), Timer Done (T.D) purpose i couldn't understand as in Omron have only two cases either Timer ON/OFF. Typical Instructions like GSV, SSV, MVM, LIM, CPT felt difficult to understand. Could anyhelp on undestanding of this will be great. Also how the addressing will be in AB & where it will be assigned? Regards Lakshmi
  16. RS Logix Software

    RsLogix 5000 is much different than 5 or 500. It is used to program Controllogix, Compactlogix, Flexlogix, etc. Which PLC are you going to be programing?
  17. Usb Compability

    Hi Everybody, We are interfacing DPS (Digital Power Supply) through software developed on VB at the supplier end. We got only Set Up files for installation & we installed. In between PC to DPS we have one RS 232 to 485 converter because DPS supports only 485 signal. PC (VB Software) <------>RS232<------->RS485<-------->DPS Now we would like to use USB instead of Com1 port at PC for communication. VB software is programmed to work with Com1 port only. If we want to change this one to USB, I it posiible to acheive communication for USB. (we have only set up files with us & code not available) Any help would be highly appreciated. Thanks in advance Lakshmi
  18. Hello, I am new to the PID & I would like to take suggestion in the implementation Generally I planned to implement like this without using PID instruction If Suppose SV=250 PV=100 difference=SV-PV=+150 This Maximum difference will be 250 for 250 Centigrade-------0FA0 (10V output) So 150.. -------= (150 *10)/250 =6V (interms of volts) Gas valve will open proportionately 0--10v. Can I use SCL (Scaling ) instruction for this manipulation? The above calucation will be going on as long as difference carries positive sign. If it is Negative sign, immediately we will stop/close (0 Volts output) the Gas valve & will continue till reaches Zero. It is the general idea but i don't know what kind of problems i will face with this? Also I would like to know what are the advantages of PID over above? I really looking for the earliest possible reply Thanks in Advance Lakshmi
  19. Pid Implementation

    Hello, I am new to the PID & I would like to take suggestion in the implementation My temperature range: 0----250 So Set Value will be in this range given from HMI. Module resolution is from 0----0FA0 ( which is equivalent to 0----10v) Generally I planned to implement like this without using PID instruction If Suppose SV=250 PV=100 difference=SV-PV=+150 This Maximum difference will be 250 for 250 Centigrade-------0FA0 (10V output) So 150.. -------= (150 *10)/250 =6V (interms of volts) Gas valve will open proportionately 0--10v. Can I use SCL(Scaling) instruction for this manipulation? The above calucation will be going on as long as difference carries positive sign. If it is Negative sign, immediately we will stop/close (0 Volts output) the Gas valve & will continue till reaches Zero. It is the general idea but i don't know what kind of problems i will face with this? Also I would like to know what are the advantages of PID over above? I really looking for the earliest possible reply Thanks in Advance Lakshmi
  20. Hi Everyone! I had a cable (given by local Omron distributor -made cable, non standard) which i used for either CJ1M-CPU13 PLC & NS5 HMI for communication.This cable disappeared. After that i need to communicate only to NS5<---> PC. So i made cable like this as per manual. PC ------------NS 2-----------------2 3-----------------3 5------------------9 Its well working with NS5 for downloading/uploading. Now i need to communicate with CJ1M PLC through 9 pin port also. Could anybody have cable drawing to connect PC<----->CJ1M PLC? If it is the same as above, i tried to communicate but failed. what might be the problem with my set up? If it is not the same, i need to prepare 1 more cable. Now i will have 2 cables one for NS5 & another for PLC which difficult to carry & find. I would like to make 2 cables into 1 so that i can use for any (NS5 or PLC) Means I would like to know the cable details how Omron Distributor (who is not available now) would connected/made the single cable compatable for both. Help Please! Lakshmi
  21. Single Cable To Communicate Either Ns5 Or Cj1m

    Hi PdL, You are exactly right that 4 and 5 should be looped at CJ side. The cable made as per your drawing is working well from PC <-----> to CJ1M and also PC <-----> NS5. So my problem solved. But i would like to know your valuable comments that where it went wrong on my rough draft drawing, what I submitted above. Thanks in advance Best Regards Lakshmi
  22. Single Cable To Communicate Either Ns5 Or Cj1m

    Hi PdL, I remebered, Just i roughly drafted the cable (given Omron Distributor suits to communicate with both the CJ1M & NS5) details some where, today i got it, as shown below. I would like correct that PC & NS reversed in the image. NS ---------------------------------------------------------PC I am not sure whether i picked up the cable details correctly at that time. Just i would like to know whether this cable (above) details are correct, if will it work for both communication CJ1M & NS5. Thanks for your info. Best Regards Lakshmi
  23. Pid Implementation

    Hello, I am new to the PID & I would like to take suggestion in the implementation My temperature range: 0----250 So Set Value will be in this range given from HMI. Module resolution is from 0----0FA0 ( which is equivalent to 0----10v) Generally I planned to implement like this without using PID instruction If Suppose SV=250 PV=100 difference=SV-PV=+150 This Maximum difference will be 250 for 250 Centigrade-------0FA0 (10V output) So 150.. -------= (150 *10)/250 =6V (interms of volts) Gas valve will open proportionately 0--10v. Can I use SCL instruction for this manipulation? The above calucation will be going on as long as difference carries positive sign. If it is Negative sign, immediately we will stop/close (0 Volts output) the Gas valve & will continue till reaches Zero. It is the general idea but i don't know what kind of problems i will face with this? Also I would like to know what are the advantages of PID over above? I really looking for the earliest possible reply Thanks in Advance Lakshmi
  24. Pid Implementation

    PdL, Thanks for the quick response,Information provided & Now I can go ahead based on your inputs. Lakshmi
  25. Pid Implementation

    Thanks PdL, Auto Tuning function very useful.I refered Instruction manual & I could able to find one Auto tune Instruction PIDAT(191) for CJ1M-CPU13. Here in this, C, C+1,.C+2...C+8 are PID parameters. The settings of these parameters i really confusing how to program for autotune function. Please send me sample PID code if anybody have?/Help me understanding PID parameters settings for Auto tune functions. Lakshmi