![red lion PAXCK Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/red-lion/paxck/paxck_manual_1428034022.webp)
Released 2018-05-15
Bulletin No. PAXCK-J
Drawing No. LP0524
-22-
Command
String
Examples:
1. Address = 17, Write 350 to Setpoint 1
String: N17VE350$
2. Address = 5, Cycle Counter value, response time of 50 to 100 msec. min
String: N05TB*
3. Address = 0, Reset Timer value
String: RA*
Transmitting
Data
To
the
Meter
Numeric data sent to the meter must be limited to Transmit Details
listed in the Register Identification Chart. Leading zeros are ignored. The
meter ignores any decimal point and conforms the number to the scaled
resolution. (ie. The meter’s scaled decimal point position is set for 0.0
and 25 is written to a register. The value of the register is now 2.5. In this
case, write a value of 250 to equal 25.0).
Transmitting
Data
From
the
Meter
Data is transmitted from the meter in response to either a transmit
command (T), a print block command (P) or User Function print request.
The response from the meter is either a full field transmission or an
abbreviated transmission. The meter response is established in Module 7.
Full
Transmission
(
=
)
These characters only appear in the last line of a block print.
The first two characters transmitted (bytes 1 and 2) are the unit address.
If the address assigned is 0, two spaces are substituted. A space (byte 3)
follows the unit address field. The next three characters (bytes 4 to 6)
are the register mnemonic. The numeric data is transmitted next.
The numeric field (bytes 7 to 18) is 12 characters long (decimal points
are loaded depending on timer range selected). The data within bytes 9
to 18 is right-aligned with leading spaces for any unfilled positions.
The end of the response string is terminated with <CR> (byte 19), and
<LF> (byte 20). When a block print is finished, an extra <SP> (byte 21),
<CR> (byte 22), and <LF> (byte 23) are used to provide separation
between the transmissions.
Abbreviated
Transmission
(
=
)
These characters only appear in the last line of a block print.
The abbreviated response suppresses the address and register
mnemonics, leaving only the numeric part of the response.
Note
: Transmissions are formatted to match the way the parameter is
displayed. This includes setpoints.
Example
: SP1 assigned to RTC. RTC format = 12:00 P.
SP1 printout = 12:00 P.
Meter
Response
Examples:
1. Address = 17, full field response, Cycle Counter = 875
17 CNT
875 <CR><LF>
2. Address = 0, full field response, Setpoint 2 = 250.5
SP2
250.5<CR><LF>
3. Address = 0, abbreviated response, Setpoint 2 = 250, last line of block
250<CR><LF><SP><CR><LF>
Auto/Manual
Mode
Register
(MMR)
ID:
U
This register sets the controlling mode for the outputs. In Auto Mode (0)
the meter controls the setpoint output. In Manual Mode (1) the outputs are
defined by the register SOR. When transferring from auto mode to manual
mode, the meter holds the last output value (until the register is
changed by a write). Each output may be independently changed to
auto or manual. In a write command string (VU), any character besides 0
or 1 in a field will not change the corresponding output mode.
Example
: VU0011 places SP3 and SP4 in manual.
Setpoint
Output
Register
(SOR)
ID:
X
This register is used to view or change the states of the setpoint outputs.
Reading from this register (TX) will show the present state of all the setpoint
outputs. A “0” in the setpoint location means the output is inactive and a “1”
means the output is active. The output logic parameter in Module 6 will affect
the active logic state
.
In Automatic Mode, the meter controls the setpoint output state. In
Manual Mode, writing to this register (VX) will change the output state.
Sending any character besides 0 or 1 in a field or if the corresponding
output was not first in manual mode, the corresponding output value
will not change. (It is not necessary to send least significant 0s.)
Example
: VX10* will result in output 1 active and output 2 inactive.
BYTE
DESCRIPTION
1, 2
2 byte Node (Meter) Address field [00-99]
3
<SP> (Space)
4-6
3 byte Register Mnemonic field
7-18
12 byte numeric data field: 6 bytes for number, up to 3 for decimal points
19
<CR> (Carriage return)
20
<LF> (Line feed)
21
<SP> (Space)
22
<CR> (Carriage return)
23
<LF> (Line feed)
BYTE
DESCRIPTION
1-12
12 byte data field: 6 bytes for number, up to 3 for decimal points
13
<CR> (Carriage return)
14
<LF> (Line feed)
15
<SP> (Space)
16
<CR> (Carriage return)
17
<LF> (Line feed)
For
RTC
Time
[C]
and
Date
[D]
Value:
Time - 24 Hours, Minutes, Seconds (HHMMSS)
Ex: 083000 = 8:30 AM, 144500 = 2:45 PM
Date - Month, Day, Year (mmddyy)
Ex: 123101 = December 31, 2001
Day - 1 = Sunday through 7 = Saturday
EX: 3 = Tuesday
Notes:
1. Since the meter does not issue a reply to value change commands,
follow with a transmit value command for readback verification.
2. The date and day must be set separately.
Note
: When communicating with a Red Lion Controls HMI unit, set
in programming module 7 (serial) to
. This formats the RTC
parameters to:
Time - 24 Hours, Minutes, Seconds
Date - Month, Day, Year
Day - 1 = Sunday through 7 = Saturday
Decimal points are substituted for all punctuation.
U abcd
d = SP4
c = SP3
b = SP2
a = SP1
X abcd
d = SP4
c = SP3
b = SP2
a
=
SP1