6.6
Managing the module using windows command line software
The module can be operated using windows command line software – the software is
delivered with the module.
Syntax is as follows:
: TCPRel.exe [Parameters]
Parameter
Description
-in=1
Input number
-host=[HOST]
Module IP address
-port=[PORT]
Module Port number
-writecounter=0-4228250625
Set counter
-readcounter
Read counter
-verb
Enabled display of additional info
-stat
Displays current state of inputs/outputs
Examples:
Read input state module address 192.168.111.15 listening on port 9761:
TCPRel -in=1 -host=192.168.111.15 -port=9761 -stat
Reset counter :
TCPRel -host=192.168.111.15 -port=9761 -in=1 -writecounter=0
Set counter 1 to value of 123:
TCPRel -host=192.168.111.15 -port=9761 -in=1 -writecounter=123
Read state of counter 1:
TCPRel -host=192.168.111.15 -port=9761 –in=1 -readcounter
User manual NANO IN
Page
14
of
22
Содержание NANO IN
Страница 22: ...Notes...