Skip to content

Commit

Permalink
Add support for fatek data registers.
Browse files Browse the repository at this point in the history
Closes #74.

Signed-off-by: Łukasz Dywicki <[email protected]>
  • Loading branch information
splatch authored Apr 12, 2024
1 parent ecd250f commit 535ddee
Show file tree
Hide file tree
Showing 51 changed files with 3,457 additions and 142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ Bridge co7io-fatek:tcp:my-connection "My PLC#1" [
Type discrete : S1 [ register="S", index=1 ]
Type discrete : T1 [ register="T", index=1 ]
Type discrete : C1 [ register="C", index=1 ]

Type data16 : R1x16 [ register="R", index=1 ]
Type data32 : R1x32 [ register="DR", index=1 ]

Type rollershutter16 : rollx16 [ register="R", index=1, startRegister="M", startIndex=1, stopRegister="M", stopIndex=2 ]
Type rollershutter32 : rollx32 [ register="DR", index=1, startRegister="M", startIndex=1, stopRegister="M", stopIndex=2 ]
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,31 @@ things:
configuration:
index: 1
register: "C"
- id: "R1x16"
type: "data16"
configuration:
index: 1
register: "R"
- id: "R1x32"
type: "data32"
configuration:
index: 1
register: "DR"
- id: "rollx16"
type: "rollershutter16"
configuration:
stopIndex: 2
startIndex: 1
stopRegister: "M"
index: 1
startRegister: "M"
register: "R"
- id: "rollx32"
type: "rollershutter32"
configuration:
stopIndex: 2
startIndex: 1
stopRegister: "M"
index: 1
startRegister: "M"
register: "DR"
Loading

0 comments on commit 535ddee

Please sign in to comment.