You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First you have to configure a modbus server in LogoSoft which either accepts all connection sources or you limit this to your EMS-system. Like all other modbus devices you have to configure a modbus-ID (255 is default in LogoSoft!) and a start address, e.g. 100 or use the default address 0.
4
+
5
+
If you don´t do any changes the addresses are configured as coils. In Logo! a virtual address (V) is written 0.0 which is the virtual address 0, Bit 0. For the connected device the coil-addresses start with 800 (first bit/coil), 801 is the second coil and so on
description = "Siemens LOGO! 8 digital Input/Output")
9
+
@interface Config {
10
+
11
+
@AttributeDefinition(name = "Component-ID", description = "Unique ID of this Component")
12
+
Stringid() default"io0";
13
+
14
+
@AttributeDefinition(name = "Alias", description = "Human-readable name of this Component; defaults to Component-ID")
15
+
Stringalias() default"";
16
+
17
+
@AttributeDefinition(name = "Is enabled?", description = "Is this Component enabled?")
18
+
booleanenabled() defaulttrue;
19
+
20
+
@AttributeDefinition(name = "Modbus-ID", description = "ID of Modbus bridge.")
21
+
Stringmodbus_id() default"modbus0";
22
+
23
+
@AttributeDefinition(name = "Modbus write address offset", description = "Address offset in LOGO! for writing outputs / relays. This is where the virtual addresses start, e.g. 808 for virtual address 101.0 in Logo!")
24
+
intmodbusOffsetWriteAddress() default800;
25
+
26
+
@AttributeDefinition(name = "Modbus read address offset", description = "Address offset in LOGO! for reading inputs (DI1-4). This is where the virtual addresses start, e.g. 808 for virtual address 110.0 in Logo!")
27
+
intmodbusOffsetReadAddress() default880;
28
+
29
+
@AttributeDefinition(name = "Modbus Unit-ID", description = "The Unit-ID of the Modbus device.")
30
+
intmodbusUnitId() default1;
31
+
32
+
@AttributeDefinition(name = "Modbus target filter", description = "This is auto-generated by 'Modbus-ID'.")
0 commit comments