2-174
IM 04L51B01-17EN
2.10.46 Instrument’s Unit Configuration Information (_UNS or _UNR)
The output in response to the command “_UNS” or “_UNR” is shown below.
Syntax
EA<crlf>
p1,p2,p3,p4,p5,p6,p7,p8,p9,p10<crlf>
p1,p2,p3,p4,p5,p6,p7,p8,p9,p10<crlf>
…
EN<crlf>
Output Example
EA<crlf>
Main,0,’GX20-1J’,1234567,xx-xx-xx-xx-xx-xx,R1.01.01,/MT /C2,0,10,--
--------------<crlf>
Sub,1,’GX90EX-02-ET1’,1234567,xx-xx-xx-xx-xx-xx,R1.01.01,,0,6,-----
-----------<crlf>
EN<crlf>
One line (p1 to p10) contains configuration information of a single unit.
p
n
Value Description
p1 Main, Sub
Unit dependency (main or sub) information.
Main: Main unit (Only a single one exists in a system. GX/GP or GM
main unit)
Sub: Sub unit (Units other than the main unit. GX/GP expandable I/O
or GM sub unit)
p2 0,1
Unit address number. The address number of the main unit is 0.
p3 ’GX20-1J’,
’GX90EX-02-
ET1’
Unit name (model name). Enclosed in single quotation marks. The
main unit model or expansion module model in the expandable I/O
unit or sub unit
P4 1234567
Product serial number.
p5 xx-xx-xx-
xx-xx-xx
MAC address.
xx = hexadecimal
p6 R1.01.01
Firmware version. The output format is “R+version.”
p7 /MT /C2
Options. Codes of installed options delimited by spaces.
p8 0
Fixed at 0.
p9 6, 10
Maximum number of installable modules. If there are not installable
modules, 0 is output.
p10 -----------
------
Unit status. The unit status is output in a character string. See the
Expansion module status in section 2.10.24, “System Configuration
(FSysConf).”
The main unit and expansion module information is output (indicated in green below).
EX: Expansion module
AI, DI, etc.: I/O module
EXAI
AIAI
Main unit
Main unit
EX AI AI
EX AI DI
Without an expandable I/O or sub unit With an expandable I/O or sub unit
2.10 ASCII Output Format