Jay Anthony
MrPLC Admin-
Content count
3651 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by Jay Anthony
-
There quite a few errors in the revised code, Suggest you check the current code in the S6 against Code as of 12027 .txt. Confirming there should be 177 Steps including Step0. Code as of 12-27.txt
-
Hold on. Analyzing lad piece of text.
-
LD 4 AND 81 LD 64Insert OR LD Take Notice AND NOT 67 OUT 64
-
Are you documenting the current code? If so, post text file.
-
Step 085: Change from TIM1? 'to OR LD? LD 4 AND 81 LD 64 Insert OR LD AND NOT 67 OUT 64
-
Step 105: Coil Double Out 75 Check Step 112 for Cut 76. Step 020: Circuit Error IL END. - When looking at the code, I entered an IL statement at step 7 so I don't understand the IL END. Check Step 19. Delete LD NOT KR7. Step 087: Circuit Error Out 64 Check Step 85 for OR LD Also, when keying, I wasn't sure how to keep the command "keep" (step 49). I keyed it as KR 7. This occurs again at step 160. That is correct. Your above post comments that we should add a LD NOT 31 line into the old code, the "new code" begins with LD 31. I assume that is OK as the old and new, while doing similar things get there in different ways. Change LD 31 to LD NOT 31 I can't really tell if the status Hopper Full makes it "run" or makes it "stop". Is Input 0 on when there is material in the hopper.? Js
-
Punch list: 1. Your listing shows all of the timers at the beginning of the code. I don't believe they are there or if they are they shouldn't be. Please confirm and let's discuss. 2. We need to insert LD NOT 31 at step 000 of the code. Please review the manual on how to do this. 3. Search for Out 25. Back up 3 steps. Change to AND NOT 65. 4. Search for Out 16. Back up 2 steps. Change to AND NOT KR3. 5. Search for Out 17. Back up 2 steps. Change to AND NOT KR3. 6 Search for Out 66. Forward 1 step. Change to LD NOT 31. Take your time. It's very easy to make mistakes. Verify with Key Switch in MON Mode.
-
Getting ready to go to another four hour dialysis session. I will think about your next steps. I o not think it will be necessary to clear the program and reenter it. Too much chance for mistakes. I think I can guide you in making the changes. Let me make a punch list of changes.
-
64 is an internal bit, so don't look for a wired connection.
-
S6Code.txt
-
S6toC2K.txt
-
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
-
Also what is the set value for CNT 0?
-
I have started the analysis but will not finish until Monday due to other commitments. It is my belief that someone deleted only the first few lines of code. The rest looks proper,
-
Your code would help. S6 had a habit of scrambling the first instruction. Please post your mapping and code as pulled off the machine.
-
I was thinking of a similar loop in NS.
-
https://www.ebay.com/sch/i.html?_from=R40&_trksid=m570.l1313&_nkw=3F88L-130&_sacat=0 https://www.ebay.com/sch/i.html?_from=R40&_trksid=m570.l1313&_nkw=3F88L-132&_sacat=0&LH_TitleDesc=0&_osacat=0&_odkw=3F88L-130
-
The memory tool in CX Programmer has a tab for reading forced status. It takes quite a while to load so I suspect a looping of the variable area read function. See pdf below, VARIABLE AREA ACCESS(.pdf Forced SetReset Execution.pdf
-
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
-
Well, it took a lot of research, but FINS command can be sent by NS Macro (see attached PDF) FINS Macro Scripting 111304.pdf
-
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);
-
Your ranges overlap. Try 30-59, 60-89, etc,
-
What is FINS unit number for CP1W-ETN61 ?
Jay Anthony replied to Sergei Troizky's topic in CX-Programmer
As usual PMCR has created an excellent quick start guide for this product. CP1WETN61_FINSethernet_SetupGd_V110.pdf