Jay Anthony

MrPLC Admin
  • Content count

    3651
  • Joined

  • Last visited

Posts posted by Jay Anthony


  1. Merry Christmas! I'm back,

    Spent two long sessions in the dialysis chair analyzing your data.

    First, there must be a switch or voltage connected to Input 31.  It is referenced in the program related to StopMode KR7.  Therefore I have put Input 31 in the first line of your program.

    Second, there are references to Output 23 but there is no coil in the program for Output 23.  Is there anything connected to Output 23?

    Third. There are contacts for 64 but no coil in the program,

    Fourth, I converted the program to C20K which is the closest upgrade to S6 so that I could print ladder from the statement list.

    There is a txt file with the old S6 addresses so you can continue to analyse as you are with the machine and I am not.

    Lastly there is doc file with the ladder program converted,  Please print in landscape,

    S6.txt

    PRINT.docx


  2. Make copy of MacroINS.def on desktop

    Edit with notepad. Save on desktop

    Rename MacroINS.def in CX Designer folder to OldMacroINS.def

    Copy MacroINS.def from desktop to CX Designer folder

    To verify it works, check for FINS in Macro drop down list.

    Added to pdf above

    1 person likes this

  3. Use macro

    SETTIME Changes settings of internal clock of the PT

    Applicable versions System version 3 or higher Format

    SETTIME(S) Function Preset values for the specified address as S and writes them to the internal clock of PT. Setting range for S is between $W0 and $W32765 or between $HW0 and $HW8189. (See note)

    Set the value in BCD format for addresses to be written. Uses 3 words regarding the specified address as top.

    Note: Index can be used for specifying the address. Return Value None

    Example Case that December 31, 2002 18:59:20 is set.

    $W 100=H5920; $W101=H3118; $W102=H0212; SETTIME($W100);      
     


  4.  

    Quote

    If the PV is within more than one range when the comparison is made, the
    interrupt task for the range closest to the beginning of the table will be
    given priority and other interrupt tasks will be executed in following cycles.

    Your ranges overlap.   Try 30-59, 60-89, etc,


  5. Quote

    The Omron RS232 port is non standard wiring.

    Jumper 4 to 5

    Quote

    I talk with my professor  and he say that i must sent "AC01" hex and wait for response. 

    This is for the peripheral port.

    Quote

    To read the first CIO word.  Try "@00RR0000000141*CR"

    This is the correct protocol.  You are trying to use FINS protocol,

    Quote

    And what about terminator?? 

    "" is the terminator.


  6. Quote

    If i connect to omron, i sent code: "AC01" and i sent how long as omron return me "AC01" ??

    AC01 is an incorrect hostlink command.:shrug:  You will not get a response.

    To read the first CIO word.  Try "@00RR0000000141*CR"

    Quote

    I plug in bluetooth adapter directly to omron RS232. 

    What is your wiring?  The Omron RS232 port is non standard wiring.