Unity Application Generator How Can I… Gather alarms from different Control Modules Issue ●I want to generate a horn alarm in such a way that if there is a alarm in any of the Control module, then the horn alarm output should be active. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 2 How to do.. Basic explanation ●This can be done by defining a data type of type arrays. ●Then creating a variable of this array type. ● Goal: ● Define a data type in Unity ● Import this data type in SCoD Editor. ● Create a variable in UAG of this type ● Use the array in CM Schneider Electric - EU – Hussain Ahmed – 11.11.2008 3 How to do.. In Unity ●Under UAG customization PLC User defined Module, a new module can be inserted. ●By clicking on User defined block, a list of existing blocks will be appeared. ●New device can be added by using ADD option. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 4 How to do.. In Unity ●By clicking on ADD option, this screen will appear. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 5 How to do.. In Unity ●User can select Module category. These options are available ●User can select possible rack type. These options are available Schneider Electric - EU – Hussain Ahmed – 11.11.2008 6 How to do.. In Unity ●We have named the device as MyGeneric with Complex IO as Module category and Rack is of type Ethernet IO. ●Description and Icon can be changed. ●IO Areas can be defined each area for Input, Output or both can be defined. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 7 How to do.. In SCoD Editor ●By clicking on IO Mapping, IO can be mapped for each areas. Here we are defining words under IO Area “Command” Schneider Electric - EU – Hussain Ahmed – 11.11.2008 8 How to do.. In SCoD Editor ●For each IO area, number of bytes, data types, description and quantity can be defined. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 9 How to do.. In Customization ●In this example, we have defined two IO areas under “Commands” and they look like this: Schneider Electric - EU – Hussain Ahmed – 11.11.2008 10 How to do.. In UAG ●Similarly, we have defined two IO maps for “Status” IO area. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 11 How to do.. In UAG ●After analyzing and saving the customization file, the project should be opened in UAG. Following message will appear: ●Note: We have selected ETHERNET IO , it should be ensured that a PLC with proper Ethernet ineterface is available. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 12 How to do.. In UAG ●Under the PLC, a new rack should be included. ●Following parameter should be selected. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 13 How to do.. In UAG ●Under the new Ether IO drop, rack should be opened with “Open Rack” option. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 14 How to do.. In UAG ●Under the rack, the new module can be inserted. ●Following parameters should be selected. ●Note: the new module “MyGeneric” should be available under MODULE column. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 15 How to do.. In UAG ● By clicking on “Open IO”, this screen should be appearing ● TO test, following variables should be created, under variable table in UAG. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 16 How to do.. In UAG ●The variable should be connected to input /output of the newly developed device.. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 17 How to do.. In UAG ●The new block will appear like this under UAG Topological viewer Schneider Electric - EU – Hussain Ahmed – 11.11.2008 18 How to do.. In Unity ●UAG will generate Unity project with read /write area under IO Scanner Read /write areas for IO scanner Schneider Electric - EU – Hussain Ahmed – 11.11.2008 19 How to do.. In Unity ●UAG will generate sections for communication and the section will be containing the variables like this Schneider Electric - EU – Hussain Ahmed – 11.11.2008 20 How to do.. Very important: Note ●Please note that we have written in our new device, the slave index as “0”. ●That is why it was appeared in Unity like this: Schneider Electric - EU – Hussain Ahmed – 11.11.2008 21 How to do.. Very important: Note ● But this indexing has to be configured according to the requirement of the device. We have placed 22, results are like this: Schneider Electric - EU – Hussain Ahmed – 11.11.2008 22 How to do.. Recommendations /Notes ● In IO Scanner, in one telegram, one can write/read maximum 100 words ● We strongly recommend to do the address ranges in consecutive address areas. So if the first area is starting from 1002, then it is better to place the next address area at 1004 and not at 1120. ● It is very important to understand the address ranges of the device. ● We have used two different IO mapping areas for “inputs” and “Outputs”. That is why the UAG has generated two IO scanning entries. By using type “Input /Output” there will be only one IO scanning entry. Schneider Electric - EU – Hussain Ahmed – 11.11.2008 23 Conclusion ● In UAG new devices can be included by defining them under Customization. ● There are different method of communications and rack types possible Thanks for your attention! Schneider Electric - EU – Hussain Ahmed – 11.11.2008 24
© Copyright 2026 Paperzz