1260-00C User Manual
Local Command Set 4-66
Lowercase text indicates that the corresponding bit flag is
in the logic FALSE state.
WScmd
Purpose:
Send a 16-bit Word Serial command or query to a
Message-Based device.
Command
Syntax:
WScmd <log addr>, <WS cmd>
Action:
Sends the Word Serial command
<WS cmd>
to the
device at
<log addr>
.
Example:
Write the Begin Normal Operation Word Serial
query (FCFFh) to a device at Logical Address 3.
WScmd 3, #hFCFF
WScmd?
Purpose:
Send a 16-bit Word Serial query to a
Message-Based device.
Query
Syntax:
WScmd? <log addr>, <WS cmd>
Action:
Sends the Word Serial query
<WS cmd>
to the
device at
<log addr>
. Reads and returns the
device's response.
Response:
Program response:
<hex value>
<CRLF>
where
<hex value>
is the hexadecimal value of
the Data Low register response.
Console response:
Logical Address <log addr> Word
Serial Query 0xceff returned 0x<hex
value>.
<CRLF>
Example:
Write the Read Servant Area Word Serial query
(CEFFh) to a device at Logical Address 4.
WScmd? 4, #hCEFF
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com