Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

carry flag

Status
Not open for further replies.

renrut

Computer
Joined
Nov 7, 2006
Messages
4
Location
US
In Omron PLC programming I continuoulsy run across a cf?? input that needs to be turned on/off depending on situation. I have looked over the program and see no place that will trigger said input. Can anyone tell me what controls a carry flag.

Thanks
 
The obvious answer is: A mathematical operation. Like adding two numbers and the result is greater than the numerical range covered by the processor.

But there are other answers, too. Like you have a counter that overranges. Or anything like that. Have a look in the manual - it usually covers these things.

Gunnar Englund
--------------------------------------
100 % recycled posting: Electrons, ideas, finger-tips have been used over and over again...
 
Maybe I am misunderstanding the concept here. Looking thru the instruction sheets on CX-Programmer I see a (CY) as a Carry Flag denotation. I am looking for a description of a (CF) input command. Nothing in these sheets that I can find. Could someone explain please?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top