Moxa Technologies NE-4100 Network Card User Manual


 
NE-4100 Series User’s Manual Serial Command Mode
9-8
Digital IO
OP Code Parameter Comments
DM
bytes 1 and 2 (DIO #)
00: DIO 0
01: DIO 1
02: DIO 2
03: DIO 3
byte 3 (DIO mode)
0: input
1: output
set DIO mode
(e.g., “000” sets DIO 0 to input mode)
DS
bytes 1 and 2 (DIO #)
00: DIO 0
01: DIO 1
02: DIO 2
03: DIO 3
byte 3 (DIO status)
0: low
1: high
set DIO status
(e.g., “011” sets DIO 1 to high)
Serial Command Mode
OP Code Parameter Comments
ES
0: disable
1: enable HW trigger
2: enable SW trigger
enable serial command mode
EC
three ASCII characters in hex code
(i.e., “A1A2A3” for ASCII
characters 0xA1, 0xA2, 0xA3)
SW trigger characters