Digital I/O Characteristics
The following chart lists the Digital I/O characteristics and values.
Digital Port Configuration Example
Any Digital I/O configuration changes made to the I/O Module using the ‘
T
’ command
are stored in EEPROM locations 0x02 and 0x03.
EEPROM Location 0x02 Port 1 I/O Configuration
EEPROM Location 0x03 Port 2 I/O Configuration
When using either the ‘
T
’ command or directly writing to EEPROM using the ‘
W
’
command, a binary 1 at a bit location puts the I/O line into Input mode, while a binary 0 at
a bit location puts the I/O line into Output mode.
NOTE
•
All numeric data is represent as ASCII Hexadecimal integers
•
The symbol
↵
equates to a carriage return (decimal 13, hex 0x0D)
Characteristic
Value
Digital I/O Current
I/O line source & sink 25 ma
Total current PORT1 200 ma
Total current PORT2 200 ma
Digital I/O Voltage Levels
Input Off (0) = 0V - 0.8V
Input On (1) = 2.0V - 5.0V
Output Off (0) = 0.6V max.
Output On (1) = 4.3V min.
Pulse Counter Input
1 Mhz max. input rate
32 bit counter capture
Counter increments on high-low transition
Host Command
Module Response
Action
T0000
↵
T
↵
All I/O lines are configured as Outputs
TFFFF
↵
T
↵
All I/O lines are configured as Inputs
TFF00
↵
T
↵
Port 1 bits 0-7 Inputs
Port 2 bits 0-7 Outputs
T00FF
↵
T
↵
Port 1 bits 0-7 Outputs
Port 2 bits 0-7 inputs
T1234
↵
T
↵
Port 1 bits 4,1 Inputs
Port 1 bits 7,6,5,3,2,0 Outputs
Port 2 bits 4,5,2 Inputs
Port 2 bits 7,6,3,1,0 Outputs