17:33, EET
January 6, 2015
Hello
How can i create an new item, that is requested from a OPC-Client. Is there a event that are triggered?
My idea are, the client give me the item-name, and my OPC-Server should add the new item with this name!
For an Exampel:
the OPC-Client are requesting the follow OPC-Item: “KSA.DB200.DBW0”
Now the OPC-Server should add this to the variable list
May somebody can give me a hint!
Thanks
Gregor
9:26, EET
December 21, 2011
12:37, EET
January 6, 2015
13:20, EET
January 6, 2015
14:21, EET
December 21, 2011
gkobler said
How can i create a OPC-Item, that are has the datatyp SmallIntWhen i use TPsInteger, it will create a “Long Integer” at the client side.
And i also want to create a Array of SmallInt. There is a Object called TPsByteArray, but this will create not that what i want!
Prosys Central only uses “major” data types in the variables, so it is not possible to create SmallInt items. There is no real requirement to save memory with alternative data types. The client can, however, request data as SmallInt (using OPC Item DataType/RequestedDataType) and the OPCProvider will do the required conversions. I am not sure how the arrays will convert, though.
8:09, EET
January 6, 2015
Jouni Aro said
gkobler said
How can i create a OPC-Item, that are has the datatyp SmallIntWhen i use TPsInteger, it will create a “Long Integer” at the client side.
And i also want to create a Array of SmallInt. There is a Object called TPsByteArray, but this will create not that what i want!
Prosys Central only uses “major” data types in the variables, so it is not possible to create SmallInt items. There is no real requirement to save memory with alternative data types. The client can, however, request data as SmallInt (using OPC Item DataType/RequestedDataType) and the OPCProvider will do the required conversions. I am not sure how the arrays will convert, though.
Hello Jouni
Thanks for it, i think i got what i want. It’s not in matter to save space. But the Siemens-OPC-Server makes thes Datatypes, when he creates his OPC-Items.
I have made a heredity of the type TPsInteger and changed the datatype to SmallInt, and i did it also with TPsByteArray.
Regards
Gregor
Most Users Ever Online: 1919
Currently Online:
21 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 726
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_galleryModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1