mitsubishi ,gxwork2 time handling

alvis

Member
Join Date
Feb 2014
Location
singapore
Posts
11
hi all, good day to you...

im new with plc program,
and im facing some problem...

im using gx-work 2 (simple project type) , Q00cpu

1st- how should i create a ladder for time , date (according to real time) ?
- switching on every 8am - 11pm? switching off every 11.00pm -8am?

2nd-i have a input module (aj65sbt-64ad) on station 3, connect to 2 diffrent pressure transmitter.(4-20mA)
i want to get the averange of the pressure and control the (VSD).

Any advice on functions to use would be greatly appreciated 🤞🏻🤞🏻

Thanks

Alvis
 
Hi Alvis,

You can read the time in the systemregisters SD210, SD211 and SD212 and the SD213

SD210 = Year and month
SD211 = hour and day of month
SD212 = minute and sec
SD213 = Year (higer digits) and day og week

The data is read in BCD in hex.
Ex. SD210 = H1403 = Year xx14 and march month
lowbyte = month
highbyte = year
Use SD213 gives you the higher digits of year ex. 20xx

For your application you need to read the SD211 and make a compare in your logic.

For your second question.
The module seems to be a CC-Link slavenode.
If you have used the settings in "Parameter" -> "Network Parameter" -> "CC-Link" the you read the actual (raw) walue in the dataregister typed in.
Find the area of dataregister for slave 3 and make a calc to output to your VDF'S
btw, are they connected on the CC-Link og hardwire with an analouge output?

Maybe you shoul list up your configuration of the PLC.

Best regards
Dariusch
 
hello Dariusch,
thanks so much for replying me=)

they connect via cc-link,
64ad is at station-3
vfd at station-5.

isit every station occupied 4 dataregister?
if my I/O assignment start from
X100 , Y100
(Rwr)-D100 , (Rww)-D200

which means station-3 is (Rwr)d108 /Rww(d208)

ld x21b , ld x200 , mov d108 d300 ? ( pressure of transmitter chn-1?)
ld x201 , mov d109 d301 ? ( pressure of transmitter chn-2?)

sm400 , + d300 d301 d302
sm400 , / d302 k2 d303

ldi x19d , mov d303 d216 ? ( x19d =VSD Frequency setting command )
set y19d

then the frequency will follow the d303?
or i need to convert the d303 to frequency?

but u did mention that ( make a calc to output to your VDF'S)
how i suppose the write into there?

im very confuse.

thx for helping me , guys. 🤞🏻🤞🏻

Example of  64ad.jpg Example running frequency.jpg cc-link.jpg
 
Last edited:
Hi Alvis,

I need you to make a screendump like my, so I can se your configuration of the CC-Link.
Each CC-Link device can consists of 1 to 4 stations, depending of the device.
Each station has 32 bits r/w and 4 words r/w. So 32 input, 32 output bits e.g. M0 to M31 (Read), M100 to M131 (Write) and 4 indput words and 4 output words e.g. D0-D3 (read) and D100-D103 (Write).

The 64ad shoul be configuratet as a "Remote I/O Station" and consists of 32points.

The VFD shoul be configuratet as a "Remote Device Station" and consists of 32points (32 I/O bits and 4 I/O words).
What kind of VFD do you have? I have a FB for the Mitsu's with the "FR-A7NC" option card.

/Dariusch

Alvis1.jpg
 
ld x21b , ld x200 , mov d108 d300 ? ( pressure of transmitter chn-1?)
ld x201 , mov d109 d301 ? ( pressure of transmitter chn-2?)

sm400 , + d300 d301 d302
sm400 , / d302 k2 d303

ldi x19d , mov d303 d216 ? ( x19d =VSD Frequency setting command )
set y19d

according to this ladder,
(64-ad) channel 1 + channel 2 then divide by 2 = averange
vsd only will run averange speed....

if when pressure dropping down....
i would like to ramp up the vsd speed... how i suppose to do it?
 
Last edited:
Hi Alvis,

First here is a link for the FB to the FR-A7NC module.
I have not used this in a GX-Works, only in IEC, but should be the same.
http://www.beijer.dk/web/web_dk_be_dk.nsf/docsbycodename/filearchive?OpenDocument&mylink=/web/BexFilePileAUT.nsf/fm.be.searchframe?Openform&Lang=DK&DocID=CEF8F746FCAAC290C12579B200411E97

The I/O configuration of your system should be like this
Station 1 = X100-X11F, Y100-Y11F, D100-D103, D200-D203
Station 2 = X120-X13F, Y120-Y13F, D104-D107, D204-D207
Station 3 = X140-X15F, Y140-Y15F, D108-D111, D208-D211
Station 4 = X160-X17F, Y160-Y17F, D112-D115, D212-D215
Station 5 = X180-X19F, Y180-Y19F, D116-D119, D216-D219

/Dariusch

Alvis_3.PNG
 
I guessing that you want to keep a konstant pressure?
If so, just use a simple PID, also there are FB for that to, and use the D303 as the PV-value, the output will be D216 (VFD). You now only need the SP-value??

/Dariusch
 
I guessing that you want to keep a konstant pressure?
If so, just use a simple PID, also there are FB for that to, and use the D303 as the PV-value, the output will be D216 (VFD). You now only need the SP-value??

/Dariusch

Sry Dariusch for my late late Reply...

Does your SP-Value meaning Single Pluse value?

Im using this as Stair Case Fan...
When somebody open stair case Door...The Pressure inside will drop down..
So the VFD need to Ramp Up , put more pressure into stair case.....

After I testing On Site.....I Can get the figure of 64ad..
but when i send it to VFD.....it remain on 30hz..
I dono why VFD dont have any respond.
Isit i need to write the Operation Mode CODE?

Operation mode.jpg
 
Last edited:

Similar Topics

I am using Mitsubishi GXWorks 2 with a FX3U I must make additions to a program that is not documented very well. Is there a way to tell which...
Replies
6
Views
1,968
I'm looking to get some spare keys for this PLC. Does anyone know a source or have a part number? My searches are turning up nothing at the moment.
Replies
1
Views
64
I'm struggling to get an FR-E800SCE to work on CC-Link IE TSN. I'm sure the issue is with the drive, when I plug in the network cable I get no...
Replies
1
Views
90
Hi , Where i can find Mitsubishi PLC Card end of line & replacement model details. i am looking for Q02CPU replacement model. Please advice. thanks
Replies
2
Views
126
Hi guys, Im trying to set the real time clock in my Mitsubishi FX1N, but it shows this error ES: 01800001 I have good communication with...
Replies
3
Views
142
Back
Top Bottom