Moxa DA-UPCI-DK [21/45] Examples

Moxa DA-FX04-MM-ST-T [21/45] Examples
DA-IRIGB-4DIO-PCI104-EMC4 Module Driver and Utility Installation
3-7
Function ID Function description Parameters
5 Display IRIG-B signal status.
Possible status are:
0–Normal
1–Off Line
2–Frame Error
3–Parity Error
Source [2]
Where
2 is port 1 input.
6 Display IRIG-B input parity check mode.
Possible modes are:
0–Even
1-Odd
2-None
Source [2]
Where
2 is port 1 input.
7 Set IRIG-B input parity check mode Source, Mode
Where
Source: 2 (port 1 input)
Mode: 0 (Even), 1 (Odd), 2 (None)
10 Display pulse per second width (ms). N/A
11 Set pulse per second width (ms). Width (0~999)
12 Display input signal type. port [0|1]
Where
1 is port 1 input.
13 Set input signal type. port, signal type, mode, inverse
Where
port 1 is “Port 1”
signal type 0 is TTL; 1 is “DIFF”
inverse 0 means do not inverse; 1
means inverse.
16 Display digital output. port
where 0 is “DO0”, 1 is “DO1”, 2 is “DO2”,
and 3 is “DO3
17 Set digital output. port, level
Where
port 0 is “DO0”, 1 is “DO1”, 2 is “DO2”,
and 3 is “DO3
level 0 is low and 1 is high
18 Display digital input. port
Where 0 is “DI0”, 1 is “DI1”, and 2 is “DI2”
NOTE
Function IDs 8, 9, 14, and 15 are not available for the DA-IRGB-4DIO-PCI-104-EMC4
module, which does not
support the fiber input port.
Examples
The following command example displays the IRIG-B module hardware ID.
root@Moxa:~# mxIrigUtil -f 0
Get Hardware ID = 1 (DA_IRIGB_4DIO_PCI104)
The following command example displays the IRIG-B module internal RTC time.
root@Moxa:~# mxIrigUtil -f 1
Get IRIGB RTC = 2011/11/11 17:29:55.204137520, TZ = +8, TQ = 6
The following command example sets the IRIG-B module internal RTC time to 2014/11/19 11:19:50.

Содержание

Похожие устройства

Скачать