DL06 Compile error

geniusintraining

Lifetime Supporting Member + Moderator
Join Date
Jun 2005
Location
SC
Posts
8,242
Can anyone explain this? it was fine until I added X0 and tried to accept it...the error is listed below


error.gif
 
Its Common problem with AD.

Do not build complected rungs and it will work.
Delete X0
Instead of Y5 put C13.
then next rung
Ld c13
and not x0
out y5

I hope I helped with somthig.
 
It's not that you have that complex a rung. Most ladder implementations have an internal command (usually not seen by the programmer) which saves the status of the rung for retreival later.

In your rung this would have been just before the AND of NOT X0. It would have been some sort of PUSH of the currnt status of the rung onto the logic stack. After the OUT of Y5 the execution would have retreived the saved status (POP), ANDED it with X4 NOT and performed the OUT C11.

AD does not have this feature at the output point. The status before the AND of NOT X0 is lost. It can't be used to start the AND witn NOT X4. The name "AND Above a JOIN" is a little misleading but that's the reason.
 
bernie_carlton said:
It's not that you have that complex a rung. Most ladder implementations have an internal command (usually not seen by the programmer) which saves the status of the rung for retreival later.

In your rung this would have been just before the AND of NOT X0. It would have been some sort of PUSH of the currnt status of the rung onto the logic stack. After the OUT of Y5 the execution would have retreived the saved status (POP), ANDED it with X4 NOT and performed the OUT C11.

AD does not have this feature at the output point. The status before the AND of NOT X0 is lost. It can't be used to start the AND witn NOT X4. The name "AND Above a JOIN" is a little misleading but that's the reason.


I was wonder why it would not let me do that. I have done it alot on AB's but the AD gave me the same error or something simailar with the join being in the error.
Basically I found I can only branch outputs if I do not add a condition on the branch.

Now I know why...Thanks
 

Similar Topics

Hi, Mostly AB guy here with a little Koyo experience, but all of its digital. I get handed three analog I/O cards and asked to prove that they...
Replies
6
Views
478
Hi all, I am making a test rig to be able to wire in any DL06 (or DL05) And create a HMI in red lions crimson 3.1 to test all the inputs and...
Replies
4
Views
913
I have a Cmore screen which is communicating to the DL06 in BCD and need to create a timer that works in real numbers for a test, I simply need to...
Replies
3
Views
2,084
I have a client that has many Automation Direct DL06 PLCs for a municipal water/wastewater system. When there is a power outage, one of the sites...
Replies
4
Views
2,407
Hey everyone, Working on a system with a Koyo DL06 processor and it's my first experience with them. I have DirectSoft 6 and we got the program...
Replies
5
Views
2,257
Back
Top Bottom