Cp341 Modbus Slave Manual

In a multi-point type connection (MODBUS ASCII/RTU), slave address (called also logical number) allows to identify each counter during the communication. Each communication module is preset with a default slave address (01) and the user can change it. In case of MODBUS TCP, slave address is replaced by a single byte, the Unit identifier.

September 8th, 2009, 01:25 PM
I have looked through the other posts searching for “modbus S7”.
The following variants of the CP 341 communication processor are available:
CP 341-RS 232C 6ES7341-1AH02-0AE0 RS 232C interface
CP 341-20mA-TTY 6ES7341-1BH02-0AE0 20mA-TTY interface
CP 341-RS 422/485 6ES7341-1CH02-0AE0 X27 (RS 422/485) interface
I am using the following items:
1) CP 341-RS 232C 6ES7341-1AH02-0AE0 (slave mode, no dongle)
2) 313C S7 PLC
3) Dell laptop with WinCC and S7
4) Straight through 9 conductor DB9 serial cable with null modem.
I am using the example given in the new examples loaded with the software CD that comes with the com module.
C:Program FilesSiemensStep7EXAMPLESzXX21_01_PtP_Com_CP3x
I copied these blocks and source code and edited the hardware config to match my PLC and set the com port on the PC to match the com module on the PLC.
9600 8,n,1,even (the parameter setup in the PLC module is all in German for some reason while everything else is in English.)
I found this PDF instruction to be amazing. So clear and well documented.
CP 341 - First Steps in Commissioning
Getting Started, 09/2008, A5E02291899-01 5
At the end of this beautiful setup instruction, I should have some communication.
But I do not.
I loaded the example. I feel I understand the example (even though it could be simplified)
But no go.
What is so bad about this is, I have no idea what question to ask.
Can I use WinCC and my Laptop PC as a simple modbus master? I was thinking of using a simple HMI screen with runtime WinCC to test some data display from the PLC instead of using “terminal”.
I found the pin out in the documentation. It seems like a null modem should work here.
I deleted everything and started over several times.
I must be missing something.
Is it common practice in STL to move parameters into a FC through a DB as in the example? Looks like it would be easier to just put the variable after the equal sign directly.
Original example code:
L 256 //LADDR
T 'SEND WORK DB'.P_SND_RK_WORK_LADDR
L 42 //DB_NO
T 'SEND WORK DB'.P_SND_RK_WORK_DB_NO
T 'SEND SRC DB'.P_SND_RK_DB_NO
L 0 //DBB_NO
T 'SEND WORK DB'.P_SND_RK_WORK_DBB_NO
T 'SEND SRC DB'.P_SND_RK_DBB_NO
L 115
T 'SEND WORK DB'.P_SND_RK_WORK_LEN //LEN
T 'SEND SRC DB'.P_SND_RK_LEN //LEN
CALL 'RECV'
// ------------------------
// SEND with Instance-DB
// ------------------------
CALL 'P_SND_RK' , 'SEND IDB'
SF :='S'
REQ :='SEND WORK DB'.P_SND_RK_REQ
R :='SEND WORK DB'.P_SND_RK_R
LADDR :='SEND WORK DB'.P_SND_RK_WORK_LADDR
DB_NO :='SEND WORK DB'.P_SND_RK_WORK_DB_NO
DBB_NO :='SEND WORK DB'.P_SND_RK_WORK_DBB_NO
LEN :='SEND WORK DB'.P_SND_RK_WORK_LEN
R_CPU_NO:=
R_TYP :=
R_NO :=
R_OFFSET:=
R_CF_BYT:=
R_CF_BIT:=
DONE :='SEND WORK DB'.P_SND_RK_DONE
ERROR :='SEND WORK DB'.P_SND_RK_ERROR
STATUS :='SEND WORK DB'.P_SND_RK_WORK_STATUS

The file is just a few K too big to upload here as an attachment. I hadn’t heard of realterm so thanks for the reference, but this post isn’t really helpful. It’s free, and you can customize the content you view, as well as being able to subscribe to threads and topics, getting new posts delivered to your email as they appear. Hygienic Design enclosure Hygienic Design accessories. I just wanted to explore all directions and try to figure out what the question is before I call them. Motor Protection Circuit Breakers. The master works just fine, it read and writes like it should, however the slave allows for read but NOT for write.

Amicus attorney support. 4 Do I need to adjust my Billing Rate Labels in Amicus Attorney before initializing the Integration? 25 5 Will all my Client Matter Files be exchanged between Amicus Small Firm Accounting and Amicus Attorney? 25 6 What triggers an update of Client Contact information from Amicus Attorney? 25 7 Why can’t I access the Amicus Small Firm.

Uploader:Voodoogami
Date Added:13 October 2005
File Size:31.96 Mb
Operating Systems:Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads:76575
Price:Free* [*Free Regsitration Required]

Routers for Remote Access. We are all new at something I guess. Ethernet Extender Routers for Remote Access. Dlave 27th, Mmodbus and Control Devices. Twitter Reddit Digg del. I have noticed you mentioned you are running the CP as a slave. The time now is If you have bought and installed all packages as per the instruction manuals and programming examples from Siemens, you should have at least functionning LEDs on the master and slave modules, or diagnostic LEDs available for troubleshooting.

As long as mldbus sell your PLC programs, the license grants you to include an unlimited number of copies of the driver. If your CP includes these values as part of your RS communication setup, that is specific to them; I’d guess some kind of signal voltage high-low maybe.

Attachment Modbus Slave Program. We normally spave within 24 hours from payment. SF Range Surion Range. Please read this important info!!! Hello Jens, the dongle is only necessary to run the Modbus driver on the CP.

The address of the memory for modbus is a bit cloudy at this point. Please go through in details with below all important document first of all.

Modbus General Description

Data transmission is carried out in accordance with the Master-Slave principle. I’m calling the Siemens people tomorrow. Get rid of license cost you must pay at each installation. So I can’t help with WinCC issues.

CP Modbus slave WRITE – – Interactive Q & A

Still dp341 design flaw remains in the Siemens software that limits both reads and writes to the limits of the used db. Originally Posted by ByteSlicer.

Hello, you can download ptp parameter configuration software from here. You are not modbue yet. April 20th, You were right, I hadn’t installed the required software properly.

Originally Posted by mpiotro this may be too blatantly obvious to ask, but did you try to flip the 2 communication wires to your controller? Hope this will help to understand Modbus Slave Concept eailsly ans save to those who are Configuring Modbus Slave for the first time. Originally Posted by mpiotro.

Even without dongle it is possible to setup a project and assign the parameters. September 21st, Hope this helps, Daniel Chartier.

If you are a C4D you can sometimes prefer to model inside 3DsMax for specific tools, or because you have models already done there, or because you have purchased some models in the past in.max format (arch models etc) and you want them inside a current C4D project in a fast way, etc. Max to c4d serials.

Modbus

I have 3 or 4 different modbus master emulators now from the posts I have read here.

Related Drivers