Sie sind auf Seite 1von 10

C5 Module Users Manual

Click Communicationto bring out dialogue box as shown in Fig.1.


Then click GPRSbutton to read the parameters of C5; click
Writerto change the parameters.

Fig.1.
The meaning of each function is shown as follows,
GPRS communication Enable GPRS module or not;
Working mode Short message means short message function only;
Short message +GPRS means short message and GPRS
functions are both available.
1

Connection mode It means GPRS connection mode. IP means


connected through IP "122.102.1.20"; Domain
name means connected through domain name
"www.jcsepi.com.cn". If you adopt Domain name
function, you need to submit a domain name. We
recommend IP mode.
Port It menas the listening port of the meter, of which the settings
are the same as that in Server 6000.
Domain name(24) It means the dynamic domain name submitted by
users. If you adopt IP mode, you can not set it.
IP It means the IP of Server when you adopt GPRS function. It is a
public network IP rather than an IP in the Lan.
Short Message center number(16): It is the number of short message
center.
Administrator number(16): It is the number of administrator. The
alarming short message will be sent to this number.
Users cell phone number1(16): It is the number of User 1 who can read
the parameters of the meter.
Users cell phone number2(16): It is the number of User 2 who can read
the parameters of the meter.
Users cell phone number3(16): It is the number of User 3 who can read
the parameters of the meter.
Comparny name(16): It is the name of our company.
Instrument number defined by user(8): The serial numbers of meters
defined by user.
APN(36): It is the name of APN access point when you are going
Internet by cell phone card through GPRS mode. E.g. cmnet is
for China, and ufone.internet is for Pakistan.
Heart Time(s)(4): It is heartbeat time, meaning the interval of sending a
frame of data to maintain links when there is no
communication. Unit of the value is s which is second, and
the value is smaller than 9999s.
APN UserName(24): It is the users name corresponding to APN. There
2

is not such a name in China. It is ufone in Pakistan. If there


is not such a name, please set it as null.
APN Password(20): It is the password corresponding to APN. If there is
not a password, please set it as null.
SMS Password(8): It is the password set in the meter. The method of
using short message to set password of upper parameters is shown as
follows.
Note: numbers in upper parentheses means the maximum byte which
can be input.
Messages Format: Text .
5. Operation Example
GPRS operation example. Use Modbus Poll as testing software.
Set Modbus Poll as users terminal. The communication disgram is
shown as follows

Fig.2
5.1. Run Server.exe, and set parameters correctly, then run meters.
The information of the meter is shown as follows:

Fig.3
The upper box shows the dynamic IP and address of the meter
which is in communicating. In Fig.16, the IP of the meter is
117.136.19.199, and the address is 5. 00 00 00 00 00 06 05 30 FF 1B
FF FF is the registration information which compliances with
MODBUS TCP/IP frame format. 0x30 is command type; 0x05 is
the address of the meter; 00 00 F6 00 00 06 05 31 FF 1B FF DD is
heatbeat data; 0x05 is the address of the meter; 0x31 is command
type.
5.2. Run Modbus Poll
Run Modbus Poll and click Connection to bring out dialogue
box as shown in Fig.17. Select TCP/IP. Input the IP of the computer
which is running Server in IP Address. It is usually set as 502 in
Port, which is the same as the port of users parameter in Server.
Click OK to link Server.
4

Fig. 4
After being connected to Server, click Read/Write Definition in
Setup to bring out the dialogue box as shown in Fig.18.

Fig. 5
Slave ID is the address of slave computer. Function command
type is 0x03/0x04. Address is the initial address (decimal system)
of Modbus TCP/IP protocol. As for Sfere 300 meters, the address range
which can be read is 0x0000-0x0035 and 0x0100- 0x01C3. Quantity
is the data length (byte). Data length and initial address should be
within 0x0000-0x0035 and 0x0100- 0x01C3. After completing the
settings, click OK. Fig.19 shows the Modbus Poll is linking with
Server and the data exchanging between them. On-line User shows
the IP of user; 51723 is the automatically distributed communication

port number; ID in On-line Meter shows the address of meters.


Fig. 6
6. Short Message Operation Instruction
6

6.1. Read parameters of meters through short message


