js321

MrPLC Member
  • Content count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About js321

  • Rank
    Hi, I am New!

Profile Information

  • Country Canada
  1. Data Search function

    That is exactly what I asked for. Thanks!
  2. Data Search function

    Hi, I am using CPM2A PLC. I was using the @srch function. I know that this function returns the address of word that containing the comparsion data. My question is, is it possible to use that address in the next search or comparsion function? For example, I was searching the DM area. And it returns a value of #0100 in DM0050. And I want the program to automatically compare the next address of DM0100 which is DM0101. Is it possible to specify the comparsion address using a CMP function based on the outcome of the SRCH function? Thanks.
  3. movd(83) function

    Yes, I have read the instruction. I understand that the control word requires 4 digit instruction (ie: #1030). But the code that I am modifying only has 1 or 3 digits, for example #100, #0. What does that mean (like where is first digit from the source, first digit from destination, how many digit it is moving, etc).
  4. movd(83) function

    Hi, I am working on modifing a ladder code which read and validate a barcode. However, the code doesn't have any documentation on it. I am new to PLC programming, but I know that the instruction code of the movd function contains 4 digits. For example: #ABCD, A is first souce digit, B is number of digit, C is first destination digit, D is not used. But in my PLC code, the some instruction codes only contain 1 or 3 digits. For example, #100, #1. I do not have a work simulator. I don't know what that is telling the PLC to do. Thanks.