Conzerve (Schneider) EM6400 RS485 Communication with Omron CP1E, CP1W-CIF-11
Thanks to:
tech_Modbus_v1r0c0.pdf
http://www.simplymodbus.ca/index.html
http://www.chipkin.com/how-real-floating-point-and-32-bit-data-is-encoded-in-modbus-rtu-messages/
http://www.modicon.com/techpubs/dcon7.html
Critical Issues
1) Omron CP1E
a) Built-in RS232C Port: Cannot be used for RS485 Communication directly; a conversion unit is required “CJ1W-CIF11” for Hardware compatibility to RS485 Protocol. Other option is to use Optional Port
(Refer: User Manual W479-E1-01_DTP2nd.pdf, Article: A-4-3)
b) Serial Option Port: Use CP1W-CIF-11 Card for RS485 Communication
c) Sending Data Packet and Received Data Packet Bytes; Be Careful about Byte in Word Format i.e. D1200 or D1300 is a 16-bit word, and ‘Useful Byte’ is somewhere in lower byte (bit 0 to bit 7) or higher byte (bit 8 to bit 15)
d) Number of data bytes to Send (for reading avg. current from address 3912(0F48 Hex) this is ‘04’)
(Use a tool to arrange the bytes properly of the received 32-bit real word data. Ref. http://www.chipkin.com/how-real-floating-point-and-32-bit-data-is-encoded-in-modbus-rtu-messages/ )
1) Conzerve EM6400
a) Default Baud Rate: Check Baud rate, parity, start/stop bit etc.
b) Address to Read: Address given in the ‘user manuals’ are “One More” than the proper address required, Modscan Software uses “One Less” address to communicate e.g. for Average Current use address 3912(0F48 Hex) instead of 3913(0F49 Hex)(as given in the user manual)
[Use function code for READ as 03]
c) Floating Point Format: 32-bit Float (Real), Little endian is used in EM6400
System Settings
Omron CP1W-CIF-11 Card DIP Switch Settings
S/W Setting
1 ON - use terminating resistor
2 ON - 2-Wire Connection
3 ON - 2-Wire Connection
4 OFF - Always OFF
5 OFF - RS Control Disabled for RD (data always received)
6 ON - RS Control Enabled for SD
Software Settings can be easily done using wizard or manual helps
Monday, April 1, 2013
Tuesday, September 18, 2012
Comlite32
Serial Port Sniffer
a very good link for free software for serial port sniffing on Win-XP
http://www.serial-port-monitor.com/free-serial-port-monitor-downloads.html
thanks for developers
Sunday, December 20, 2009
Man can only make efforts
Man can not do any thing
Nothing in the hands of man
Everything is done by someone else. This some one u may call Him God, Time, Nature, Supreme Power etc.
Suppose the rectangle above to be the Universe
The circle represents the Solar System
Now try to find the earth in this solar system
Now find the Continent in which your country is on this earth
Now find the Country, then state, then lane/colony in which u live
Now find the building in which u r right now
And then the room in which u r
Now, think of your largeness in this world
This is your - “I” ( “मैं” )
Love of GOD
FROM: TOI Sacred Space
Maths Metaphysics
What equals 100% ?
What does it mean to give more tahn 100% ?
Ever wonder about those people who say they are giving more than100 % ?
We have all been in situations where someone wants you to GLIVE OVER 100 %.
How about ACHIEVING 101 % ?
What equals 100 % in life ?
Here's a little mathematical formula that might help answer these quastions:
IF
a b c d e f g h i j k l m n o p q r s t u v w x y z are represented as :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
IF
H-A-R-D-W-O-R-K = 8+1+18+4+23+15+18+11 = 98 %
K-N-O-W-L-E-D-G-E = 11+14+15+23+12+5+4+7+5 = 96 %
BUT
A-T-T-I-T-U-D-E = 1+20+20+9+20+21+4+5 = 100 %
THEN look how far the Love of God will take you:
L-O-V-E-O-F-G-O-D = 12+15+22+5+15+6+7+15+4 = 101 %
Therefore one can conclude with mathematical certainty that:
While Hard Work and Knowledge will get you close, and Attitude will get you there, it's the Love of God that will put you over the top!
Maths Metaphysics
What equals 100% ?
What does it mean to give more tahn 100% ?
Ever wonder about those people who say they are giving more than100 % ?
We have all been in situations where someone wants you to GLIVE OVER 100 %.
How about ACHIEVING 101 % ?
What equals 100 % in life ?
Here's a little mathematical formula that might help answer these quastions:
IF
a b c d e f g h i j k l m n o p q r s t u v w x y z are represented as :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
IF
H-A-R-D-W-O-R-K = 8+1+18+4+23+15+18+11 = 98 %
K-N-O-W-L-E-D-G-E = 11+14+15+23+12+5+4+7+5 = 96 %
BUT
A-T-T-I-T-U-D-E = 1+20+20+9+20+21+4+5 = 100 %
THEN look how far the Love of God will take you:
L-O-V-E-O-F-G-O-D = 12+15+22+5+15+6+7+15+4 = 101 %
Therefore one can conclude with mathematical certainty that:
While Hard Work and Knowledge will get you close, and Attitude will get you there, it's the Love of God that will put you over the top!
Linear Control System; some useful points
Simple Poles and Simple Zeros (not much important for C.S. Paper)
Poles or zeros are said to be simple if they are not repeated. Means in the term s(s+a)/s(s+b) …… there is no term with power greater than 1: like s(s+a)2/(s+b) this term has multiple zeros at s = a;
Type and Order of the system (V. Very IMPORTANT)
Type of the system is defined for the Open Loop Transfer Function (G(s) H(s)):
Type or number of the system is the no. of integrators in the system.
It is equal to the no. of poles at the origin.
Means power of s in the denominator.
Type 0 system: G(s)H(s) = K(s+T1)(s+T2)………. / (s+Ta)(s+Tb)……..
Type 1 system: G(s)H(s) = K(s+T1)(s+T2)………. / s(s+Ta)(s+Tb)……..
Type 2 system: G(s)H(s) = K(s+T1)(s+T2)………. / s2(s+Ta)(s+Tb)……..
Error constants depends upon type of the system and the input signals.
# Power of s in the numerator indicates the no. of differentiators in system.
Order of the system is obtained by degree of the characteristic equation. Means power of s in the denominator of the close loop transfer function (1 + G(s) H(s))
Please check this definition not sure. Refer R.S. Chauhan 1st or 2nd chapter
EveryThing is available in the books
For some doubts or errors refer and prefer Books
Same thing is available in the attachment.
1) very important topic is Nyquist plot and also easy one
first study POLAR PLOT
Nyquist plot is just = Polar Plot + It’s Image about real(x) axis
- image ki direction reverse leni hai
- direction w = 0 se w = infinity ki taraf hoogi
w means omega
Nyquist criteria is a very simple one
Just first Practice various polar plots for different addition of poles and zeros and their effects.
2) when u start studying c.s. do have a print out of following major points with u
that will help u to understand
and then solve problems in Q.Paper
Major Points
1) for a close loop system
forward transfer function is G(S)
feedback transfer function is H(s)
Then
close loop transfer function is G(s)/(1+G(s)H(s))
open loop transfer function is G(s)H(s)
now:
characteristic eqn. is: 1 + G(s)H(s) = 0 ;
and the roots of characteristic eqn.
(means the values of s for which c.eqn. becomes = 0 and hence
close loop (or overall) t.f. becomes infinite) are the poles of
close loop transfer function
(*Remember that c.eqn. is for close loop transfer fuction)
s is a complex no. = sigma + j omega ;
hence G(s)H(s) = G(jw)H(jw) = LG(jw)H(jw) |G(jw)H(jw)|
here L means angle's symbol
Root locus, Bode plot, and Nyquist plot are all drawn on the basis of
open loop transfer function G(s)H(s)
But give the solutions for poles of close loop transfer function G(s)/(1+G(s)H(s))
and the roots of c.equation.
Because sometimes it become very difficult to find the roots of c.eqn. directly by solving it
moreover it contains the term K which might be present in numerator of G(s) in addition term
K is usually the Gain term and we want to analyse the system for various values of Gain 'K'
Also the value of 'K' decides the stability and accuracy of the system
so these plots are more useful to analyse the system as compared to solve the c.eqn. for different values of 'K'
One Major Point
c.eqn. is: 1 + G(s)H(s) = 0 => G(s)H(s) = -1 is the locus of poles of t.f. or the roots of c.eqn. or the root locus
This condition is satisfied when
|G(s)H(s)| = 1 and
LG(s)H(s) = 180 degree
using this u can find that whether a point lies on root locus or not
Poles or zeros are said to be simple if they are not repeated. Means in the term s(s+a)/s(s+b) …… there is no term with power greater than 1: like s(s+a)2/(s+b) this term has multiple zeros at s = a;
Type and Order of the system (V. Very IMPORTANT)
Type of the system is defined for the Open Loop Transfer Function (G(s) H(s)):
Type or number of the system is the no. of integrators in the system.
It is equal to the no. of poles at the origin.
Means power of s in the denominator.
Type 0 system: G(s)H(s) = K(s+T1)(s+T2)………. / (s+Ta)(s+Tb)……..
Type 1 system: G(s)H(s) = K(s+T1)(s+T2)………. / s(s+Ta)(s+Tb)……..
Type 2 system: G(s)H(s) = K(s+T1)(s+T2)………. / s2(s+Ta)(s+Tb)……..
Error constants depends upon type of the system and the input signals.
# Power of s in the numerator indicates the no. of differentiators in system.
Order of the system is obtained by degree of the characteristic equation. Means power of s in the denominator of the close loop transfer function (1 + G(s) H(s))
Please check this definition not sure. Refer R.S. Chauhan 1st or 2nd chapter
EveryThing is available in the books
For some doubts or errors refer and prefer Books
Same thing is available in the attachment.
1) very important topic is Nyquist plot and also easy one
first study POLAR PLOT
Nyquist plot is just = Polar Plot + It’s Image about real(x) axis
- image ki direction reverse leni hai
- direction w = 0 se w = infinity ki taraf hoogi
w means omega
Nyquist criteria is a very simple one
Just first Practice various polar plots for different addition of poles and zeros and their effects.
2) when u start studying c.s. do have a print out of following major points with u
that will help u to understand
and then solve problems in Q.Paper
Major Points
1) for a close loop system
forward transfer function is G(S)
feedback transfer function is H(s)
Then
close loop transfer function is G(s)/(1+G(s)H(s))
open loop transfer function is G(s)H(s)
now:
characteristic eqn. is: 1 + G(s)H(s) = 0 ;
and the roots of characteristic eqn.
(means the values of s for which c.eqn. becomes = 0 and hence
close loop (or overall) t.f. becomes infinite) are the poles of
close loop transfer function
(*Remember that c.eqn. is for close loop transfer fuction)
s is a complex no. = sigma + j omega ;
hence G(s)H(s) = G(jw)H(jw) = LG(jw)H(jw) |G(jw)H(jw)|
here L means angle's symbol
Root locus, Bode plot, and Nyquist plot are all drawn on the basis of
open loop transfer function G(s)H(s)
But give the solutions for poles of close loop transfer function G(s)/(1+G(s)H(s))
and the roots of c.equation.
Because sometimes it become very difficult to find the roots of c.eqn. directly by solving it
moreover it contains the term K which might be present in numerator of G(s) in addition term
K is usually the Gain term and we want to analyse the system for various values of Gain 'K'
Also the value of 'K' decides the stability and accuracy of the system
so these plots are more useful to analyse the system as compared to solve the c.eqn. for different values of 'K'
One Major Point
c.eqn. is: 1 + G(s)H(s) = 0 => G(s)H(s) = -1 is the locus of poles of t.f. or the roots of c.eqn. or the root locus
This condition is satisfied when
|G(s)H(s)| = 1 and
LG(s)H(s) = 180 degree
using this u can find that whether a point lies on root locus or not
some IAS Exams Ques
IAS Exams Ques : Taken from the internet
Q.How can you drop a raw egg onto a concrete floor without cracking it?
A.Concrete floors are very hard to crack! (UPSC Topper)
Q.If it took eight men ten hours to build a wall,how long would it take four men to build it?
A. No time at all it is already built. (UPSC 23 Rank Opted for IFS)
Q.If you had three apples and four oranges in one hand and four apples and three oranges in the other hand, what would you have?
A. Very large hands.(Good one) (UPSC 11 Rank Opted for IPS)
Q. How can you lift an elephant with one hand?
A. It is not a problem, since you will never find an elephant with one hand. (UPSC Rank 14 Opted for IES)
Q. How can a man go eight days without sleep?
A. No Probs , He sleeps at night. (UPSC IAS Rank 98)
Q. If you throw a red stone into the blue sea what it will become?
A. It will Wet or Sink as simple as that. (UPSC IAS Rank 2)
Q. What looks like half apple ?
A : The other half. (UPSC - IAS Topper )
Q. What can you never eat for breakfast ?
A : Dinner.
Q. What happened when wheel was invented ?
A : It caused a revolution.
Q. Bay of Bengal is in which state?
A : Liquid (UPSC 33Rank )
Q.How can you drop a raw egg onto a concrete floor without cracking it?
A.Concrete floors are very hard to crack! (UPSC Topper)
Q.If it took eight men ten hours to build a wall,how long would it take four men to build it?
A. No time at all it is already built. (UPSC 23 Rank Opted for IFS)
Q.If you had three apples and four oranges in one hand and four apples and three oranges in the other hand, what would you have?
A. Very large hands.(Good one) (UPSC 11 Rank Opted for IPS)
Q. How can you lift an elephant with one hand?
A. It is not a problem, since you will never find an elephant with one hand. (UPSC Rank 14 Opted for IES)
Q. How can a man go eight days without sleep?
A. No Probs , He sleeps at night. (UPSC IAS Rank 98)
Q. If you throw a red stone into the blue sea what it will become?
A. It will Wet or Sink as simple as that. (UPSC IAS Rank 2)
Q. What looks like half apple ?
A : The other half. (UPSC - IAS Topper )
Q. What can you never eat for breakfast ?
A : Dinner.
Q. What happened when wheel was invented ?
A : It caused a revolution.
Q. Bay of Bengal is in which state?
A : Liquid (UPSC 33Rank )
for some su
Dedicated to Su
अंग्रेज चले गए, अंग्रेजी छोड गए
गांधी चले गए, गांधीगिरी छोड गए
ऐश्वर्या चली जाएगी, अपनी खूबसूरत आँखें छोड जाएगी
अंग्रेजी - बडे काम की चीज
गांधीगिरी - बडे काम की चीज
आँखें - बडे काम की चीज
Even, Google and its services
बडे काम की चीज
So why should I not leave something when going from this world?
I’ll leave this ‘blog’
अंग्रेज चले गए, अंग्रेजी छोड गए
गांधी चले गए, गांधीगिरी छोड गए
ऐश्वर्या चली जाएगी, अपनी खूबसूरत आँखें छोड जाएगी
अंग्रेजी - बडे काम की चीज
गांधीगिरी - बडे काम की चीज
आँखें - बडे काम की चीज
Even, Google and its services
बडे काम की चीज
So why should I not leave something when going from this world?
I’ll leave this ‘blog’
Subscribe to:
Posts (Atom)