You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old May 3rd, 2008, 08:09 PM   #1
fons04
Member
Canada

fons04 is offline
 
Join Date: Nov 2007
Location: Quebec
Posts: 69
Unhappy coil on cx programmer

hi, i have a cqm1 cpu21 with a output card oc222. I've made a simple program that have a simple input contact 0.0 (push button) and a output coil 100.0 (120VAC light) like that:
--[]--------O--
When i try it with cx programmer, i push the button, the green lines go to the coil, but it is not ON and not became green. The output does'nt light, my input light is OK. When i force the coil to be ON, it work and it became green like it supposed to be normaly. What's the problem? Thanks
  Reply With Quote
Old May 3rd, 2008, 09:40 PM   #2
Sergei Troizky
Member
Canada

Sergei Troizky is offline
 
Join Date: Oct 2004
Location: Montreal
Posts: 729
The coil is:
- In non-executed fragment of program, or
- Being reset somewhere below in the program, including double-coil scenario and indirect addressing possibility.
  Reply With Quote
Old May 3rd, 2008, 10:02 PM   #3
fons04
Member
Canada

fons04 is offline
 
Join Date: Nov 2007
Location: Quebec
Posts: 69
It have just that line in the program
  Reply With Quote
Old May 4th, 2008, 04:01 AM   #4
Carol
Member
Netherlands

Carol is offline
 
Carol's Avatar
 
Join Date: May 2008
Location: Rosmalen
Posts: 7
Fons,

just a little thought, is the PLC in running mode?
I noticed that in CX Programmer in the PLC settings the default mode is "Use Programming Console".
When you chance this to "Monitor" it allows you to monitor the program and sets the PLC in Run.

Carol
__________________
to Bit or not to Bit...
  Reply With Quote
Old May 4th, 2008, 10:12 AM   #5
fons04
Member
Canada

fons04 is offline
 
Join Date: Nov 2007
Location: Quebec
Posts: 69
The PLC is in Monitor mode
  Reply With Quote
Old May 4th, 2008, 11:09 AM   #6
Sergei Troizky
Member
Canada

Sergei Troizky is offline
 
Join Date: Oct 2004
Location: Montreal
Posts: 729
Can you post entire project here?
  Reply With Quote
Old May 4th, 2008, 11:40 AM   #7
Vladimirant
Member
Israel

Vladimirant is offline
 
Join Date: Apr 2008
Location: Petach Tikva
Posts: 1
Check ,please most simple reasons

Are you sure that signal leds are flashing according the program?Yes?!First of all check if the COM terminals on the input and output blocks are connected properly!Also important to check signal wiring/Good luck!
  Reply With Quote
Old May 4th, 2008, 02:13 PM   #8
scottmurphy
Member
New Zealand

scottmurphy is offline
 
Join Date: Oct 2004
Posts: 363
As stated, can you post your cx-p file so that we can have a look? Also, can you state more carefully your actual PLC configuration, CPU, OC222, any other modules etc in between.

More information is needed, so that the problem can tried to be replicated.
  Reply With Quote
Old May 4th, 2008, 05:18 PM   #9
panic mode
Member
Canada

panic mode is offline
 
panic mode's Avatar
 
Join Date: May 2003
Location: Toronto, Canada
Posts: 1,962
i am with Sergey,

if i read it correctly, fons04 already stated that:
- forcing output produces result indicating that output wiring is ok.
- pressing input button shows green while monitoring indicating that input wiring is ok.
- he can go online and monitor indicating that his software and programming cable are ok
- he also stated that this is the only line of code in the plc meaning that there is no other PLC instruction clearing the bit.

if there is nothing else connected to PLC (an HMI etc.) the only signals are from the PLCs I/O meaning that the only explanation is:
1. plc is not running (it should be if in monitor mode)
2. code is not scaned (should be checked first)
3. PLC is defective
  Reply With Quote
Old May 4th, 2008, 05:21 PM   #10
fons04
Member
Canada

fons04 is offline
 
Join Date: Nov 2007
Location: Quebec
Posts: 69
What is code scanned?
  Reply With Quote
Old May 4th, 2008, 07:13 PM   #11
fons04
Member
Canada

fons04 is offline
 
Join Date: Nov 2007
Location: Quebec
Posts: 69
My problem was the dip switch of memory protect
Thank you for your help again
  Reply With Quote
Old May 5th, 2008, 09:10 AM   #12
panic mode
Member
Canada

panic mode is offline
 
panic mode's Avatar
 
Join Date: May 2003
Location: Toronto, Canada
Posts: 1,962
plc reads and executes program line by line, instruction by instruction. this is called scanning. the faster the plc (and shorter the program) the shorter the scan time. it is possible to create program that is not executed by plc (code block not called or part of it is jumped over etc.). in this case we are talking about code not being scanned (executed).
  Reply With Quote
Old October 23rd, 2018, 10:54 PM   #13
Hanifbenet
Member
Indonesia

Hanifbenet is offline
 
Join Date: Oct 2018
Location: Tangerang
Posts: 5
Unhappy OC211 isnt work with cj2m cpu35

Hi, I have a Plc omron cj2m cpu 35 with module input id232 and output oc211

When i try my program with cx programmer. The input in the program is work and green line go to the coil. But in center the coil is not grenn. My input led is on, but led from oc 211 turn off. When i force it is work and led oc221 on , it work and it became green like it supposed to be normally in cx programer. What the problem? Thanks
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
OT,But still... AC v DC geniusintraining LIVE PLC Questions And Answers 31 February 3rd, 2019 03:45 PM
CX programmer communication glitch? mordred LIVE PLC Questions And Answers 8 May 14th, 2007 09:50 AM
Omron CX Programmer DIFU clarification Johnny T LIVE PLC Questions And Answers 9 January 5th, 2006 03:33 AM
First steps with CX Programmer Steve Kemp LIVE PLC Questions And Answers 3 June 6th, 2005 05:26 PM
Omrom CX Programmer Craig S LIVE PLC Questions And Answers 6 February 5th, 2004 05:55 AM


All times are GMT -4. The time now is 01:13 AM.


.