Herunterladen Inhalt Inhalt Diese Seite drucken

Nice TTPCI Installierungs-Und Gebrauchsanleitungen Und Hinweise Seite 7

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen
  • DE

Verfügbare Sprachen

  • DEUTSCH, seite 34
<04>
device not found.
<05> - <0f>
not used; available for future developments.
<10>
command execution error.
<11>
protocol data error.
<12>
encoder data error.
<13>
position data error.
<14>
"Bluebus" error.
<15>
memory error.
<16> - <ef>
not used; available for future developments.
<f0>
"BusT4" not operating.
<f1> - <ff>
not used; available for future developments.
7.4 - Input commands: INP
The INP command allows you to query the interface for the status of a given TTPCI device
input. The protocol is as follows (parameter [yy] is not obligatory; it is sent solely by ERR
responses):
"INP [flag] [g] [v] [yy]"
[flag]
in combination with INP, defines the type of message sent:
<
GET command, requests the status of a given input.
response of the interface (RSP) indicating that the GET
#
command has been received.
response of the interface (ERR) indicating a GET com-
!
mand syntax error.
response of the interface (EVT), sending the requested in-
*
formation.
[g]
Address of the input (0 - 3).
[v]
The meaning of the parameter depends on the [flag].
For GET commands:
<0>
fixed parameter.
For an ERR response, the parameter has no meaning.
For an EVT response, the parameter indicates the state of the input in
question.
<0>
input not active.
<1>
input active.
Tells the operator which error has been detected, according to the follow-
[yy]
ing table:
<00>
no error.
<01>
command syntax error.
<02>
command timeout.
<03>
collision on "BusT4".
<04>
device not found.
<05> - <0f>
not used; available for future developments.
<10>
command execution error.
<11>
protocol data error.
<12>
encoder data error.
<13>
position data error.
<14>
"Bluebus" error.
<15>
memory error.
<16> - <ef>
not used; available for future developments.
<f0>
"BusT4" not operating.
<f1>
not used; available for future developments.
Example – a request to the automation as to whether input 1 is active, and the interface's
confirmation:
"INP < 0 0"
"INP # 0 0"
"INP * 0 1"
7.5 - Output commands: OUT
The OUT command allows you to query or modify the status of a given TTPCI device out-
put. The protocol is as follows:
"OUT [flag] [g] [v] [yy]"
[flag]
in combination with OUT, defines the type of message sent:
SET, used to change the status of an output, i.e. close or
>
open a relay contact.
<
GET command, requests the status of a given output.
response of the interface (RSP) confirming reception of
#
the GET / SET command.
response of the interface (ERR) indicating a syntax error in
!
the GET / SET command.
English – 6

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis