Adding a graphic block to PLC using PLC Database File Editor

Adding a graphic block to PLC using PLC Database File Editor

gszakacs
Participant Participant
989 Views
10 Replies
Message 1 of 11

Adding a graphic block to PLC using PLC Database File Editor

gszakacs
Participant
Participant

I have some graphics I'd like to insert when I insert a PLC component, and I found that I can do it using the PLC Database File Editor under Module Specifications --> AutoCAD Block to insert.  However I don't see a way to set the graphics position relative to the PLC module symbol.  Here's a screenshot showing what I get when inserting a module:

Block insertion on PLC module creation.png

I'd like to move the graphics inside the PLC symbol, but regardless of the graphic's position within the .dwg file (it was 0,0 when I tried this time, but it doesn't seem to matter) the position of the actual graphics are always off to the left of the block.  Is there some way to control this, or do I have to move the graphic block after inserting the symbol each time?

 

Thanks & Regards,

Gabor

0 Likes
990 Views
10 Replies
Replies (10)
Message 2 of 11

alds02
Collaborator
Collaborator

Could you please add a screenshot of what you did in the PLC Database File Editor?

0 Likes
Message 3 of 11

gszakacs
Participant
Participant

What I did was to browse to a .dwg file containing the graphics to insert:

AutoCAD Block to insert.png

And here is the contents of that .dwg file:

EL2084.dwg contents.png

0 Likes
Message 4 of 11

rhesusminus
Mentor
Mentor
What is the BASE variable for that dwg? 0,0,0 ?

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes
Message 5 of 11

alds02
Collaborator
Collaborator

I don't have experience with adding a block in Module Specifications.

 

Did you try making it a terminal type instead and adding it that way? Just an idea, I don't have time to try it.

0 Likes
Message 6 of 11

gszakacs
Participant
Participant

I didn't set a BASE variable.  How would I check this?  Would it default to 0, 0, 0?

0 Likes
Message 7 of 11

jseefdrumr
Mentor
Mentor

Open the file that contains your graphics. Enter BASE at the command line. What does it say?



Jim Seefeldt
Electrical Engineering Technician


0 Likes
Message 8 of 11

gszakacs
Participant
Participant

it says:

BASE Enter base point <0.0000,0.0000,0.0000>:

 

0 Likes
Message 9 of 11

gszakacs
Participant
Participant

Anyway I tried changing the base point and it makes no difference in the position of the graphics on insertion of the PLC module.  So to recap, the graphics in the .dwg file end up to the left of the PLC module regardless of the X,Y position of the graphics within the .dwg file or the BASE point of the .dwg file.

0 Likes
Message 10 of 11

gszakacs
Participant
Participant

Well, I have solved the issue, but I'm not altogether sure why.  The problem seems to be with the drawing I was pulling the block from.  I had made it starting from a new drawing with no template.  Later I tried using a drawing saved when I used "Save Circuit to Icon Menu" and that one allowed me to place the graphics as desired (by adjusting the BASE).  Thanks for all the suggestions.

 

Gabor

0 Likes
Message 11 of 11

rhesusminus
Mentor
Mentor

So it isn't something with a custom UCS? It sure sounds strange., It's supposed to be inserted below the last I/O point.


Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes