![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Nov 2007
Location: Quebec
Posts: 69
|
![]()
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 |
![]() |
![]() |
#2 |
Member
![]() ![]() 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. |
![]() |
![]() |
#3 |
Member
![]() ![]() Join Date: Nov 2007
Location: Quebec
Posts: 69
|
It have just that line in the program
|
![]() |
![]() |
#4 |
Member
|
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... |
![]() |
![]() |
#5 |
Member
![]() ![]() Join Date: Nov 2007
Location: Quebec
Posts: 69
|
The PLC is in Monitor mode
|
![]() |
![]() |
#6 |
Member
![]() ![]() Join Date: Oct 2004
Location: Montreal
Posts: 729
|
Can you post entire project here?
|
![]() |
![]() |
#7 |
Member
![]() ![]() 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!
|
![]() |
![]() |
#8 |
Member
![]() ![]() 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. |
![]() |
![]() |
#9 |
Member
|
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 |
![]() |
![]() |
#10 |
Member
![]() ![]() Join Date: Nov 2007
Location: Quebec
Posts: 69
|
What is code scanned?
|
![]() |
![]() |
#11 |
Member
![]() ![]() Join Date: Nov 2007
Location: Quebec
Posts: 69
|
My problem was the dip switch of memory protect
Thank you for your help again |
![]() |
![]() |
#12 |
Member
|
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).
|
![]() |
![]() |
#13 |
Member
![]() ![]() Join Date: Oct 2018
Location: Tangerang
Posts: 5
|
![]()
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 |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
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 |