Quickstart Guide
...
Gen 2 Drivers
Siemens S7CommPlus
6 min
review the following information for setting up and configuring the siemens s7commplus driver bhdo edge compatible series compatibility parameter compatible items driver type ethernet validated devices/series s7 1200 v2 2 https //new\ siemens com/global/en/products/automation/systems/industrial/plc/simatic s7 1500 html s7 1200 v4 2 s7 1500 v2 9 s7 1500 v3 1 when configuring tags for this driver, you must enter the case sensitive register name exactly as it is defined in the plc see the free tags section below to learn more to set up and configure this device in bhdo , you will need to do the following step 1 set up and configure the plc device step 2 set up the plc device in bhdo devicehub step 3 configure the list of registers step 1 set up and configure the plc device if the device is configured for ethernet access, find its network parameters otherwise, use plc software on your computer to configure your device for ethernet access open your tia portal project in the project tree, right click your plc and select properties… from the popup menu the properties window opens to obtain the device’s ip address (if you do not already have it) from the left pane, select profinet interface > ethernet addresses in the right pane, go to internet protocol version 4 (ipv4) , find the ip address of the plc, and copy it aside from the left pane, select profinet interface > advanced options > port \[x1 p1] > port interconnection in the right pane, enter “any partner” in the partner port field from the left pane, select protection & security > access level step 2 set up the plc device in bhdo devicehub parameter value type siemens driver siemens s7commplus network address the device address you defined during step 1 network port 102 plc type auto firmware version auto read timeout (ms) 1000 retry count read retries 0 keep alive tcp keep alive 60 note the following data types are available for bhdo version 3 11 4 and later dt dtl wchar bool byte word dword lword usint uint udint ulint sint int dint lint real lreal s5time dt dtl time ltime tod ltod ldt date char wchar string wstring bool\[] byte\[] word\[] dword\[] lword\[] usint\[] uint\[] udint\[] ulint\[] sint\[] int\[] dint\[] lint\[] real\[] lreal\[] s5time\[] time\[] ltime\[] tod\[] ltod\[] ldt\[] date\[] tag parameters name select a register name from the drop down list the available options depend on the names in the register table value type select a data type from the drop down list the available options depend on the register name selected polling interval enter a value in seconds this determines how often the tag should poll the register for data tag name enter a name for the tag description (optional) enter a description for the tag address enter a tag address the value must in the decimal format, within the allowed min/max range omit the leading zeros the device might use the decimal (d), hexadecimal (h), or octal (o) address format for bit tags, append the bit address without the bit separator the lowercase letters in the address format indicate how many digits you should enter in the bit address count enter the number of register values to read a count higher than 1 will generate an array of values from the address value configured and respective subsequent address values length available for ascii data files enter the number of characters for tag values tag formula enter a formula for the tag to process the generated data two variables are permitted value (current tag value) and timestamp (current tag unix time in milliseconds) the following math functions are available sin cos sqrt tan power log exp only publish on change of value select the checkbox to customize nats messages to be published only when the value parameter changes from a previous value to a new one change of value only applies to boolean, numeric (such as int or float), and simple string data types it does not apply to complex types, such as json or array poll once topics will not be affected by change of value settings these topics will still only see a single message meta data metadata summarizes basic information about data this feature allows you to define key value pair data for the device output payload later on it can then be used to find, use, and reuse particular instances of data