CONTROLLERS
08
| necessary brackets. |
. | . |
. | . |
15 | end of return code |
Default return code is in the following format [Px.yd]
xport number 1, 2, 3, 4
ypin number 1, 2, 3, 4, 5, 6,
7, 8
ddirection U for
4.11I/O PORT REGISTERS
These registers are used to control I/O ports directly. Writing into these registers will affect status of the I/0 ports immediately. Writing 0 into each bit position will set the output of this pin to 0, writing 1 will set output high. If I/O pin is configured as Input pin, then writing into this bit position will not affect output. Keep in mind that default factory setting is that all I/O pins are inputs. Make sure to define pins as outputs before writing into them. Use memory registers to define pins as outputs.
4.11.1. I/O PORT 1
Register number is E
When writing into this port, any character can be inserted into
4.11.2. I/O PORT 2
Register number is F
When writing into this port, any character can be inserted into
4.11.3. I/O PORT 3
Register number is G
When writing into this port, any character can be inserted into
4.11.4. I/O PORT 4
Register number is H
When writing into this port, any character can be inserted into
4.12 RELAY PORT REGISTERS
These registers are used to control Relay ports directly. Writing into these registers will affect status of the Relay ports immediately. Writing 0 into each bit position will set the relay open, writing 1 will set the relay closed.
4.12.1. RELAY PORT 1
Register number is I
When writing into this port, any character can be inserted into
4.12.2. RELAY PORT 2,3,4
Register number is J
When writing into this port, any character can be inserted into
14