Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 22, 2012, 03:43:26 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
>
General Category
>
DirectSOFT
>
DL06 -CMPV
Pages: [
1
]
« previous
next »
Print
Author
Topic: DL06 -CMPV (Read 398 times)
malcolm58
Newbie
Posts: 5
DL06 -CMPV
«
on:
October 19, 2010, 02:35:55 pm »
Hi,
I am having trouble with CMPV.
In the first stage I load an “A” in two separate V memory locations using a VPRINT command.
In the second stage I compare the two v memory locations, and when they are equal or unequal I can not get the SP61 to change.
Do you have any ideas as to what I am doing wrong?
Ultimately I want to read [AIN] from a computer and compare the characters.
Malcolm58
Logged
b_carlton
Internal Dev
Posts: 388
Re: DL06 -CMPV
«
Reply #1 on:
October 19, 2010, 02:55:25 pm »
Are you looking at the state of SP61 directly? Are you passing it to a 'C' bit? If you are using an OUT command in a stage then it may be turning off as the stage is exited. Try this:
In the first stage load the two 'A' registers and also do a reset (RST) of the 'C' bit used.
In the second stage have the true state of SP61 SET that C bit. The view the C bit.
Logged
An output is a PLC's way of getting its inputs to change.
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> MX Technology Preview
=> General Discussion
=> CTRIO
=> DirectSOFT
=> DNLoader
=> DSData
=> EBCs and EBC100s
=> ECOMs and ECOM100s
=> EDRV
=> ERM
=> Ethernet SDK
=> MB-GATEWAY
=> NetEdit
=> Profibus
=> WinPLC
Loading...