Loading...

Maze Production Line

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Magazin Maze
Name
Quantity
                    Magazin Ball
                    Name
                    Quantity

                                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

                                            X

                                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

                                            //You can turn the LED on, by setting the corresponding node to true.
                                            //The node name of a output node/LED always starts with DO and ends with the corresponding number
                                            //For example the node name of the first output LED is "DO0"
                                            //Only the output nodes are settable
                                            //Now you can complete the code and then click on the set button to execute the code.
                                            document.getElementById('setButton').addEventListener('click' ,   async _ => {
                                                    const  response  =  await   fetch('https://sampleapi.de/SetValue?NodeName=
                                            &value=
                                             '  ,   {
                                                         
                                            :
                                                              'X-API-KEY'  :   aSecretApiKey
                                                              'accept'   :   '*/*'
                                                         }  , 
                                                         method : 
                                              ,
                                                    })
                                                    console.log(response.text());
                                            });
                                            //You can check the status of the LED, by getting the value of the corresponding node.
                                            //The node name of a input/output node/LED always starts with DI/DO and ends with the corresponding number
                                            //For example the node name of the first input LED is "DI0"
                                            //Now you can complete the code and then click on the get button to execute the code.
                                            document.getElementById('getButton').addEventListener('click' ,   function () {
                                                   var  xhr  =  
                                               XMLHttpRequest() ;
                                                    xhr.open(
                                               ,  
                                            'https://sampleapi.de/GetValue?NodeName=
                                            ' );
                                                    xhr.setRequestHeader('X-Api-Key' aSecretApiKey);
                                                    xhr.
                                            ();
                                                    xhr.onreadystatechange  =  function(){
                                                         
                                            if(xhr.readyState ==  4  &&  xhr.status  ==  200){
                                                            console.log(xhr.responseText());
                                                         }  
                                                    }   
                                            });
                                            Console:  
                                             
                                            Set Get
                                            X10
                                            L+
                                            M
                                            24VDC
                                            L+
                                            M
                                            24VDC
                                            1M
                                            .0
                                            .1
                                            .2
                                            .3
                                            .4
                                            .5
                                            .6
                                            .7
                                            DI a
                                            24VDC INPUTS
                                            X11
                                            2M
                                            0
                                            0
                                            AI
                                            ANALOG
                                            INPUTS
                                            RUN/STOP
                                            ERROR
                                            MAINT
                                            .0
                                            .1
                                            .2
                                            .3
                                            .4
                                            .5
                                            .6
                                            .7
                                            DI a
                                            CPU    1212C
                                            DC/DC/DC
                                            DO a
                                            .0
                                            .1
                                            .2
                                            .3
                                            .4
                                            .5
                                            .6
                                            .7
                                            LINK
                                            Rx/Tx
                                            212-1AE40-0XB0
                                            X   11
                                            12 13
                                            X1 P1
                                            PROFINET (LAN)
                                            MAC ADDRESS
                                            E0-CD-A0-96-1C-31
                                            24VDC OUTPUTS
                                            X12
                                            DO a
                                            3L+
                                            3M
                                            .0
                                            .1
                                            .2
                                            .3
                                            .4
                                            .5

                                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

                                            Input

                                            Process

                                            Output

                                            Stop