Seriellcom. with Step7

CalleLundin

Member
Join Date
Apr 2010
Location
Sweden
Posts
23
Hey. I vounder, i need to put up an RS232 com, the machine have an integrated ET200S profibus DP nod.

In the nod is a

6ES7138-4DF00-0AB0
1 SI serial module RS 232 3964R

I need to talk through this to send a 10 byte code.
To do this communication i use FB2 & 3. S_RCV & S_SEND.

To the FB i point the adress 256, that is the start adress in my HWconfig. Is this the correct way to make the communication?

Do anybody know if there is any sampelprograms, guides etc. how to set up this card? Or maybe if there is a possibility to test this communication with the simulator?

Best Regards
Calle
 
There should be sample programs here:
http://support.automation.siemens.com/WW/view/en/25358470

Dont have experience with it myself, but if you have to specify a hardware address to a standard function block, then in Siemens it is typically by the hexadecimal value.
So your address 256(dec) is 100(hex). The parameter should be W#16#100

Dont think using PLCSIM can return any insight. Only a real module hooked up to something can do that.
 

Similar Topics

is there any free trial version available for step7 professional and wincc comfort v17. i searched and downloaded TRIAL Download STEP 7...
Replies
1
Views
65
Hello. I need your help. I work at STEP7. There are two CPU 317-2 PN/DP controllers (317-2EK14-0AB0), working on PROFIBUS, as Master (CPU_1) and...
Replies
6
Views
175
This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
3
Views
180
When you download a DB, the values get overwritten by what is in the "actual" column in offline DB. Does this happen at the start of the PLC...
Replies
6
Views
160
Hello Inside a FB, I´m trying to transfer a string from a DB to a IN_OUT var that was define as a UDT. The problem is that i can´t determine the...
Replies
4
Views
162
Back
Top Bottom