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

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
439
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
205
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,515
Hello, i can find the CPU when searching for it. But when I go Online i just get the icon for "Not compatible" everywhere. I get no additional...
Replies
4
Views
1,165
Hi, I want to initialise some tags on first scan only. As they are related to wall-clock time, I want to do the initialisation when the PLC first...
Replies
4
Views
1,169
Back
Top Bottom