XS series operating manual
XS user manual v0.55
- 101 -
PLC > RS Interface (Option 115-00)
NOTE
When the option 115-00 is activated, the PLC > RS interface can be selected in the CONFIG
menu, <page 2> on line INTERFACE : API>RS = 19k.
This option is used to control the unit with the Programmable Logic Controller Interface (PLC) and get
the measure results through the RS232C serial cable.
Unit control
The unit is controlled by the PLC interface according to the same protocol as the one previously
described.
Data transmission speed
In the CONFIG menu, on the INTERFACE line, PLC>RS should be selected. The second field allows
the user to set the RS232 communication speed. The possible choices are the following ones :
- 9,2 Kbit/s
- 19,2 Kbit/s
- 38,4 Kbit/s
- 57.6 Kbit/s
- 115.2 Kbit/s
Data reception is performed the same way as described in the chapter regarding the RS232 interface.
Measure results format
At the end of the test, the unit gives the general result
s (Pass, Fail, Error,…) of the test by sending
back the STB register, in Hexadecimal code. This register is then followed by the measure results
(voltage, current, resistance,…)
The description of each bit of the STB register is given
in the chapter “Common Queries” of the
RS232 interface.
A) Result format when using a function
Insulation
: #H9 - OHM 4.700E+06
<CR>
Dielectric strength :
#H9 -
VOLT 9.900E+02 AMP 7.000E-05
<CR>
Continuity
: #H9 - OHM 3.210E-1 VOLT 2.810E+00
<CR>
(when unit = OHM)
Continuity
: #H9 - VOLT 2.830E+00 OHM 3.230E-1
<CR>
(when unit = VOLT)
B) Result format when using the sequence mode
Ex :
#H9 - L1 C0: 0.15m
Ω 0.00V,L2 R0: 1.50KV 0.02mA,L3 M0: 41.7 GΩ,L4 F0:q 0.01mA 223V
A2,L5 ..: ,L6 ..: ,L7 ..: ,L8 ..:
<CR>
The syntax rules are the followings:
the end of the message is : CR ( Carriage Return)
each test step starts with a «
L
» and ends with «
,
» ( except for the last one) .