Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
Update Component.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PTKu authored Oct 4, 2022
1 parent 9bae48d commit e35784a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions articles/Conventions/Component.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@

| REVISION | DATE | NOTES |
|----------|------------|---------------------------|
| 0.0 | April 2021 | Initial release |
| 0.0 | Jan 2021 | Components library naming |
| 0.0 | April 2021 | Initial release |
| 0.0 | Jan 2021 | Components library naming |
| 0.1 | Oct 2022 | Component abstraction rules |

This document describes the format and practices for writing components in TcOpen. These are universal rules to observe. Each rule knows exception when there is a reasonable argument behind it.


## General rules

### Abstractions

Each component should implement basic contract interface defined in the `TcoAbstractions` library (e.g. `TcoAbbRobot` should implenent `ITcoRobot`, `TcoCongexReader` should impement `ITcoReader`)

### I/O variables

- Components must not contain I/O (%I*, %Q*) variables directly.
Expand Down Expand Up @@ -301,4 +306,4 @@ CASE _state OF
_state := 0;
END_IF
END_CASE
~~~
~~~

0 comments on commit e35784a

Please sign in to comment.