
October 2013 – Ed.1.0
EQUITEL E400 Family – Control and communications protocol
Page 13
2.1.2. Inputs and outputs control
Both E401 and E451 have some auxiliary inputs and outputs. The difference between them is the number
and the possibility of configuring their address (input/output) and its initial status.
• E401 has up to 18 general purpose inputs/outputs, and any of them can be configured as input or
output by means of the suitable command. Please, check the specific documentation for a more
detailed description of the accessibility to these inputs/outputs.
• E451 has two contacts for external connections (one opto-isolated input and a relay output)
In both units their inputs or outputs can be controlled through the commands that we shall describe
below.
Depending on the equipment, E401 or E451, the list of characters in some specific commands parameters
has a different length, depending on the number of available inputs/outputs in the equipment.
• In E401 the parameter length will be an 18 characters chain, corresponding to the 18 accessible
pins in ascendant order: GPIO1, GPIO2, GPIO3,…., GPIO18.
• In E451 the parameter length is a 2 characters chain, corresponding to its two contacts: the first
one is the output and the second character is the input.
2.1.2.1. QRYPPORTCONFIG message
This is the message that the controller sends to consult all the inputs/outputs initial configuration:
Address: CC E400
Syntax: Command
QRYPPORTCONFIG
Parameters:
None
In the case of E451, the two contacts configuration is fixed; the status and initial values being
determined by the hardware. The use of this command will send the controller this configuration back.
In the module E401, when the system starts for the first time, the available inputs/outputs have a
configuration by default. It can be consulted by the controller with this command at the beginning or
at any moment after having configured a change.
The answer of E400 to the controller after receiving this message, containing the configuration, is
PPORTCONFIG.
2.1.2.2. PPORTCONFIG message
This is the answer that any module E400 sends to the command QRYPPORTCONFIG.
Address: E400 CC
Syntax: Command
PPORTCONFIG
Parameters:
Address list (I: input, O: output, X: not used)
Initial status list (1, 0, X: not used / input)
Exemple : [E401]: PPORTCONFIG OOOOOOOOIIIIIIIOOO/00001100XXXXXXX000&
[E451]: PPORTCONFIG IO/X0&
It is important to take into account that the values list (second parameter) must have the same
number of elements as the address list (first parameter). However if a determined pin is configured as
input its initial value will depend on the hardware connected to that pin.
For each pin configured as input, the command will send an “I” address and an “X” value.
Comentarios a estos manuales