Descargar Imprimir esta página

AERMEC AER485P1 Manual De Instrucciones página 10

Publicidad

The slave receives the request, but there is a slave communication error
1.
(e.g. checksum): no master reply is given: there should be a timeout on the
response
2.
The slave receives the request without communication errors but the data
of the request are incorrect (e.g. command not expected, excess data num-
ber request, address not provided, the written value given out of range)
slave: normally responds with its address on the first field, responds on the
command field by adding 0x80 to the command code and as the third byte
responds with an error code that identifies the error found. (see following
example)
The error codes are as follows:
01
02
03
EXAMPLE 1
Communication error
Hex field
Machine address
Command
Machine address
Address (byte high)
New data (high part)
New data (low part)
Checksum
EXAMPLE 2
Communication error
Hex field
Machine address
Command
Error code
Checksum
RV - NW - NS - NSB - WS - WF
FAMILIES:
TABLE OF ADDRESSES
Below are the addresses foreseen by the protocol and the
corresponding meaning in terms of the machine.
Addresses not indicated are reserved or unused; therefore the use
of commands related to addresses not listed are not permitted as
this could lead to malfunctions or failures of the machine.
Addresses marked by  are for use with the master card only.
SERIAL CONFIGURATION OF THE PCO3 CARD:
To configure the serial communication of the PCO
with the Baud rate, the network address and the type of protocol required,
select the following masks in the user menu (Prog. key):
Address for supervisor
Baud rate9600
Protocol
10
Invalid command
Invalid data address
Data value (in write mode)
out of range
REQUEST
01
07 (invalid command)
00
00
1B
00
...
REPLY
01
87
01 (invalid command
error code)
...
3
card
001
(RS485 only)
Modbus
NOTES CONCERNING READ/WRITE OF SUPERVISOR
TIMER AND LOG DATA :
Timer :
To set the following slots from the supervisor:
Day
TUESDAY
Start Slot 1
03:15 Shigh Slot 1
Start Slot 2
14:30
Shigh Slot 2
20:00
Operations to perform:
set the analogue variable 166 to '3' (1=Sunday; 2=Monday; ... 7=Satur-
day )
set the value '3' to the analogue variable 158
set the value '15' to the analogue variable 159
set the value '12' to the analogue variable 160
set the value '30' to the analogue variable 161
set the value '14' to the analogue variable 162
set the value '30' to the analogue variable 163
set the value '10' to the analogue variable 164
set the value '00' to the analogue variable 165
set the digital variable 74 that save the individual settings.
Vice versa, if the setting has been made:
Day
TUESDAY
Start Slot 1
13:15
Shigh Slot 1
12:30
Start Slot 2
14:30
Shigh Slot 2
20:00
In this case the digital variable 75 will go to '1' even when:
SHigh Slot 1 is LESS than the START Slot 1;
SHigh Slot 2 is LESS than the START Slot 2;
SHigh Slot 2 is LESS than the START Slot 1.
N.B.: In case one or more 'Slots need to be disabled simply set the START
and SHigh slot to 00:00 - 00:00.
ALARMS LOG:
To interrogate the Log from the Supervisor.
Operations to perform:
Set the digital variable 79 to receive all DATE, IN TEMP. OUT TEMP.
information,..... concerning the last alarm recorded by the PCO3;
set the digital variable 78 to request data concerning the alarm prior to
that displayed;
set the digital variable 77 to request data concerning the alarm after
that displayed.
At this point, reading the analogue variables 32, 33 and from 167 to 172, all
the alarm information relating to the alarm selected is obtained.
To reset the Log from the Supervisor.
set the digital variable 76.
HOUR ADJUSTMENT
To adjust the hour from the Supervisor.
Operations to perform:
set the new HOUR on the analogue variable 149;
set the new MINUTES on the analogue variable 151;
set the new DAY on the analogue variable 153 (1=Sunday; 2=Monday;
... 7=Saturday );
set the new MONTH on the analogue variable 155
set the new YEAR on the analogue variable 157 (2 digits);
set the digital variable 56 that copies the variables just set.
12:30

Publicidad

loading