Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 18, 2012, 06:48:59 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
>
General Category
>
DirectSOFT
>
Using SUBBS
Pages: [
1
]
« previous
next »
Print
Author
Topic: Using SUBBS (Read 810 times)
mo2004
Jr. Member
Posts: 14
Using SUBBS
«
on:
February 22, 2008, 05:45:49 pm »
hello, every one
What are consequences of using SUBBS command with OUT. And not using SUBBS with OUTD.
Is it a good rule of thumb that every time that i have command that is 32 bit to use an OUTD command.
Logged
franji1
Bit Weenie
Host Moderator
Posts: 1032
Re: Using SUBBS
«
Reply #1 on:
February 22, 2008, 06:11:38 pm »
I'm not sure what you mean by "consequences". All code has consequences, it depends upon what you are trying to do. Give us all the output logic for the rung, along with parameters (this will help us know for sure you are doing an OUT box versus an OUT coil)
Logged
There are only 10 kinds of people in this world: those who know binary, and those who don't
b_carlton
Internal Dev
Posts: 386
Re: Using SUBBS
«
Reply #2 on:
February 22, 2008, 06:34:39 pm »
Only you know if the result of the SUBBS will ever have meaningful data in the upper 16 bits. If not then the OUT command is fine. Otherwise you must use the OUTD to preserve all the information in the accumulator..
Logged
An output is a PLC's way of getting its inputs to change.
mo2004
Jr. Member
Posts: 14
Re: Using SUBBS
«
Reply #3 on:
February 22, 2008, 06:37:08 pm »
thank you,
b_carlton
Logged
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...