Omron ZCP Compare Command,,, How do you use ?

mark30504

Member
Join Date
Jul 2005
Location
Georgia
Posts
9
Hello Omron has a compare command ZCP

How do I tie the outcome of the compare to an ouput.

I have tried just a line over to an output from the compare fuction and it does not seem to like this.

thanks

Mark
 
Zone Compare can be a bit confusing the first time around... :nodi:

Zone Compare needs 4 values:

[ZCP w x y z]

w is the 'lower' end of the zone
x is the 'upper' end of the zone
y is the value you want to look at
z is the starting bit of the 3 result bits

Using [ZCP K2 K5 D1 M1] as an example:

D1 is the word we will be comparing. The 'zone' will be from 2 to 5. M1 will be the first bit of the 3 result bits, which means it will use M1, M2, and M3

M1 will be ON when D1 < 2
M2 will be ON when D1 > 2, AND < 5
M3 will be ON when D1 > 5

You could use the appropriate M bit to turn on your output.

šŸ»

-Eric
 
Hello Mark,
The Omron ZCP instruction has 3 parameters -
Comparison Data
Lower Limit Value
Upper Limit Value
You will need to use an Arithmetic flag immediately after the ZCP.
(Note, the "<=", ">=", and "<>" flags are unaffected by ZCP).

Hope this helps
 

Similar Topics

I've come across a system running omeron cx-programmer version 9.42. Am I going to need to find a legacy version of the software to edit and...
Replies
1
Views
67
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
5
Views
199
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
78
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
135
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
286
Back
Top Bottom