List of variable fields ................................................................................................ 28
General definitions ................................................................................................... 29
Signaling field ........................................................................................................... 29
Tables measured data .............................................................................................. 29
Tables of binary data ................................................................................................ 31
Table of control devices ........................................................................................... 33
Telemonitoring information ....................................................................................... 33
Glossary of information descriptors ......................................................................... 34
Glossary of telemonitoring information descriptors .................................................. 37
TM
All MGE
GalaxyTM 6000 products are protected by patents. They implement original APC by Schneider Electric technology
not available to other manufacturers.
This document may be copied only with the written consent of APC by Schneider Electric.
Authorized copies must be marked "APC by Schneider Electric GTC link communication interface user manual No.
6739389EN".
6739389EN/FB - Page 3
Presentation
Introduction
The "GTC link" communication
interface is designed to transmit
TM
MGE
operating information and remote
"on/off" commands (if available) to
an external computer.
The JBUS hexadecimal
communication protocol is used
(the JBUS ASCII mode is not used
in this application).
The "GTC link" features two
symmetrical communication
channels, both with a simplified
V24 (RXD and TXD only) and an
RS485 interface.
It consists of a "GTCZ"
communication board (central unit)
and a "RAUZ 1" (communication
network management and
interconnection board).
In option, two additional
communication ports can be added:
"GT2Z" board (central unit) and
"RAUZ 2" board (communication
network management and
interconnection board).
Refer to the "communication
options connection manual" of
MGE
6739388XU, for all informations
about connections.
GalaxyTM 6000 UPS
TM
GalaxyTM 6000 nr
"GTCZ" and "GT2Z"
boards features
The "GTCZ" and "GT2Z" boards
are functionally divided into two
main modules:
The ACQ module
◗ performs data acquisition;
◗ monitors the status bus of the
monitor/control boards;
◗ computes physical quantities and
battery backup time;
◗ processes alarms;
◗ sends commands to monitor/
control boards;
◗ stores configurable parameters
and communicates with the "Soft
Tunor" software, used by APC by
Schneider Electric after-sales
service;
◗ transfers data using the on-board
communication channels.
The COM module
The COM communication module
is designed for external devices
(e.g. "AMUZ" type board of a
"Monitor" or "Tele-Monitor") to:
◗ retrieve information and
parameters processed by the ACQ;
◗ send commands to monitor/
control boards;
◗ be integrated into other systems
(remote indications and
supervision).
Each "GTCZ" or "GT2Z" board is
equipped with two symmetrical
communication ports, COM1 and
COM2:
◗ on the "GTCZ" board:
◗ ◗ COM1 for a "display devices"
network consisting of "AMUZ"
boards in a unitary or parallel
connected UPS configurations,
◗ ◗ COM2 for a supervisory system;
◗ on the "GT2Z" board:
◗ ◗ COM1 and COM2 for a
supervisory system.
The "GTCZ" and "GT2Z" boards
are configured with the APC by
Schneider Electric after-sales
customization software called "Soft
Tunor".
The computer link is via the test
connector located on the front
panel of the cubicles and performs:
◗ configuration, calibration and
control of the ACQ module;
◗ configuration of COM1 and
COM2 ports.
Page 4 - 6739389EN/FB
Communication settings
The COM1 and COM2
communication ports can be
configured as follows:
◗ data rate: 1200, 2400, 4800,
9600 Baud;
◗ data bits: 8 (always);
◗ parity: none, odd, even;
◗ stop bits: 1 or 2;
Location of the "GTCZ" and "GT2Z" boards in the cubicle electronics
◗ slave address: 20H to F8H in
increments of 8H;
◗ interface:
◗ ◗ 0 = RS232 simplified,
◗ ◗ 1 = RS232 complete
(not implemented),
◗ ◗ 2 = RS485;
◗ command masks;
◗ other parameters (modem type,
telephone number, handshaking,
modem protocol, password)
reserved for later use.
INTERNAL BUS
SRIZ
Test channel
Status
Acquisition
Status
Test channel
Acquisition
Status
Test channel
Acquisition
Status
Test channel
Acquisition
Status
Test channel
Commands
CRIZ
CROZ
AROZ
GTCZ
(only in rectifier-inverter cubicle)
(only in rectifier-inverter cubicle)
(in all cubicles)
COM1
RAUZ 1
COM2
Soft Tunor
Acquisition
Status
Test channel
Commands
GT2Z
COM1
RAUZ 2
COM2
6739389EN/FB - Page 5
JBUS protocol
Introduction
JBUS protocol can be used to read
or write one or more bits or words.
In the interest of simplicity, this
document describes only the
procedures necessary for operation
and monitoring of the APC by
Schneider Electric unit.
Communications are initiated by
the master and include a request
from the master and a response
from the slave.
Master requests must be
addressed to one specific slave
(identified by its address in the first
byte of the request frame) as
shown in the diagram opposite:
MASTER
Slave
request
request
response
Wait
Master
SlaveSlave
Response analysis
and preparation
of next exchange
request
Wait
SLAVE 1
SLAVE N
PHYSICAL
MEDIA
to slave 1to slave N
response
request processing
Exchange i
response
Exchange i+1
Page 6 - 6739389EN/FB
JBUS protocol (continued)
Principle
A full understanding of the protocol
is only required if the master is a
computer that must be
programmed.
All communications include 2
messages: a request from the
master and a response from the
slave.
Each message or frame containes
4 types of information:
◗ slave address (1 byte)
The slave address specifies the
destination station (see address
list):
If zero, the request addresses all
slaves and there is no response
message (in which case it is a
broadcast message, a function not
used in this application);
◗ function code (1 byte)
Selects a command (e.g. read or
write a bit or a word) and checks
that the response is correct.
The JBUS protocol comprises 10
functions of which 3 may be used in
this application: function 3 (read n
output or internal words), or
function 4 (read n input words), or
function 16 (write n words);
◗ information field (n bytes)
The information field contains the
parameters related to the functions:
bit address, word address, bit
value, word value, number of bits,
number of words;
◗ check word (2 bytes)
A word used to detect transmission
errors.
Synchronizing data
exchanges
Any character received after 3 or
more character lengths of silence is
interpreted as the start of a frame.
Therefore, a minimum silence of 3
character lengths between frames
must be respected.
Description of request and response frames
request
1 byte
slave adress
(1 à FF)
This function code selects one of
10 possible commands:
- Function 1 : read n output or internal bits
- Function 2 : read n input bits
- Function 3 : read n output or internal words
- Function 4 : read n input words
- Function 5 : write one bit
- Function 6 : write one word
- Function 8 : data exchange diagnostics
- Function 11 : read event counter
- Function 15 : write n bits
- Function 16 : write n words
response
slave adress
(1 à FF)
1 byte
function
code
function
code
information requested: bit/word address,
bit/word value, bit/word number.
information
n bytes
values of bits or words read
values of bits or words written
number of bits or words
data
check word
When the message is
received, the slave reads
the check word and accepts
or refuses the message
CRC
check word
2 bytes
1 byte1 byte
◗ bytes
2 bytes
6739389EN/FB - Page 7
JBUS protocol (continued)
Checking received
messages on the slave
side
After the master sends a request
containing the slave address, the
function code and data, it computes
the CRC and sends it as the check
word (CRC 16).
When the slave receives the
request, it stores the message in
memory and calculates the CRC 16
to compare it to the received CRC
16.
master
slave
slave address
function
data
CRC 16
CRC 16 comparison
CRC 16
computation
If the message is incorrect (unequal
CRC 16 values), the slave doesnot respond.
If the message received is correct
but the slave is unable to process it
(incorrect address, incorrect data,
etc.), the slave returns an error
message with the following
contents (see opposite):
response
function code
received and
MS bit = 1
slave
address
(1 à FF)
1 byte1 byte1 byte
example
01
01
1
09
00000000 DD CB
H
89 H0186 50
Error codes:
1. Unknown function code
2. Incorrect address
3. Incorrect data
4. Station not ready
8. Write error
9. Field overlap
request
response
errors handled
by the
communication
port
CRC 16
2 bytes
Page 8 - 6739389EN/FB
Functions
Function 1 and 2: read N bits
◗ function 1: read output or internal
bits;
◗ function 4: read input bits.
The number of bits must be less
than or equal to the bit field size
(see memory board).
request
slave address1 or 2
JBUS protocol (continued)
address of
first bit
MSB LSB
number of bits
to read
CRC 16
1 byte
response
slave address1 or 2
1 byte
byte detail:
last bit transmittedfirst bit transmitted
Unused bits are set to zero
example
Reading bits at location 404 to 411 of slave at address 20H (charger signals)
request:
20 01040466 FE
response:
20 01 02
1 byte2 bytes2 bytes2 bytes
number of
bytes
read
1 byte1 byte✷ bytes2 bytes
0E
10101001
00101110
FB B7
first
byte
read
last
byte
read
CRC 16
40440B
411
(binary values)
40C
6739389EN/FB - Page 9
JBUS protocol (continued)
Function 3 and 4: read N words
The number of words must be less
than or equal to the word field size
(see memory board).
◗ function 3: read output or internal
words;
◗ function 4: read input words.
request
slave address
3 or 4
adress of
first bit
MSB LSB
number of
words
MSB LSB
CRC 16
Function 5: writing a bit
1 byte
response
slave address
1 byte
example
Reading words at location 146 to 14B of slave at address 28H (voltage fields)
request:
03014606A7 E0
28
response:
03 0CXXXXYYYYCRC 16
28
1 byte2 bytes
3 or 4
1 byte1 byte
word 0146
number of
bytes read
word 014B
2 bytes2 bytes
first word
PF pf
2 bytes2 bytes
last word
PF pf
2 bytes
CRC 16
Page 10 - 6739389EN/FB
request
slave address5
1 byte2 bytes2 bytes1 byte1 byte
response
slave address5
In function 5 the response and request frames are identical.
example
Setting bit location C05 to 1 of slave at address 40H (inverter on)
request:
050C05FF 0040
1 byte
bit address
bit address
90 7A
bit set to 0
bit set to 1
bit value0CRC 16
bit value0CRC 16
write 0
write FF
Function 6: writing a word
JBUS protocol (continued)
request
slave address
1 byte1 byte2 bytes2 bytes2 bytes
response
slave address
The response is echoed acknowledging that the word sent has been received.
example
Writing the value 1000 into the word location 810H of slave at address 50H
0608 1010 00
50
Function 8: reading error diagnosis counters
Each slave manages a set of nine
16 bit counters for error diagnosis
(see opposite):
- request / response:
slave address
6
6
8
word address
word address
8A 2E
sub-function
code
data
CRC 16word
CRC 16word
CRC 16
1 byte
- the slave must echo00XYZT
the request
- reset error0A0000
diagnosis counter
- read the total number of:
received frames with CRC error (CNT 1)0BXXXX
received frames with CRC error (CNT 2)0CXXXX
number of exception responses (CNT 3)0DXXXX
frames addressed to the station (CNT 4)0EXXXX
(not including broadcast)
broadcast requests received (CNT 5)0FXXXX
number of NACK responses (CNT 6)10XXXX
unit not ready responses (CNT 7)11XXXX
illegal characters (CNT 8)12XXXX
1 byte2 bytes2 bytes2 bytes
X, Y, Z, T are user
defined (transmission
parameters)
requests:
XXXX equals 0000
response:
XXXX is the counter
value
6739389EN/FB - Page 11
JBUS protocol (continued)
Function 11: reading event counters
The master and each slave have
one event counter.
This counter is incremented each
time a frame is received and
interpreted correctly by the slave
(except for function 11 itself).
A correctly transmitted message
increments the counter. If the slave
sends an exception response, the
counter is not incremented.
The master can read the counter to
determine whether or not the slave
correctly interpreted the command
(incremented the counter or not).
request
slave address0B
response
slave address
1 byte
1 byte2 bytes2 bytes2 bytes
CRC 16
0
slave
counter word
CRC 160B
These functions can be used to
diagnose the data exchange taking
place between master and slaves.
If the master counter equals the
slave counter, the slave executed
the command sent by the master.
Function 15: writing n consecutive bits
request
slave adress
1 byte
réponse
last bit of
first byte
0F
1 byte
first byte
address of
the first bit
2 bytes
first bit of
first byte
number
of bits
2 bytes
2 X 1968
If the master counter is one higher
than the slave counter, the slave
did not execute the command sent
by the master.
number
of bytes
1 byten bytes2 bytes
1 N 246
last bit of
byte N
bit data
N bytes
CRC 16
first bit of
byte N
Page 12 - 6739389EN/FB
response
slave address
1 byte
Note: if the slave address is 0, all units execute the write command without sending a
response.
0FCRC 16
address of
the first bit
number of bits
2 bytes1 byte2 bytes2 bytes
1 X 1968
Loading...
+ 26 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.