16 / 21
Close several GPIO ports once another port is closed
1º-Connect the LM-GPIO to the network and using WorkCAD we add it to a project.
2º-Configure GPIO1 as input
3º- Configure GPIO2, GPIO3, GPIO4 as outputs
4º-In “Commands” section select “Bank” GPIO1
5º-In “Event” select “On Activate”
6º-In IP enter: 127.0.0.1
7º-In Port enter: 9000
8º-In Command enter the command:
//gpio2/value;,i;1;
9º-“click” on “Add” button
10ª- “click” on “Apply” button to store changes.
//gpio3/value;,i;1;
11º-“click” on “Add” button
12º- “click” on “Apply” button to store changes.
//gpio4/value;,i;1;
13º-“click” on “Add” button
14º- “click” on “Apply” button to store changes.
Now when the GPIO1 ( GND+Pin1) is activated, the GPIO2, GPIO3 & GPIO4 will active
Summary of Contents for Light Mouse Series
Page 1: ......
Page 2: ...2 21 Ports Contacts ...
Page 5: ...5 21 ...