Delta PLC and HMI communication using RS485 Network.
Configure the PLC Communication:-
In this example I am using a Delta DVP-14SS2 PLC and will need to set up communications in order to communicate with Text Panel HMI We do this on first scan by using the special relay M1002 and set up the communications protocol in D1120. In this example we are
using (7, E, 1, 9600), which equates to H86.
In this example I am using a Delta DVP-14SS2 PLC and will need to set up communications in order to communicate with Text Panel HMI We do this on first scan by using the special relay M1002 and set up the communications protocol in D1120. In this example we are
using (7, E, 1, 9600), which equates to H86.
Using the tables below work out what value you need set for D1120. You can double click on the table above and update the binary values to show what the values are to set.
BINARY
|
BINARY TO DECIMAL
|
DECIMAL TO HEX
|
|||||||
B7
|
B6
|
B5
|
B4
|
B3
|
B2
|
B1
|
B0
|
K134
|
H86
|
1
|
0
|
0
|
0
|
0
|
1
|
1
|
1
|
Using the tables below work out what value you need set for D1120. You can double click on the table above and update the binary values to show what the values are to set.
B7
|
B6
|
B5
|
B4
|
Baud
|
B0
|
DATA LENGTH
|
||
0
|
0
|
0
|
1
|
110
|
0
|
7
|
||
0
|
0
|
1
|
1
|
300
|
1
|
8
|
||
0
|
1
|
0
|
0
|
600
|
||||
0
|
1
|
0
|
1
|
1200
|
B2
|
B1
|
Parity
|
|
0
|
1
|
1
|
0
|
2400
|
0
|
0
|
None
|
|
0
|
1
|
1
|
1
|
4800
|
0
|
1
|
Odd
|
|
1
|
0
|
0
|
0
|
9600
|
1
|
1
|
Even
|
|
1
|
0
|
0
|
1
|
19200
|
||||
1
|
0
|
1
|
0
|
38400
|
B3
|
Stop Bits
|
||
1
|
0
|
1
|
1
|
57600
|
0
|
1 Bit
|
||
1
|
1
|
0
|
0
|
115200
|
1
|
2 Bits
|
Once we have set our communication protocol we need to retain it and we do this by setting M1120. We now need to tell the PLC to use ASCII Mode and we do this by resetting M1143.
Link for Sample Programme: Sample Programme for Delta PLC DVPSS2 & Text Panel TP02
I Hope this will help you
Please comment your query & questions. i will try to answer it...
No comments:
Post a Comment