Mitsubishi Q-CPU - SM1032: 1Sec/pulse?

ason

Member
Join Date
Oct 2005
Location
Home
Posts
317
Hey, i wanna use SM1032 on a Mitsubishi Q-CPU

but it doesnt switch on/off when i use it,
do i need to eneble that function first?

Thanks,
 
Is this wrong?
Now i have found an other manual that says SM412

Can someone correct me in this please,
 
Both should do the same function - a 0.5 second ON pulse, followed by a 0.5 second OFF period. Also see related Special Relays SM410, 411, 413, 414.

SM1033 and SM413 are actually the "1-second pulse" (2-second clock) special relays.

Mirsubishi QnA 1-Second Clock Special Relays.jpg
 
Last edited:
Yes, i have a Q03
and i need a 1 sec pulse,
so i was doing like this
Code:
--[SM1032 ]---PLS--(OUT)


But it doesn't work, saw SM412 know and going to try that tomorrow.

But why doesn't SM1032 work for me?
Do i need to initial it at first scan?

I really don't get it
 
Yes, i have a Q03 and i need a 1 sec pulse,
If that works at all, the SM1032 and SM412 will only produce 0.5 second pulses.

Not all Special Relays will work with all models and types of Mitsubishi PLCs.

You must connect a Special Relay Clock Pulse to your power rail, and to your output. Use SM413 to get a 1-second pulse.

Try using M8013. It is the 1-second Clock Pulse for Mitsubishi FX-type PLCs, and may work in a simulator where the Q-series instructions do not.

Use your Help file menu for Special Relays to find the ones for use in your Mitsubishi model.

Mitsubishi FxN1-Second Clock Special Relay.jpg
 
Last edited:
Hello,

M8013 is for the FX series as you said but it will not work with the Q series.

If you open the help menu, and go to special relays, you will be able to select which series you want there.

SM1032 is for the 3 CPU's I put in bold below.

Special Relay List[Number SM1032]
Applicable PLC High Performance model QCPU, Process CPU
Universal model QCPU (Q00UJCPU, Q00UCPU, and Q01UCPU only.)
L series CPU
Related item General notice


SM412 and the related registers Lancie mentioned are the ones you want with a Q03 processor.

Hope this helps,

Dave
 
Thanks,
I tried to use SM412 the day after and worked as it should,
and later that day i saw the mistake i did,
when i was reading the manual, High performance and normal CPU

My example isn't from reality,

I use it like this:

Code:
--I SM412 I---[PLS]----[ADD 1K D1 D1]


Thanks for the help i got and your time,
 
 
Code:
--I SM412 I---[PLS]----[ADD 1K D1 D1]

Use the SM412 to perform your ADD every 0.5 seconds.
Use the PLS to perform your ADD on every PLC scan cycle.

What does using both the SM412 and the PLS do for you?

Possible answers:

1. It cranks my tractor.
2. It looks cool and sophistacated to the unknowing.
3. It was required by my instructor.
4. I always wear a belt and suspenders to hold up my pants.
4. It does nothing but I like it.
 
Last edited:
 
Code:
--I SM412 I---[PLS]----[ADD 1K D1 D1]

Use the SM412 to perform your ADD every 0.5 seconds.
Use the PLS to perform your ADD on every PLC scan cycle.

What does using both the SM412 and the PLS do for you?

Possible answers:

1. It cranks my tractor.
2. It looks cool and sophistacated to the unknowing.
3. It was required by my instructor.
4. I always wear a belt and suspenders to hold up my pants.
4. It does nothing but I like it.

Hi Lancie, i really don't get it,
the code i posted isn't every line from my project,

but what i needed is D1 decrease every second,
and in another place i increase every second,

from the manual:
Code:
Number SM412
Name: 1 second clock

Meaning

    0.5s   +-----------+           +--
-----------+    0.5s   +-----------+
so if i don't have the PLS there, shouldn't increase or decrease every PLC scan cycle when SM412 is high?

Sorry, i was in a hurry, i don't use ADD, it´s a DEC and INC instructions in my program
 
So if I don't have the PLS in there, shouldn't INC or DEC cause an increase or decrease every PLC scan cycle, when SM412 is high?
It depends on the INC instruction for your particular PLC. In most PLC brands that I know, INC would only be done one time for each ON-->OFF transition of the SM412, so it would only be incremented every 1 second.

But some of the Mitsubishi instructions appear to be based on the older program versions, where there were two types of instruction, non-Pulsed that operated on every PLC scan, and Pulsed that only operated on each false-to-true transition. Probably you should use the instruction "INCP" to only add 1 on each false-to-true rung transition (DECP to subtract 1).
 
Last edited:
Hi Lancie, i really don't get it,
the code i posted isn't every line from my project,

but what i needed is D1 decrease every second,
and in another place i increase every second,

from the manual:
Code:
Number SM412
Name: 1 second clock

Meaning

    0.5s   +-----------+           +--
-----------+    0.5s   +-----------+
so if i don't have the PLS there, shouldn't increase or decrease every PLC scan cycle when SM412 is high?

Sorry, i was in a hurry, i don't use ADD, it´s a DEC and INC instructions in my program


In the A series it was special register M9032 & then I would use a INCP or DECP

ex:
M9032
-[ ]---------------[DECP D1]

I am sure it would be the same on the Q. Instead of the M9032 it would be SM412.
 
you really don't need the pls instruction as there are pulse instructions in maths i.e. addp decp subp etc. these do the same thing for example only do the instruction on the rising edge of the logic before it, will not trigger again until the logic driving the instruction goes back to false and then true again.
 

Similar Topics

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
89
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
We have an A2USHCPU-S1 CPU with an A2SNMCA-30KE memory cassette. From the manual I've downloaded, it seems that the CPU is overwritten with the...
Replies
14
Views
1,738
Hi, does anyone have experience with the Off Delay Long Timer function in GX works 3, I need a PV greater than T#2147483ms If I use Long Timer...
Replies
7
Views
1,220
Hi Friends, just new with this forum and PLC mitsubishi, currently, i try to upload code from PLC Q00CPU. i don't have the project with me. when...
Replies
4
Views
1,344
Back
Top Bottom