EasyManua.ls Logo

TDK-Lambda G30-170 - Input Buffer Requirements; Message Terminators; Using TCP Sockets

TDK-Lambda G30-170
188 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
82
5.7.8.4 Input Buffer Requirements
With a controller using TCP or UDP sockets, the Power Supply can receive commands much faster
than it can process. To make sure the
LAN is not overloaded, it is required that the
controller sometimes sends a query and then waits for the response. The response is the
acknowledgement from the Power Supply
that it has finished processing all commands.
It is recommended that your controller routinely sends “SYST:ERR?”. This query takes 10 mSec,
and verifies that all commands have been accepted correctly.
NOTE
When using sockets, it is recommended that no more than 20 SCPI commands may be sent
before a query is sent
5.7.8.5 Message Terminators
When using a program that sends separate SCPI commands through a TCP socket, the socket
drivers may combine all the messages into one long packet. Therefore, it is necessary to add a
terminator character to the end of each SCPI command.
NOTE
All SCPI commands must have a terminator character.
Terminator Character (and ASCII hex)
Commands from the Controller
One or more terminators required: Line-feed, Carriage-return
0x0A 0x0D
Responses from the All responses have Line-Feed and Carriage-return
0x0D and 0x0A
5.7.8.6 Using TCP Sockets
This is the most commonly used socket type. It features a managed connection, message
acknowledgements, transmission error detection and correction.
Open TCP socket port 8003 to send SCPI commands.
Responses to queries are sent back automatically with a line-feed terminator and carriage return
appended.
If the web page LAN controller access is set to “Multiple Clients”, up to two controllers may open
TCP sockets to one Power Supply at the same time.

Table of Contents

Other manuals for TDK-Lambda G30-170

Related product manuals