Ask our Experts
Didn't find what you are looking for? Ask our experts!
A support forum for AVEVA Plant SCADA (formerly Citect SCADA). Share new and exciting product information, connect, learn, and collaborate with the ecosystem of Plant SCADA Users. AVEVA Plant SCADA a reliable, flexible and high-performance Supervisory Control and Data Acquisition software solution for industrial process customers. This forum is to connect, share, learn and collaborate new and exciting product information. Feel free to join and share to your Ecosystem of Plant SCADA Users.
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-22 05:54 AM
I am using AVEVA Plant SCADA 2023 and trying to add a TIMESTAMP variable to an internal IO device known as DISK_DRIVE which uses the Generic protocol. When I compile, I get the following error:
| Bad IO Device variable (E2014) |
Apparently this is because the Address "T1" is unacceptable for a TIMESTAMP data type in the generic protocol, but I can't find a reference that tells me what an acceptable address is for that data type in that protocol. Where do I find a reference which will tell me what I can use?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-23 08:41 PM
Hi @macnite,
Variable Tags don't support the data type "TIMESTAMP". This is a data type for use in Cicode. Please see the Cicode reference for variable data types here:
https://docs.aveva.com/bundle/plant-scada/page/1130160.html
If you open up the file \Plant SCADA\Bin\Generic.dbf it contains the schema for the generic protocol address format (see extract):
| TEMPLATE | COMMENT |
| D%U | Digital |
| I%U | Integer |
| R%U | Real |
| L%U | Long |
| S%U | String |
| DIGITAL%U | Digital |
| INT%U | Integer |
| REAL%U | Real |
| LONG%U | Long |
| STRING%U | String |
I think can safely define this tag as a LONG, say "L1" and it will compile.
You should then be ok to use this Generic DISK device variable within Cicode in the place that requires TIMESTAMP values, since Cicode will automatically convert the LONG datatype into the expected TIMESTAMP datatype for you. See this section for more information:
https://docs.aveva.com/bundle/plant-scada/page/1130158.html
Kind regards
Olivier
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-23 08:41 PM
Hi @macnite,
Variable Tags don't support the data type "TIMESTAMP". This is a data type for use in Cicode. Please see the Cicode reference for variable data types here:
https://docs.aveva.com/bundle/plant-scada/page/1130160.html
If you open up the file \Plant SCADA\Bin\Generic.dbf it contains the schema for the generic protocol address format (see extract):
| TEMPLATE | COMMENT |
| D%U | Digital |
| I%U | Integer |
| R%U | Real |
| L%U | Long |
| S%U | String |
| DIGITAL%U | Digital |
| INT%U | Integer |
| REAL%U | Real |
| LONG%U | Long |
| STRING%U | String |
I think can safely define this tag as a LONG, say "L1" and it will compile.
You should then be ok to use this Generic DISK device variable within Cicode in the place that requires TIMESTAMP values, since Cicode will automatically convert the LONG datatype into the expected TIMESTAMP datatype for you. See this section for more information:
https://docs.aveva.com/bundle/plant-scada/page/1130158.html
Kind regards
Olivier
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.