Difference between revisions of "IO-EXT"

From IPLOG
Jump to: navigation, search
Line 8: Line 8:
 
Press the "i" key to enter the edit mode.<br>
 
Press the "i" key to enter the edit mode.<br>
  
In the file, uncomment/delete the # character on lines: 42,44,46
+
In the file, uncomment/delete the # character on lines: 42,44,46<br>
 +
{{NotePre
 +
|text= # START_COMMEXT1=1
 +
# echo ext1            > /sys/kernel/metel-io-dev/add_bus
 +
# echo 1,bi8.1_if05    > /sys/kernel/metel-io-dev/ext1/add_dev
 +
}}

Revision as of 10:42, 30 April 2020

If IO modules are connected to the IPLOG unit, it is not necessary to control the inputs/outputs via modbus registers, but directly via variables. The modules must be connected to the IPLOG-GAMA via the BUS bus A+ connected to A+ and B- to B-.
Log in to the IPLOG unit via putty and write the command

root@iplog:~# vi /etc/init.metel/io-ext

Press the "i" key to enter the edit mode.

In the file, uncomment/delete the # character on lines: 42,44,46

# START_COMMEXT1=1
# echo ext1            > /sys/kernel/metel-io-dev/add_bus
# echo 1,bi8.1_if05    > /sys/kernel/metel-io-dev/ext1/add_dev