hello,
how to establish communication between quantum HSBY and a cp343-1 with modbus tcp ip protocol?
thanks.
quantum and cp343-1 modbus tcp ip
-
- Posts: 1
- Joined: Mon Mar 04, 2013 10:05 am
Re: quantum and cp343-1 modbus tcp ip
For a communication between a CP343-1 and an another Schneider device with modbus tcp ip protocol, i used this basis program example :
http://support.automation.siemens.com/W ... aller=view
This example is free for download.
But you have normally too buy a license (or to write this little code before calling the block FB108 !!)
L '1'
T #VAL
CALL SFC 21
BVAL :=#VAL
RET_VAL:=#RETVAL
BLK :=P#DB3.DBX2.0 BYTE 17
L DB108.DBW 1086
L W#16#4
OW
T DB108.DBW 1086
SET
= DB108.DBX 94.0
In my application, the CP343-1 is client, and the other device server.
The communication is working without any problem.
http://support.automation.siemens.com/W ... aller=view
This example is free for download.
But you have normally too buy a license (or to write this little code before calling the block FB108 !!)
L '1'
T #VAL
CALL SFC 21
BVAL :=#VAL
RET_VAL:=#RETVAL
BLK :=P#DB3.DBX2.0 BYTE 17
L DB108.DBW 1086
L W#16#4
OW
T DB108.DBW 1086
SET
= DB108.DBX 94.0
In my application, the CP343-1 is client, and the other device server.
The communication is working without any problem.