Siemens DP/DP Coupler configuration in Control Builder Professional
I would like to create new hardware library in Control Builder Professional for Siemens DP/DP coupler from coupler's gsd file. Communication partner will send me some resources, including 128 booleans as 16-bytes input and 8 words also as 16-bytes input. When I define modules and conversion rules in Device Import Wizard, I faced that it is possible to define module 16-bytes input only once, while I need to do it twice for different data types. Is it possible, without editing of gsd file, to import same module more than one time and apply different conversion rules?
There is an object type created for Siemens DP-DP coupler, you can download the same from solutions bank. The selfextractor file name is "2PAA100380_B_en_DeviceObjectType_Siemens_DP_DP_Coupler_V3.1-DP.exe". You extract this file and install it using the device librar wizard, you will get the hardwar library in Control BuilderM, Which you can use it directly without doing any convertion from gsd to hardware definition file or library. I want to update one more thing while using more channel in cotrol builder M loads the controller. Example 32 bytes of data if you spilt all the bytes in to boolean, these boolean channels will load the controller. We prefer to reduce the number of boolean channels if it is not necessary......
@ gn reddy
Thanks for reply. As far I know, actual version of Siemens DP/DP Coupler is 4.0. Of course, I can receive bytes from communication partner and split them to bools in program. But I would like to have automatic conversion for types I need and do not do splitting/combining bools to bytes in program. As far communication partner send me same module but with different meaning of contents, I'm looking for possibility to import this same module twice with different conversion rules.
If you want to have same type (from same *.gs? file) with different modules or conversions, just create new hardware library in Control builder M and import same gsd file again with different conversions.
Then connect this library to your controller, insert devices and modules for them and connect variables.
In your case I suggest to try to establish communication with input modules 32B input + 64B input + 64W input (try consistent and not consistent modules). If communication will work then make custom conversion for needed data in 32B part from 16B and part from 64B and so on. If it will not work you can make conversion for 16B Input module as UInt16=>DintIO and then unpack booleans with DintToBool16 function in your logic.
thanks for reply. It's not possible to import same module from gs? file more than once - this is a problem. Yes, one can change conversion rules for already imported modules or redefine number of modules. If you will import modules from same gs? in new library it will be new library and you are not able to combine two HW libraries in single DP slave, so this is also not case. Actually, I found workaround by modifying of gsd file. At this moment I do not have whole set of equipment to check if it will work. Even if it will not work I will do splitting/dividing bytes/booleans to what I need.