quantum and cp343-1 modbus tcp ip

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
dustin
Posts: 63
Joined: Thu Feb 04, 2010 10:49 am

quantum and cp343-1 modbus tcp ip

Post by dustin »

hello,

how to establish communication between quantum HSBY and a cp343-1 with modbus tcp ip protocol?

thanks.
twplc1
Posts: 1
Joined: Mon Mar 04, 2013 10:05 am

Re: quantum and cp343-1 modbus tcp ip

Post by twplc1 »

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.