QuickStart Guide
...
Siemens
Gen 1 Drivers
Siemens S7-Advanced (Gen1)
8min
review the following information for setting up and configuring the siemens s7 advanced (gen1) driver to review a use case for this driver, see use the siemens s7 browse agent docid rir6729o7hsmivey6spl litmus edge compatible series compatibility parameter compatible items driver type ethernet validated devices/series s7 300 s7 400 s7 1200 s7 1500 replaced with gen 2 driver siemens s7 docid\ lhipmt2rl9hnntmv mjp5 to set up and configure this device in litmus edge, you will need to do the following step 1 set up and configure the plc device step 2 set up the plc device in litmus edge 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, follow the steps below to configure your device note down the following information and refer to it when needed device siemens s7 cpu1212c ac/dc/rly communication i/f profitnet refer to the following figure launch the primary setup tool set up the pg/pc interface using either software or the pc control panel select the network adapter, making sure the pc and the device are on the same subnet browse the siemens devices on the network, select the device, and then set up the network parameters launch the tia portal v14 software and create a project file with the correct device model and version click the accessible devices icon and search for the devices in the same subnet segment right click the device, and select properties set up the network parameters the following settings are applicable for siemens s7 1200 and siemens s7 1500 only the changes must be made when the tia portal is offline, and then downloaded to the plc click protection & security > connection mechanisms in order to read the data block data, uncheck the optimized block access option select profinet interface > advanced options > port and set the partner port to any partner step 2 set up the plc device in litmus edge devicehub configure the following parameters when you connect a device docid 3eyafppweuvmblcey17sq with this driver update default values to the specific setup of your device parameter value type siemens driver siemens s7 advanced (gen1) network address the device address you defined in step 1 port 102 slot 1 step 3 configure the list of registers when you add tags docid 8se7z3pmrfwl1nmzcwalx to the connected device, refer to the following register table and tag parameters refer to the following additional resources device and tag metadata use case docid 583p fbuozem6whgrdgkq tag formula variables docid\ ifbwcou90qtfodk hrysr register table name value type address format min address max address i bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string ddddd 0 40957 q bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string ddddd 0 40957 m bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string ddddd 0 40957 pe bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string ddddd 0 40957 pa bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string ddddd 0 40957 mk bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string ddddd 0 40957 db bit, byte, char, sint, word, int, counter, timer, dword, dint, real, lreal, lword, lint, string dddddd 0 327677 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 see the register table at the bottom of the dialog box 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 db number enter the data block number of the tag polling group enter the polling group 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 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 power( x ) performs the operation 10^x log log( x ) is the natural logarithm (the logarithm is in base e ) exp exp( x ) performs the operation e^x 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 note if you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload this can cause two key names to be combined into one for example, configuring the key names a b and a&\&b will cause only one key name to be created (a b) export tags as pdf you have the option of exporting tags as a pdf file export tags with simatic manager to export tags with simatic manager start simatic manager and open the project file right click the target data block , and then select print > object contents save the contents of the data block as a pdf file export tags with the tia portal to export tags with the tia portal launch the tia portal v14 software and open the project file open the data block you want to export from the toolbar, select project > print save the contents of the data block as a pdf file