<?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="2019-08-06T14:23:42"/>
<contentHeader name="Unnamed" modificationDateTime="2024-12-05T12:05:23">
<coordinateInfo>
<fbd>
<scaling x="5" y="5"/>
</fbd>
<ld>
<scaling x="0" y="0"/>
</ld>
<sfc>
<scaling x="0" y="0"/>
</sfc>
</coordinateInfo>
</contentHeader>
<types>
<dataTypes/>
<pous>
<pou name="MainStuff" pouType="program">
<interface>
<localVars>
<variable name="csv_read_by_int0">
<type>
<derived name="csv_read_by_int"/>
</type>
</variable>
<variable name="CSV_ROWIDX">
<type>
<derived name="HMI_INT"/>
</type>
<initialValue>
<simpleValue value="1"/>
</initialValue>
</variable>
<variable name="CSV_COLIDX">
<type>
<derived name="HMI_INT"/>
</type>
<initialValue>
<simpleValue value="1"/>
</initialValue>
</variable>
<variable name="SAVE">
<type>
<derived name="HMI_BOOL"/>
</type>
<initialValue>
<simpleValue value="0"/>
</initialValue>
</variable>
<variable name="CSV_ACK">
<type>
<derived name="HMI_BOOL"/>
</type>
</variable>
<variable name="SEC_ACK">
<type>
<derived name="HMI_BOOL"/>
</type>
</variable>
<variable name="CSV_RES">
<type>
<derived name="HMI_STRING"/>
</type>
</variable>
<variable name="SEC_RES">
<type>
<derived name="HMI_STRING"/>
</type>
</variable>
</localVars>
<externalVars>
<variable name="FILENAME">
<type>
<derived name="HMI_STRING"/>
</type>
</variable>
</externalVars>
<localVars>
<variable name="CONTENT">
<type>
<derived name="HMI_STRING"/>
</type>
</variable>
<variable name="csv_write_by_int0">
<type>
<derived name="csv_write_by_int"/>
</type>
</variable>
</localVars>
</interface>
<body>
<FBD>
<inVariable localId="4" executionOrderId="0" height="30" width="110" negated="false">
<position x="35" y="55"/>
<connectionPointOut>
<relPosition x="110" y="15"/>
</connectionPointOut>
<expression>FILENAME</expression>
</inVariable>
<inVariable localId="5" executionOrderId="0" height="27" width="110" negated="false">
<position x="35" y="85"/>
<connectionPointOut>
<relPosition x="110" y="15"/>
</connectionPointOut>
<expression>CSV_ROWIDX</expression>
</inVariable>
<inVariable localId="6" executionOrderId="0" height="27" width="110" negated="false">
<position x="35" y="110"/>
<connectionPointOut>
<relPosition x="110" y="15"/>
</connectionPointOut>
<expression>CSV_COLIDX</expression>
</inVariable>
<block localId="2" typeName="csv_read_by_int" instanceName="csv_read_by_int0" executionOrderId="0" height="100" width="155">
<position x="205" y="35"/>
<inputVariables>
<variable formalParameter="FILE_NAME">
<connectionPointIn>
<relPosition x="0" y="35"/>
<connection refLocalId="4">
<position x="205" y="70"/>
<position x="145" y="70"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="ROW">
<connectionPointIn>
<relPosition x="0" y="60"/>
<connection refLocalId="5">
<position x="205" y="95"/>
<position x="175" y="95"/>
<position x="175" y="100"/>
<position x="145" y="100"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="COLUMN">
<connectionPointIn>
<relPosition x="0" y="85"/>
<connection refLocalId="6">
<position x="205" y="120"/>
<position x="175" y="120"/>
<position x="175" y="125"/>
<position x="145" y="125"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ACK">
<connectionPointOut>
<relPosition x="155" y="35"/>
</connectionPointOut>
</variable>
<variable formalParameter="RESULT">
<connectionPointOut>
<relPosition x="155" y="60"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<outVariable localId="11" executionOrderId="0" height="27" width="82" negated="false">
<position x="400" y="60"/>
<connectionPointIn>
<relPosition x="0" y="15"/>
<connection refLocalId="2" formalParameter="ACK">
<position x="400" y="75"/>
<position x="380" y="75"/>
<position x="380" y="70"/>
<position x="360" y="70"/>
</connection>
</connectionPointIn>
<expression>CSV_ACK</expression>
</outVariable>
<outVariable localId="10" executionOrderId="0" height="27" width="82" negated="false">
<position x="400" y="85"/>
<connectionPointIn>
<relPosition x="0" y="15"/>
<connection refLocalId="2" formalParameter="RESULT">
<position x="400" y="100"/>
<position x="380" y="100"/>
<position x="380" y="95"/>
<position x="360" y="95"/>
</connection>
</connectionPointIn>
<expression>CSV_RES</expression>
</outVariable>
<block localId="12" typeName="csv_write_by_int" instanceName="csv_write_by_int0" executionOrderId="0" width="140" height="120">
<position x="240" y="195"/>
<inputVariables>
<variable formalParameter="FILE_NAME">
<connectionPointIn>
<relPosition x="0" y="30"/>
<connection refLocalId="13">
<position x="240" y="225"/>
<position x="185" y="225"/>
<position x="185" y="175"/>
<position x="150" y="175"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="ROW">
<connectionPointIn>
<relPosition x="0" y="50"/>
<connection refLocalId="14">
<position x="240" y="245"/>
<position x="177" y="245"/>
<position x="177" y="225"/>
<position x="115" y="225"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="COLUMN">
<connectionPointIn>
<relPosition x="0" y="70"/>
<connection refLocalId="15">
<position x="240" y="265"/>
<position x="115" y="265"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="CONTENT">
<connectionPointIn>
<relPosition x="0" y="90"/>
<connection refLocalId="16">
<position x="240" y="285"/>
<position x="190" y="285"/>
<position x="190" y="305"/>
<position x="115" y="305"/>
</connection>
</connectionPointIn>
</variable>
<variable formalParameter="SAVE">
<connectionPointIn>
<relPosition x="0" y="110"/>
<connection refLocalId="17">
<position x="240" y="305"/>
<position x="215" y="305"/>
<position x="215" y="335"/>
<position x="185" y="335"/>
</connection>
</connectionPointIn>
</variable>
</inputVariables>
<inOutVariables/>
<outputVariables>
<variable formalParameter="ACK">
<connectionPointOut>
<relPosition x="140" y="30"/>
</connectionPointOut>
</variable>
<variable formalParameter="RESULT">
<connectionPointOut>
<relPosition x="140" y="50"/>
</connectionPointOut>
</variable>
</outputVariables>
</block>
<inVariable localId="13" executionOrderId="0" width="75" height="30" negated="false">
<position x="75" y="160"/>
<connectionPointOut>
<relPosition x="75" y="15"/>
</connectionPointOut>
<expression>FILENAME</expression>
</inVariable>
<inVariable localId="14" executionOrderId="0" width="90" height="30" negated="false">
<position x="25" y="210"/>
<connectionPointOut>
<relPosition x="90" y="15"/>
</connectionPointOut>
<expression>CSV_ROWIDX</expression>
</inVariable>
<inVariable localId="15" executionOrderId="0" width="90" height="30" negated="false">
<position x="25" y="250"/>
<connectionPointOut>
<relPosition x="90" y="15"/>
</connectionPointOut>
<expression>CSV_COLIDX</expression>
</inVariable>
<inVariable localId="16" executionOrderId="0" width="70" height="30" negated="false">
<position x="45" y="290"/>
<connectionPointOut>
<relPosition x="70" y="15"/>
</connectionPointOut>
<expression>CONTENT</expression>
</inVariable>
<inVariable localId="17" executionOrderId="0" width="45" height="30" negated="false">
<position x="140" y="320"/>
<connectionPointOut>
<relPosition x="45" y="15"/>
</connectionPointOut>
<expression>SAVE</expression>
</inVariable>
<outVariable localId="18" executionOrderId="0" width="70" height="30" negated="false">
<position x="435" y="210"/>
<connectionPointIn>
<relPosition x="0" y="15"/>
<connection refLocalId="12" formalParameter="ACK">
<position x="435" y="225"/>
<position x="380" y="225"/>
</connection>
</connectionPointIn>
<expression>SEC_ACK</expression>
</outVariable>
<outVariable localId="19" executionOrderId="0" width="70" height="30" negated="false">
<position x="435" y="240"/>
<connectionPointIn>
<relPosition x="0" y="15"/>
<connection refLocalId="12" formalParameter="RESULT">
<position x="435" y="255"/>
<position x="407" y="255"/>
<position x="407" y="245"/>
<position x="380" y="245"/>
</connection>
</connectionPointIn>
<expression>SEC_RES</expression>
</outVariable>
</FBD>
</body>
</pou>
</pous>
</types>
<instances>
<configurations>
<configuration name="config">
<resource name="resource1">
<task name="task0" priority="0" interval="T#20ms">
<pouInstance name="instance0" typeName="MainStuff"/>
</task>
</resource>
</configuration>
</configurations>
</instances>
</project>