Moxa ioLogik W5340-HSPA [144/194] Local i o commands

Moxa ioLogik W5312-T [144/194] Local i o commands
ioLogik W5300 SMS Commands
B-3
Local I/O Commands:
SMS Command Attribute Note
AIEnable_CH Read AI channel is enabled or not
0=Off, 1=On
CH = Channel number, start index:00
AIValue_ CH Read AI Value
CH = Channel number, start index:00
AI_ CH Read Scaled AI value
CH = Channel number, start index:00 to 04
AIRange_ CH Read
Current AI mode, +/-5V, 0-10V, +/-10V0-20mA, or 4-20mA
CH = Channel number, start index:00
AIMin_CH Read Minimal AI Value
CH = Channel number, start index:00
AIMax_CH Read Maximal AI Value
CH = Channel number, start index:00
DIO_DIRECT_CH Read DIO Direction, DI or DO
CH = Channel number, start index:00
DIMode_CH Read DI Mode, DI or Counter
CH = Channel number, start index:00,
DIStatus_CH Read DI Status, ON or OFF
CH = Channel number, start index:00
DIFilter_CH Read DI Filter, unit: ms
CH = Channel number, start index:00,
DITrigger_CH Read DI Trigger, LtoH, or HtoL
CH = Channel number, start index:00
DICntStart_CH Read DO Counter is started or not, 0=OFF, 1=ON
CH = Channel number, start index:00
DICNT_CH Read DI Counts. CH = Channel number, start index:00
DOMode_CH Read DO Mode, DO or PWM(pulse output)
CH = Channel number, start index:00
DOStatus_CH Read/Write DO Status, 0=OFF, 1=ON.
CH = Channel number, start index:00
DOLowWidth_CH Read DO Low Width, unit: ms
CH = Channel number, start index:00
DOHighWidth_CH Read DO High Width, unit: ms
CH = Channel number, start index:00
DOPulseStart_CH Read/Write DO Pulse is started or not, 0=OFF, 1=ON
CH = Channel number, start index:00
DOTotalRelayCNT_CH Read Relay Total Counts
CH = Channel number, start index:00
DOCurrentRelayCNT_CH Read Relay Current Counts.
CH = Channel number, start index:00
Example:
1. Query the 1st DI the ioLogik W5300 system:
#GetSMS?DIStatus_00=?#
2. Configure the 2nd relay output(DO_09) of the ioLogik W5340 to On:
#SetSMS?DOStatus_09=1#

Содержание

Скачать