The letters in the commands are not case sensitive. For example,
command READ01 can also may written as rEad01. But if you send a
message to change the parameters, the letters in that message are case
sensitive. All of the following commands are written in capital letters.
6.1.1. READ01 means to read the basic parameters of primary side
(phase voltage, line voltage, current, active power, reactive power,
apparent power, power factor and frequency) Ua,Ub,Uc, Uab,Ubc,Uca,
Ia,Ib,Ic,P,Q,S ,PF,RF
6.1.2. READ02 means to read the four-quadrant electric energy of
primary side (active energy import, active energy export, reactive
energy import and reactive energy export) WPP, WPN, WQP, WQN
6.1.3. READ03 means to read the basic parameters of secondary side
(phase voltage, line voltage, current, total active power, total reactive
power, total apparent power, total power factor and grid frequency)
Ua,Ub,Uc, Uab,Ubc,Uca, Ia,Ib,Ic,P,Q,S,PF,RF,
6.1.4. READ04 means to read the parameters of voltage or current
(positive sequence, negative sequence, zero sequence and imbalance)
and electric quantity phase. Up, Un, Uz, YV, Ip, In, Iz, YI, PUa PUb
PUc, PIa PIb Pic
6.1.5. READ50 means to read the parameters of GPRS module such as
switch state, port number, domain name and IP address.
Take a command for example, Power:on; sms; IP; alarm num:1;
port:6000; dns:sfere.meibu.com; ip:222.111.244.131
Power: onmeans to run GPRS function sms means using
short message communication method only IP means connecting
GPRS through IP mode alarm num:1 means the alarming
message will be sent to one person (including the administrator. It is
defaulted that the alarming message only can be sent to the
administrator. But if you change this number, more people will receive
the alarming messages, and the number should not be larger than 4)
port:6000 means the port number used to connect GPRS
dns:sfere.meibu.com means the dynamic domain name
7

ip:222.111.244.131 means IP address


6.1.6. READ51 means to read the short message center number,
administrator number and user number.
Cetn: it is the short message center number
adm:it is the administrator number
usr1:it is the number of User 1
usr2:it is the number of User 2
usr3: it is the number of User 3
6.1.7. READ52 means to read company name, serial number of meters,
password and software version.
6.1.8. READ53 means to read the access point of APN, name of that
access
point
(APN_NAME),
password
of
that
point
(APN_PASSWORD) and heartbeat time (Heartime).
6.1.9. READID means to read Slave ID which is the slave computer
address in GPRS communication protocol.
6.1.10. READVER means to read the software version number.
6.2 Change Data Through Short Message
6.2.1. Change phone number
CFG0:short message center number*
CFG1:administrator number*
CFG2:User 1 number*
CFG3:User 2 number*
CFG4:User 3 number*
Remark: yon can only change one number at a time.
6.2.2. CFGPCL:1100* including four bits in total
First bit: using GPRS or not;
Second bit: 0 means using short message communication method
only; 1 means short message communication method and GPRS are
both available.
Third bit: 0 means IP mode; 1 means dynamic domain name mode
Fourth bit: numbers of people who can receive alarming message. 0
means only the administrator can receive the alarming message; 1
means the administrator and User 1 can receive the alarming message;
8

2 means the administrator, User 1 and User 2 can receive the alarming
message; 3 means the administrator, User 1, User 2 and User 3 can
receive the alarming message.
6.2.3. CFGPDI:PORT/DNS/IP* means to change the listening port
number, dynamic domain name and IP address;
For example: CFGPDI:6000/123/* means to change the listening port
to be 6000, change dynamic domain name to be 123, and not to
change the IP address (notice: if the IP address is not changed, please
do not input IP address.)
6.2.4. CFGNCP:corpname/code/password* means to change the
company name, users code and password of the meter.
For example, CFGNCP:SFERE//6666* means to change the
company name to be SFERE, not to change users code, and change
password to be 6666.
6.2.5. CFGANPH:APN/NAME/PASSWORD/HEARTIME* means
to change APN access point, the name of that point, password of that
point and heartbeat time.
For example, CFGANPH:cmnet///60* means to change the APN
access point to be cmnet, set the name and password of that point as
null, and change the heartbeat time to be 60.
6.2.6. CFGID:ID* means to change the ID of the meter, which is the
slave address in GPRS communication.
6.2.7. CFGHT:TIME* means to change heartbeat time.
Remark: when you adopt short message mode to read or change the
data of the meter, please make sure that the number of the phone
which sends that message has been saved in the meter. If there is no
such number in the meter, please add the password to the short
message, then send that message to meter to read or change its data.
For example, if the password is 6666, you can send READ01*6666
to read the data or send CFGPCL:1100*6666 to change the data.

7. AT Commands Spec for the meter


9

AT+CSQ signal quality


AT+CMGF
Priority message format. There are two executed
formats which are TEXT and PDU.
AT+CNMI New message indication. This command is used to
select the way to receive short message from network.
AT+CMGR Read short message. Message is read from the
memory set by +CPMS command.
AT+CMGL List stored message.
AT+CMGS Send message
AT+CMGW Write and store short message.
AT+CMSS Send message from memory.
AT+CSMP Set parameters of text mode.
AT+CMGD Delete short message. Delete one or more short
messages.
AT+CSCA Short message service center address

10

Das könnte Ihnen auch gefallen