Jay Anthony

MrPLC Admin
  • Content count

    3651
  • Joined

  • Last visited

Posts posted by Jay Anthony


  1. I have a problem about omron plc. the cpu is cj1m cpu12 and counter module is ct021. when i programmed the cpu by memory stick, the machine is run ok but after 1or 2 day the couter module get ERC led error, no run led shown in counter module. but cpu is still run mode.

    again i upload prog memory to cpu then machine run ok. but same problem come again.

    81719-smdhannan ok. but why this cause.

    CT021-Unit error p2.jpg


  2. Fairly new programmer doing first analog section in project at new job. Im using NCF motion with parameter for torque control to send the torque values  a+8 (leftmost word) and a+9 (right most word) to CX programmer. From there is where I get confused will I just simply be moving both cio 108 and 109 to to a D register?? or will I have to combine the a+8 and a+9 to make a Dword??? and then taking that value to HMI broken line graph. sorry again for creeping in your inbox but ive been looking online for 6 hours. would greatly appreciate any help

    Screen Shot 2018-08-29 at 9.37.21 PM.png

    Screen Shot 2018-08-29 at 8.03.30 PM.png


  3. USE SLD

    SLD(074) shifts data between St and E by one digit (4 bits) to the left. “0” is placed in the rightmost digit (bits 3 to 0 of St), and the content of the leftmost digit (bits 15 to 12 of E) is lost.

     

    Put 1234 in St and use ST+1 to view your data.

    Image1.jpg

    1 person likes this

  4. D1 and D1+1: Number of Write Items
    The 8-digit hexadecimal value in D1 and D1+1 specifies how many words or  fields to write to file memory.

    What is the conterts of D1 and D1+1:?


  5. Hi Jay:

                         I have been trying to modifying your Cx protocol Modbus RTU master cx protocol,

     

    For the First part message send with fix message "010300060004A408"  Reading 4 register from 40007 to 40010

     

    Now , I am trying to understand what you wrote "<a>+[03]+<l>+(W(1),*)+<c>"     My intention is to have a fix format of response message just like with start code and end code since i know i only need 4 register instead of "<a>+[03]+<l>+(W(1),*)+<c>" 

    The Response should be 0103AAAABBBBCCCCDDDD+CRC , correct?

    That mean,

    1) <a>  is [01] Constant Hex in cx protocol.

    2) [03] is the function code 03

    3) <l> should be 16 bytes?

    4)  W(1),*  can the wild card replace with 8 bytes of data?

    How can I have a fixed response for the like this  XX+AAAABBBBCCCCDDDD+CRC?