ASCII import of tags with S7+ and S7 driver in the project

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
kairat_abilev
Posts:9
Joined: Tue Jun 27, 2017 11:48 am

ASCII import of tags with S7+ and S7 driver in the project

Post by kairat_abilev »

Hello!

In our project we have 2 drivers
S7+ - number 1
S7 - number 2

When importing tags all addresses are imported with driver number 1 and there is no field with driver number to configure.

When I manually specify driver number =2 in S7 tags and then export them, ASCII export gives this result:

Manager/User ElementName TypeName _address.._type _address.._reference _address.._poll_group _address.._connection _address.._offset _address.._subindex _address.._direction _address.._internal _address.._lowlevel _address.._active _address.._start _address.._interval _address.._reply _address.._datatype _address.._drv_ident
ASC (1)/0 GIS_DP1.online.Value 0_ANALOG 16 "S7300GIS.DB8.DBD178F" _1s 0 0 \4 1 1 1 01.01.1970 00:00:00.000 01.01.1970 00:00:00.000 01.01.1970 00:00:00.000 700 "S7"
UI (1)/0 GIS_DP2.online.Value 0_ANALOG 16 "S7300GIS.DB8.DBD182F" _1s 0 0 \4 0 1 1 01.01.1970 00:00:00.000 01.01.1970 00:00:00.000 01.01.1970 00:00:00.000 700 "S7"

The second tag is with driver number =2, but in the export there is no driver number.

Is it possible to specify the correct driver number for the imported tags. It is impossible to manually correct driver number - it is about 3500 tags.

Thank you in advance for your help!

Best regards,
Vladislav

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: ASCII import of tags with S7+ and S7 driver in the project

Post by leoknipp »

The information which _address config is used by which driver is not defined in the _address config. This information is stored in the _distrib config.
If you want to import addresses or any other driver related config (_cmd_conv, _msg_conv, _smooth) you always have to import the _distrib config first.

When you want to change the existing addresses the easiest ways is to do the import again the driver related configs including the _distrib config.

Best Regards
Leopold Knipp
Senior Support Specialist

kairat_abilev
Posts:9
Joined: Tue Jun 27, 2017 11:48 am

Re: ASCII import of tags with S7+ and S7 driver in the project

Post by kairat_abilev »

Thank you so much!

It worked!

Best regards,
Vladislav

3 posts • Page 1 of 1