Omron ramp?

Soggy Canuck

Lifetime Supporting Member
Join Date
Jan 2008
Location
Vancouver
Posts
229
Its been a very long day...... I'm doing a startup on a CJ2 PLC with a CJ1W-MAD042 card. I need to set a output ramp rate on one of the 0-10V O/P channels based on a digital input. (IE: push a button for a given timeframe voltage increases, push another button voltage decreases, the longer the button is held the more the voltage changes, you get the picture) easy to do in A-B, I can't seem to find a useful (READ EASY) way to do this in Omronese.

Any pointers or hints would be appreciated (WHERES the ramp instruction????)
 
Here's and idea to get you started.
Increment/decrement DM0 in range 0-500,000.
First two rungs increment/decrement at scan rate,
third rung increment/decrement at 5Hz.

IncrDecr Example.jpg
 
Thank you BITS N BYTES, that's very similar to what I implemented, except I used an add function instead of increment to allow fine tuning of the ramp rate.
 
Increment is by far the easiest.
You can also put @ in front of the function inline with the clock so that the increment/decrement only happens on a rising edge.
 
OMRON - RAMP with Increasing Rate

Attached example for Ramping between 0-1000 with increasing rate.
Rising edge of Increment/Decrement pushbutton changes value by 1.
If Increment/Decrement pushbutton remains ON then ramp changes at an increasing rate up to a maximum of 10Hz.

[CX Programmer V9.21 using PLC type CJ1M-CPU21]
 

Similar Topics

Has anyone done SMS messaging from an Omron CJ2J-CPU31 PLC? If so could you help please. Omron here in Oz have not had any experience doing this...
Replies
3
Views
94
I have an old plc in the system I have, moxa nport was used to communicate with scada, I want to replace the plc with cj2m cpu33 and eliminate...
Replies
1
Views
60
Hi all, i have 8 CJ2m plc units that show different numbers on the plc display and i am stuck on reading the info. my unit has an ip address of...
Replies
3
Views
96
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
253
Hi There, I have couple of Omron PLCs connected on my kepserverex and my intouch reads data from kepserverex. I have been observing that roughly...
Replies
4
Views
131
Back
Top Bottom