Schneider Unity Pro DDT

travispedley

Member
Join Date
May 2012
Location
NC
Posts
191
Ok, M3040 with NOC0401
Fanuc Ethernet/IP Slave (20Bytes In/Out)
DDT created and defined by DTM as Array of BYTE(0..19)
I created my own DDT that breaks down the 20 bytes of data into data types that are useable by me (CycleStart, FaultReset, etc.) My DDT is 20 bytes long using a mixture of BOOL and BYTES.

How in the world do I do what I've been doing in AB for years?

just copy the 20 bytes of input data from the fanuc to my DDT?
In 1 instruction. i realize i could hardcode all 96 of my I/O but damn, I really don't want to.
 
Looks like it should work, thanks for the help!!
FYI, I called Schneider before i posted this question, they told me I just had to map everything by hand or use BYTE_TO_BIT. I should have known better and just came here first.
 
this is quick example of array converting without need of located memory areas, should work also for bytes.
It is maybe possible on DDT side that you configure different data types beforehand
 
Last edited:

Similar Topics

Hi, I've exported a PL7 application to the .FEF file succesfully. Imported the .FEF file in my Unity Pro project, but two of the five sections in...
Replies
0
Views
752
I want transfer my I/O data from schneider (Unity Pro) as a write data and RS Logix 5000 as a read data. I use Ethernet as an communication...
Replies
0
Views
682
Is there a tool to convert a ControlExpert project (.sta, .ztx or .zef in v14.1 or v15) to be opened using Unity Pro (v11 or V10) ? Thanks,
Replies
6
Views
2,154
Hi all, I'm sure this is a stupidly simple question, but I'm really struggling to find any EFB or similar to do this. I want to map a block of...
Replies
10
Views
3,330
Hi All, Can anyone explain to me: 1) What are 'PLC initialisation values", 2) What are 'Local initialisation values', and 3) Why I am getting a...
Replies
5
Views
7,615
Back
Top Bottom