Siemens Portal copy inputs from profinet device to structure in FB

JDCROCKETT724

Member
Join Date
Jun 2010
Location
Michigan
Posts
249
I am tying to find a way to copy 10 words from my input area into a structure I have mapped out for my device. What is the best/simplest way to accomplish this in Portal?
 
In a 1500 (never tried for a 300) but you can create a UDT for your data and apply that UDT to an IO range. Then if you have the same UDT in a DB you could just use a single BLK-MOV command.

Is that kind of what you are looking to do?
 
In a 1500 (never tried for a 300) but you can create a UDT for your data and apply that UDT to an IO range. Then if you have the same UDT in a DB you could just use a single BLK-MOV command.


This is also true for the 300/400.
Also, besides the UDT it also works with a STRUCT in the same way.
 
I don't have my pc infront of me right now but i believe you create your UDT (PLC data type in portal) then go into the tag table, enter the address to the bit level, then enter the udt name in the data type field.
 
I don't have my pc infront of me right now but i believe you create your UDT (PLC data type in portal) then go into the tag table, enter the address to the bit level, then enter the udt name in the data type field.

You enter the address for the first bit, and assign it to the UDT, as JOLTRON says. It then creates the rest of the structure for you. Super easy, especially for drive telegrams.

Note that this only works for I&Q tags, not M. No idea if there is a real reason, or if they just don't wanna take away from how special DBs are.
 

Similar Topics

Hi PLC people, think about this scenario: The PLC is somehow connected to the same network with the facilities` network. Then someone connects to...
Replies
2
Views
86
Hello, good morning, I have been having two problems with the Tia Portal software. The first is that I have installed it on my computer and...
Replies
5
Views
187
I am currently am in a PLC class and need urgent help on how the ladder logic would be laid out. I understand how to get the traffic lights to...
Replies
19
Views
483
Hello, If the date on the license manager of tia Portal has expired, can I still work with it? or is this just to keep the program up to date...
Replies
7
Views
242
Hi everyone I've created an FC that includes the blocks TCON, TDISCON, TSEND and TRCV. This block has to be as generic as possible across...
Replies
15
Views
1,561
Back
Top Bottom