List Info

Thread: Does magic_bit_alias affect all points in that module?




Does magic_bit_alias affect all points in that module?
user name
2006-10-30 10:01:29
Hi Jiri !!
I'm thinking about use magic_bit_aliases.
If I set magic_bit_aliases = 1,
all points in this module must be 32 bit long (or 16bit),
and each of them has 32(or 16) alias points ?
If I make a point called my_point,
can I get point handle by alias name (my_point.0)?
And is it 1 bit point ?
Also get handle of my_point and it's 32 bit long?
 
    thank you
   ikeya
Does magic_bit_alias affect all points in that module?
user name
2006-10-30 13:15:46
Hello,

takeshi ikeya:
> I'm thinking about use magic_bit_aliases.
> If I set magic_bit_aliases = 1,
> all points in this module must be 32 bit long (or
16bit),
> and each of them has 32(or 16) alias points ?

Any size of points is allowed regardless of the
magic_bit_aliases setting.

> If I make a point called my_point,
> can I get point handle by alias name (my_point.0)?

Yes.

> And is it 1 bit point ?

There are two possibilities:
* if my_point is at least 1 bit long, my_point.0 will be a 1
bit point.
* if my_point is 0-length, my_point.0 will also be 0-length

A third possibility would be if the offset is greater than
the length of the 
point. For instance, if my_point is 5 bits long, my_point.31
is invalid.

(Note that there is a special case: if my_point is 0-bit,
all sub-points are 
valid and 0-length. This makes it possible to "comment
out" a point by making 
it 0-length even if it does have sub-points.)

> Also get handle of my_point and it's 32 bit long?

my_point will have whatever length is declared in the
matplc.conf file.

Jiri
-- 
Jiri Baum <jiribaum.com.au>                   http://www.baum.com.au/~
jiri

------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel

Does magic_bit_alias affect all points in that module?
user name
2006-10-30 13:15:46
Hello,

takeshi ikeya:
> I'm thinking about use magic_bit_aliases.
> If I set magic_bit_aliases = 1,
> all points in this module must be 32 bit long (or
16bit),
> and each of them has 32(or 16) alias points ?

Any size of points is allowed regardless of the
magic_bit_aliases setting.

> If I make a point called my_point,
> can I get point handle by alias name (my_point.0)?

Yes.

> And is it 1 bit point ?

There are two possibilities:
* if my_point is at least 1 bit long, my_point.0 will be a 1
bit point.
* if my_point is 0-length, my_point.0 will also be 0-length

A third possibility would be if the offset is greater than
the length of the 
point. For instance, if my_point is 5 bits long, my_point.31
is invalid.

(Note that there is a special case: if my_point is 0-bit,
all sub-points are 
valid and 0-length. This makes it possible to "comment
out" a point by making 
it 0-length even if it does have sub-points.)

> Also get handle of my_point and it's 32 bit long?

my_point will have whatever length is declared in the
matplc.conf file.

Jiri
-- 
Jiri Baum <jiribaum.com.au>                   http://www.baum.com.au/~
jiri

------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel

Does magic_bit_alias affect all points in that module?
user name
2006-10-30 22:17:03
Thank you Jiri!
I understood magic_bit_aliases is not good for my purpose.
I'm making a server module&nbsp;which reads in the status of points (to real world) and drive fieldbus master card.
I think it's time consuming to read points one by one, so I'm planinng to read them at a word.
Is there any good way ?
 
 &nbsp;  ikeya

&nbsp;
&nbsp;

 

Does magic_bit_alias affect all points in that module?
user name
2006-10-30 22:17:03
Thank you Jiri!
I understood magic_bit_aliases is not good for my purpose.
I'm making a server module&nbsp;which reads in the status of points (to real world) and drive fieldbus master card.
I think it's time consuming to read points one by one, so I'm planinng to read them at a word.
Is there any good way ?
 
 &nbsp;  ikeya

&nbsp;
&nbsp;

 

Does magic_bit_alias affect all points in that module?
user name
2006-10-31 06:44:35
Hello,

takeshi ikeya:
> I'm making a server module which reads in the status of
points (to real
> world) and drive fieldbus master card.
> I think it's time consuming to read points one by one,
so I'm planinng to
> read them at a word.
> Is there any good way ?

Unfortunately, no.

We were planning to add this to the I/O library, but we
haven't done it yet - 
it's a difficult thing to do well in general.


Actually, thinking of it now, maybe it wouldn't be that
difficult after all; 
we could simply have multiple MatPLC points specified in the
"map" table; 
they'd be concatenated before being sent through to the I/O.

Would that solve the problem?


Jiri
-- 
Jiri Baum <jiribaum.com.au>                   http://www.baum.com.au/~
jiri

------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel

Does magic_bit_alias affect all points in that module?
user name
2006-10-31 06:44:35
Hello,

takeshi ikeya:
> I'm making a server module which reads in the status of
points (to real
> world) and drive fieldbus master card.
> I think it's time consuming to read points one by one,
so I'm planinng to
> read them at a word.
> Is there any good way ?

Unfortunately, no.

We were planning to add this to the I/O library, but we
haven't done it yet - 
it's a difficult thing to do well in general.


Actually, thinking of it now, maybe it wouldn't be that
difficult after all; 
we could simply have multiple MatPLC points specified in the
"map" table; 
they'd be concatenated before being sent through to the I/O.

Would that solve the problem?


Jiri
-- 
Jiri Baum <jiribaum.com.au>                   http://www.baum.com.au/~
jiri

------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel

Does magic_bit_alias affect all points in that module?
user name
2006-10-31 12:01:50


2006/10/31, Jiri Baum < jiribaum.com.au">jiribaum.com.au>:
we could simply have multiple MatPLC points specified in the "map&quot; table;
they'd be concatenated before being sent through to the I/O.
services, security?
What is map table ?
Where have I go to ?

   ; ikeya
Does magic_bit_alias affect all points in that module?
user name
2006-10-31 12:01:50


2006/10/31, Jiri Baum < jiribaum.com.au">jiribaum.com.au>:
we could simply have multiple MatPLC points specified in the "map&quot; table;
they'd be concatenated before being sent through to the I/O.
services, security?
What is map table ?
Where have I go to ?

   ; ikeya
Does magic_bit_alias affect all points in that module?
user name
2006-10-31 12:09:13
Hello,

Jiri Baum:
> > we could simply have multiple MatPLC points
specified in the "map" table;
> > they'd be concatenated before being sent through
to the I/O.

takeshi ikeya:
> What is map table ?
> Where have I go to ?

I'm sorry, I was thinking of possible additional
functionality for the 
"map ..." lines in the matplc.conf file.

It's not currently possible to do that; however, it might be
reasonably easy 
to add such functionality there. The question is whether it
would help...

Jiri
-- 
Jiri Baum <jiribaum.com.au>                   http://www.baum.com.au/~
jiri

------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel

[1-10] [11-17]

about | contact  Other archives ( Real Estate discussion Medical topics )