Skip to content

Commit

Permalink
Add devices (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: Dzmitry Ivaniuk <[email protected]>
  • Loading branch information
VadimZezyotkoATP and idzm authored Sep 19, 2022
1 parent d6fc3a1 commit 65cebcc
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 111 deletions.
2 changes: 1 addition & 1 deletion docs/statistics/devices_total.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/statistics/lines_total.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/statistics/tags_total.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 0 additions & 101 deletions main.devices.lua

This file was deleted.

47 changes: 43 additions & 4 deletions main.io.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--version = 1
--Eplanner version = 2022.2.8082.20736
--Eplanner version = 2022.8.8251.20557
------------------------------------------------------------------------------
PAC_name = 'T1-PLCnext-Demo'
PAC_id = '28204'
Expand Down Expand Up @@ -126,7 +126,26 @@ devices =
descr = '',
dtype = 6,
subtype = 2, -- GS_VIRT
article = 'PXC.1191993',
article = 'IFM.LMT100',
},

{
name = 'FQT1',
descr = '',
dtype = 7,
subtype = 5, -- FQT_IOLINK
article = 'FES.542582',
AI =
{
{
node = 1,
offset = 40,
physical_port = 12,
logical_port = 4,
module_offset = 36
},
},
par = {0 --[[P_C0]], 5 --[[P_DT]], 0 --[[P_ERR_MIN_FLOW]] }
},

{
Expand Down Expand Up @@ -858,8 +877,28 @@ devices =
name = 'F1',
descr = '',
dtype = 19,
subtype = 2, -- F_VIRT
article = 'IFM.LDL100',
subtype = 1, -- F
article = 'IFM.LMT100',
AO =
{
{
node = 1,
offset = 20,
physical_port = 73,
logical_port = 8,
module_offset = 4
},
},
AI =
{
{
node = 1,
offset = 20,
physical_port = 73,
logical_port = 8,
module_offset = 4
},
},
},

{
Expand Down
3 changes: 2 additions & 1 deletion prg.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--version = 1
--Eplanner version = 2022.2.8082.20736
--Eplanner version = 2022.8.8251.20557
--PAC_name = 'T1-PLCnext-Demo'
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Expand All @@ -15,6 +15,7 @@ local prg =
LS2 = LS('LS2'),
TE1 = TE('TE1'),
GS1 = GS('GS1'),
FQT1 = FQT('FQT1'),
QT1 = QT('QT1'),
A2HL1 = HL('A2HL1'),
A2HL2 = HL('A2HL2'),
Expand Down

0 comments on commit 65cebcc

Please sign in to comment.