![MKS PR 4000 F Instruction Manual Download Page 51](http://html1.mh-extra.com/html/mks/pr-4000-f/pr-4000-f_instruction-manual_1813490051.webp)
PR4000F
Chapter 5: Interface
43
Chapter 5: Interface
5.1 General
The PR4000F offers two serial interfaces, a RS232 and a RS485. The RS232 is a connection
between two devices (Host and PR4000). The RS485 connects the host to up to 30 PR4000, what
makes an address code for each command necessary.
The synchronization between host and PR4000 is maintained by a strict command / reply cycle.
You may only send the next command, if there was a reply received completely.
The parser brings an error on wrong commands, but not on ambiguous commands. In this case it
processes the closest idea of the information received. Terminate command only with <CR>, never
with <CR><LF>.
5.2 Command syntax
The command syntax is defined as follows, were tokens in brackets are optional and token divided
by a separator are alternatives. There are no blanks between command elements needed. Yellow
characters are constant, gray characters represent placeholders for command values.
[
@
aa][?|!]<cmdc
|
cmd>[p1[,p2[,p3]]]<CR>
@
aa
address with two digit address flag @. This element is only used with the RS485
interface.
E.g.
@12
identifies device with address 12.
?
request prefix causes the device to return the actual value of the parameter
identified by cmdc or cmd.
E.g.
?DG
asks for the actual dialog
!
default prefix causes the device to set the value of the parameter identified by
cmdc or cmd to default.
E.g.
!OF1
sets for the offset to zero.
cmd cmdc
command or cahnnel specific command, identifies device parameter or function.
cmdc is with channel specification 1 or 2.
E.g.
OF1,0.012
sets for the offset to 0.012.
p1 p2 p3
parameter for the function or command.
E.g.
OF1,0.012
0.012. is parameter p1
<CR>
command terminator "carriage return" (13).
,
token separator
Summary of Contents for PR 4000 F
Page 8: ...List of Figures and Tables PR4000F viii This page left blank...
Page 12: ...Safety information PR4000F 4 This page left blank...
Page 50: ...Chapter 4 Operation PR4000F 42 This page left blank...
Page 64: ...Appendix A Specifications PR4000F 56 This page left blank...
Page 66: ...Appendix B Error Messages PR4000F 58 This page left blank...
Page 68: ...Appendix C Default Configuration PR4000F 60 This page left blank...