Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
osie
Commits
a23b37c9
Commit
a23b37c9
authored
Jun 30, 2023
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to keep modbus as an example.
parent
e434072f
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
0 additions
and
304 deletions
+0
-304
Beremiz/beremiz_tutorial_modbus/beremiz.xml
Beremiz/beremiz_tutorial_modbus/beremiz.xml
+0
-4
Beremiz/beremiz_tutorial_modbus/bin/compiled_PLC.tgz
Beremiz/beremiz_tutorial_modbus/bin/compiled_PLC.tgz
+0
-0
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/baseconfnode.xml
...sTCPclient/ModbusRequest_0@ModbusRequest/baseconfnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/confnode.xml
...odbusTCPclient/ModbusRequest_0@ModbusRequest/confnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/baseconfnode.xml
...sTCPclient/ModbusRequest_1@ModbusRequest/baseconfnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/confnode.xml
...odbusTCPclient/ModbusRequest_1@ModbusRequest/confnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_2@ModbusRequest/baseconfnode.xml
...sTCPclient/ModbusRequest_2@ModbusRequest/baseconfnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_2@ModbusRequest/confnode.xml
...odbusTCPclient/ModbusRequest_2@ModbusRequest/confnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_3@ModbusRequest/baseconfnode.xml
...sTCPclient/ModbusRequest_3@ModbusRequest/baseconfnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_3@ModbusRequest/confnode.xml
...odbusTCPclient/ModbusRequest_3@ModbusRequest/confnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/baseconfnode.xml
...modbus/ModbusTCPclient_0@ModbusTCPclient/baseconfnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/confnode.xml
...s_0@modbus/ModbusTCPclient_0@ModbusTCPclient/confnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/baseconfnode.xml
.../beremiz_tutorial_modbus/modbus_0@modbus/baseconfnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/confnode.xml
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/confnode.xml
+0
-2
Beremiz/beremiz_tutorial_modbus/plc.xml
Beremiz/beremiz_tutorial_modbus/plc.xml
+0
-275
Beremiz/beremiz_tutorial_modbus/psk/management.json
Beremiz/beremiz_tutorial_modbus/psk/management.json
+0
-1
No files found.
Beremiz/beremiz_tutorial_modbus/beremiz.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<BeremizRoot
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
URI_location=
"LOCAL://"
>
<TargetType/>
</BeremizRoot>
Beremiz/beremiz_tutorial_modbus/bin/compiled_PLC.tgz
deleted
100644 → 0
View file @
e434072f
File deleted
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/baseconfnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<BaseParams
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
IEC_Channel=
"0"
Name=
"ModbusRequest_0"
/>
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/confnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<ModbusRequest
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Write_on_change=
"false"
SlaveID=
"0"
Function=
"05 - Write Single coil"
Timeout_in_ms=
"30"
/>
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/baseconfnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<BaseParams
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
IEC_Channel=
"1"
Name=
"ModbusRequest_1"
/>
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/confnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<ModbusRequest
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Function=
"05 - Write Single coil"
Write_on_change=
"false"
Start_Address=
"1"
SlaveID=
"0"
Timeout_in_ms=
"30"
/>
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_2@ModbusRequest/baseconfnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<BaseParams
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
IEC_Channel=
"2"
Name=
"ModbusRequest_2"
/>
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_2@ModbusRequest/confnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<ModbusRequest
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Function=
"05 - Write Single coil"
Start_Address=
"2"
SlaveID=
"0"
Timeout_in_ms=
"30"
/>
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_3@ModbusRequest/baseconfnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<BaseParams
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
IEC_Channel=
"3"
Name=
"ModbusRequest_3"
/>
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_3@ModbusRequest/confnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<ModbusRequest
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Function=
"05 - Write Single coil"
SlaveID=
"0"
Start_Address=
"3"
Timeout_in_ms=
"30"
/>
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/baseconfnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<BaseParams
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
IEC_Channel=
"0"
Name=
"ModbusTCPclient_0"
/>
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/confnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<ModbusTCPclient
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Configuration_Name=
"Modbus TCP Client 0.0"
Remote_IP_Address=
"192.168.0.112"
Invocation_Rate_in_ms=
"1000"
Remote_Port_Number=
"1502"
/>
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/baseconfnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<BaseParams
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
IEC_Channel=
"0"
Name=
"modbus_0"
/>
Beremiz/beremiz_tutorial_modbus/modbus_0@modbus/confnode.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<ModbusRoot
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
/>
Beremiz/beremiz_tutorial_modbus/plc.xml
deleted
100644 → 0
View file @
e434072f
<?xml version='1.0' encoding='utf-8'?>
<project
xmlns:ns1=
"http://www.plcopen.org/xml/tc6_0201"
xmlns:xhtml=
"http://www.w3.org/1999/xhtml"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns=
"http://www.plcopen.org/xml/tc6_0201"
>
<fileHeader
companyName=
"Unknown"
productName=
"Unnamed"
productVersion=
"1"
creationDateTime=
"2021-05-14T14:33:11"
/>
<contentHeader
name=
"Counter (OSIE)"
modificationDateTime=
"2021-11-29T14:01:12"
>
<coordinateInfo>
<fbd>
<scaling
x=
"0"
y=
"0"
/>
</fbd>
<ld>
<scaling
x=
"0"
y=
"0"
/>
</ld>
<sfc>
<scaling
x=
"0"
y=
"0"
/>
</sfc>
</coordinateInfo>
</contentHeader>
<types>
<dataTypes/>
<pous>
<pou
name=
"plc_prg"
pouType=
"program"
>
<interface>
<inputVars>
<variable
name=
"Reset"
>
<type>
<BOOL/>
</type>
</variable>
</inputVars>
<outputVars>
<variable
name=
"Cnt0"
>
<type>
<INT/>
</type>
</variable>
<variable
name=
"Cnt1"
>
<type>
<INT/>
</type>
</variable>
</outputVars>
<localVars>
<variable
name=
"CounterST0"
>
<type>
<derived
name=
"CounterST"
/>
</type>
</variable>
</localVars>
</interface>
<body>
<FBD>
<comment
localId=
"1"
height=
"143"
width=
"201"
>
<position
x=
"566"
y=
"75"
/>
<content>
<xhtml:p>
<![CDATA[Test Ivan: this PLC will switch ON / OFF attached over modbus relays {0..3} of a Lime2 coupler.]]>
</xhtml:p>
</content>
</comment>
<block
localId=
"2"
typeName=
"CounterST"
instanceName=
"CounterST0"
executionOrderId=
"0"
height=
"109"
width=
"99"
>
<position
x=
"288"
y=
"192"
/>
<inputVariables>
<variable
formalParameter=
"Reset"
>
<connectionPointIn>
<relPosition
x=
"0"
y=
"42"
/>
<connection
refLocalId=
"3"
>
<position
x=
"288"
y=
"234"
/>
<position
x=
"258"
y=
"234"
/>
<position
x=
"258"
y=
"218"
/>
<position
x=
"231"
y=
"218"
/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable
formalParameter=
"Out1"
>
<connectionPointOut>
<relPosition
x=
"99"
y=
"42"
/>
</connectionPointOut>
</variable>
<variable
formalParameter=
"Out0"
>
<connectionPointOut>
<relPosition
x=
"99"
y=
"86"
/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable
localId=
"3"
executionOrderId=
"0"
height=
"24"
width=
"50"
negated=
"false"
>
<position
x=
"181"
y=
"206"
/>
<connectionPointOut>
<relPosition
x=
"50"
y=
"12"
/>
</connectionPointOut>
<expression>
Reset
</expression>
</inVariable>
<outVariable
localId=
"4"
executionOrderId=
"0"
height=
"24"
width=
"42"
negated=
"false"
>
<position
x=
"433"
y=
"266"
/>
<connectionPointIn>
<relPosition
x=
"0"
y=
"12"
/>
<connection
refLocalId=
"2"
formalParameter=
"Out0"
>
<position
x=
"433"
y=
"278"
/>
<position
x=
"387"
y=
"278"
/>
</connection>
</connectionPointIn>
<expression>
Cnt0
</expression>
</outVariable>
<outVariable
localId=
"6"
executionOrderId=
"0"
height=
"24"
width=
"42"
negated=
"false"
>
<position
x=
"435"
y=
"222"
/>
<connectionPointIn>
<relPosition
x=
"0"
y=
"12"
/>
<connection
refLocalId=
"2"
formalParameter=
"Out1"
>
<position
x=
"435"
y=
"234"
/>
<position
x=
"387"
y=
"234"
/>
</connection>
</connectionPointIn>
<expression>
Cnt1
</expression>
</outVariable>
</FBD>
</body>
</pou>
<pou
name=
"CounterST"
pouType=
"functionBlock"
>
<interface>
<inputVars>
<variable
name=
"Reset"
>
<type>
<BOOL/>
</type>
</variable>
</inputVars>
<outputVars>
<variable
name=
"Out1"
>
<type>
<INT/>
</type>
</variable>
<variable
name=
"Out0"
>
<type>
<INT/>
</type>
</variable>
</outputVars>
<localVars>
<variable
name=
"Cnt1"
>
<type>
<INT/>
</type>
</variable>
<variable
name=
"Cnt0"
>
<type>
<INT/>
</type>
</variable>
</localVars>
<externalVars>
<variable
name=
"ResetCounterValue"
>
<type>
<INT/>
</type>
</variable>
<variable
name=
"Relay0Value"
>
<type>
<BOOL/>
</type>
</variable>
<variable
name=
"Relay1Value"
>
<type>
<BOOL/>
</type>
</variable>
<variable
name=
"Relay2Value"
>
<type>
<BOOL/>
</type>
</variable>
<variable
name=
"Relay3Value"
>
<type>
<BOOL/>
</type>
</variable>
</externalVars>
</interface>
<body>
<ST>
<xhtml:p>
<![CDATA[IF Reset THEN
Cnt0 := ResetCounterValue;
Cnt1 := ResetCounterValue;
Reset := False;
ELSE
Cnt0 := Cnt0 + 1;
Cnt1 := Cnt1 + 1;
IF Cnt1 >
10 THEN
Relay0Value := True;
Relay1Value := True;
ELSE
Relay0Value := True;
Relay1Value := False;
END_IF;
IF Cnt1 > 15 THEN
Relay1Value := False;
Cnt1 :=0;
END_IF;
END_IF;
Out1 := Cnt1;
Out0 := Cnt0;]]>
</xhtml:p>
</ST>
</body>
</pou>
</pous>
</types>
<instances>
<configurations>
<configuration
name=
"config"
>
<resource
name=
"resource1"
>
<task
name=
"task0"
priority=
"0"
interval=
"T#20ms"
>
<pouInstance
name=
"instance0"
typeName=
"plc_prg"
/>
</task>
</resource>
<globalVars>
<variable
name=
"ResetCounterValue"
>
<type>
<INT/>
</type>
<initialValue>
<simpleValue
value=
"0"
/>
</initialValue>
</variable>
<variable
name=
"Relay0Value"
address=
"%QX0.0.0.0"
>
<type>
<BOOL/>
</type>
<initialValue>
<simpleValue
value=
"0"
/>
</initialValue>
<documentation>
<xhtml:p>
<![CDATA[The status of the Lime's relay0 (read over modbus)]]>
</xhtml:p>
</documentation>
</variable>
<variable
name=
"Relay1Value"
address=
"%QX0.0.1.1"
>
<type>
<BOOL/>
</type>
<initialValue>
<simpleValue
value=
"0"
/>
</initialValue>
<documentation>
<xhtml:p>
<![CDATA[The status of the Lime's relay1 (read over modbus)]]>
</xhtml:p>
</documentation>
</variable>
<variable
name=
"Relay2Value"
address=
"%QX0.0.2.2"
>
<type>
<BOOL/>
</type>
<initialValue>
<simpleValue
value=
"0"
/>
</initialValue>
<documentation>
<xhtml:p>
<![CDATA[The status of the Lime's relay2 (read over modbus)]]>
</xhtml:p>
</documentation>
</variable>
<variable
name=
"Relay3Value"
address=
"%QX0.0.3.3"
>
<type>
<BOOL/>
</type>
<initialValue>
<simpleValue
value=
"0"
/>
</initialValue>
<documentation>
<xhtml:p>
<![CDATA[The status of the Lime's relay3 (read over modbus)]]>
</xhtml:p>
</documentation>
</variable>
</globalVars>
</configuration>
</configurations>
</instances>
</project>
Beremiz/beremiz_tutorial_modbus/psk/management.json
deleted
100644 → 0
View file @
e434072f
[]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment