6
(C) Copyright 2010-2014 SKD System AB
Command Interface
To access command interface start TCP port 60000. This can be done by starting Serial Terminal application in PC, by starting
communications script or from application program in the control system.
Example of communication with the product from PC via TCP by using Python script:
import sys,os.socket
TCP_PORT = 60000; BUFFER_SIZE = 5000; TCP_IP = "192.168.1.222";
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((TCP_IP, TCP_PORT))
s.send("acsw:1-1;")
s.close()
Example of command session:
Serial Interface Commands
Common
nodename;
Read node name
nodename:[name];
Set node name. Up to 12 alphanumerics Example:
nodename:First;
Set node name to First
who;
Read node id and name
help;
Help, lists commands and command groups
productdata;
Read product data.
states;
Read device states
defaults;
Read default settings. Default settings are parameters reinstated after Restore command.