what is the logic behind these ladder lines

Thread Starter

reza moslemi

Joined Nov 23, 2018
2
I have a ladder diagram for timing porpose.(keyence KV-24DR)
some instructions are repeated many times but I dont understand what are these for.
can anybody help me?
w2.JPG

w.JPG
 

Attachments

MaxHeadRoom

Joined Jul 18, 2013
21,411
Personally never used the keyence KV-24DR, but there does not appear to be a decent manual out there that shows the instruction set?
Max.
 

Thread Starter

reza moslemi

Joined Nov 23, 2018
2
2002: Always ON relay
LDA(DM0021): load A from data memory #0021
ADD(#00001): Adds value specified by operand to contents of internal register, and inputs result back to same internal register.
CMP(#00000): Compares content of internal register and value specified by operand.
DW(#00000)(DM#00021): writes #00000 to data memory #000021

the programming manual is attached.

the confusing thing is that the program increments a number(I think it should be positive) and then compares it with '0' !!!
 

Attachments

Top