Created
August 14, 2023 03:51
-
-
Save benhar-dev/e6c45b816178b956e2d42dbccb81f923 to your computer and use it in GitHub Desktop.
Default Modbus Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{attribute 'qualified_only'} | |
VAR_GLOBAL // GVL | |
mb_Input_Coils : ARRAY [0..255] OF BOOL; | |
mb_Output_Coils : ARRAY [0..255] OF BOOL; | |
mb_Input_Registers : ARRAY [0..255] OF WORD; | |
mb_Output_Registers : ARRAY [0..255] OF WORD; | |
END_VAR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Configuration> | |
<Port>502</Port> | |
<IpAddr/> | |
<Mapping> | |
<InputRegisters> | |
<MappingInfo> | |
<AdsPort>851</AdsPort> | |
<!-- Modbus Address 32768 = 0x8000 --> | |
<StartAddress>32768</StartAddress> | |
<EndAddress>33023</EndAddress> | |
<VarName>GVL.mb_Input_Registers</VarName> | |
</MappingInfo> | |
</InputRegisters> | |
<OutputRegisters> | |
<MappingInfo> | |
<AdsPort>851</AdsPort> | |
<!-- Modbus Address 32768 = 0x8000 --> | |
<StartAddress>32768</StartAddress> | |
<EndAddress>33023</EndAddress> | |
<VarName>GVL.mb_Output_Registers</VarName> | |
</MappingInfo> | |
</OutputRegisters> | |
<InputCoils> | |
<MappingInfo> | |
<AdsPort>851</AdsPort> | |
<!-- Modbus Address 32768 = 0x8000 --> | |
<StartAddress>32768</StartAddress> | |
<EndAddress>33023</EndAddress> | |
<VarName>GVL.mb_Input_Coils</VarName> | |
</MappingInfo> | |
</InputCoils> | |
<OutputCoils> | |
<MappingInfo> | |
<AdsPort>851</AdsPort> | |
<!-- Modbus Address 32768 = 0x8000 --> | |
<StartAddress>32768</StartAddress> | |
<EndAddress>33023</EndAddress> | |
<VarName>GVL.mb_Output_Coils</VarName> | |
</MappingInfo> | |
</OutputCoils> | |
</Mapping> | |
</Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment