kratmel
-
Posts
1,148 -
Joined
-
Last visited
-
Days Won
52
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by kratmel
-
-
-
You post some ladder code for V700.
But you must post in this topic information about both side of connection (V700 and Raspberry PI4) and for what purpose this connection needed.
-
I support Ausman's words about the need to provide information.
As we can see from this topic, at first I thought that the connection of the wires to the module was wrong, but at the same time I could not find the right diagram in the documentation that would illustrate this.
Without the wiring diagram and due to the erroneous table of modes - we have a complete lack of information about this new product.
-
I see you run TPDO2 on Lexium 32A
If possible, write a few words about how you managed to do it.
No need to share your code, I think a simple explanation of what and where to write will be enough to solve the problem.
This may be useful for forum users in the future.
-
2 hours ago, merttoprak said:
Could you please be more specific about where and how to configure the 31st bit of the relevant PDO ?
I do not know exactly how to do it in Lexium 32. But i know that Schneider PLC has some unique sequence for operate with VFD and Servo.
You can try to do something like decribed on p.50.
See chapter --- An initialization sequence must be written to start the operating mode---
I think for sw on something Schneider servo need to send commant for sw off this option before.
Then default ON value is ignored. OFF must be sended before send ON.
-
One quastion. Is it correct (possible) to change IO module mode on the fly?
Maybe some restart or power cycle needed?
-
Hi, i do not find diagram in manual but i think you must connect
0 Aph Input+ Ch# 0 to signal pulse source, and 1 Aph Input - Ch# 0 to commom 0V (-24Vpower supply).
-
Hi, in this manual you can find how to activate other PDO
p.26 explane your problem:
With the default PDO settings, R_PDO1 and T_PDO1 are activated. The other
PDOs must be activated manually in order to be used.
A PDO is activated with bit 31 (valid bit) in subindex 01 hex of the respective
communication object. ...... -
1 hour ago, Sideway said:
That's why my MI is counting down scan cycles, is that correct ?
Please read about timing diagram for TE Timer in Help.
I do not know why you use TE timer activated by PDO clock XB17 in self reset mode.
You need to generate some pause, wait for something?
-
11 hours ago, Sideway said:
Any idea on what's going on here ?
I think you net with TE timer (Extended Pulse) is not correct. If yo use it - your net count PLC cycles.
If you use TD timer in the same net - you find correct result in incremented MI.
-
I think for small data table it is possible to use
"Vector: Find" function in Visilogic.
You can constantly check 4 MI and find position of 7 needed bit value (or place all bit to some MB vector and simulate data table with 28 value). You do not need to use loop - PLC scan loop present. Jump To Lable can be used for simulate "printf" function on PLC display with position of needed bit if function find it.
Only one problem in "Vector: Find" - it find first of needed value.
If you need to find only one "0" in data table this function maybe useful.
-
First step - check - is it USB-RS232 device in working condition. Connect pin 2 to pin 3 of GXMU-1200 USB to serial converter.
Use terminal program for transmit and receive some character. If 2 and 3 pin connected - you can see the same message in send and recieve window.
If this test = OK.
Read manual on page 11
https://www.unitronicsplc.com/wp-content/uploads/2015/12/SMXX-J-T20_R20_DOC17015-A4_02-15.pdf
You must check 3 wire from converter to PLC:
RS232 GND(5) ---- 0V refrence pin 2 or 5 PLC.
RS232 RX(2) ----- TXD pin 3 PLC
RS232 TX(3) ----- RXD pin 4 PLC
If it is OK.
Check in Visilogic - is it com port number = USB -COM converter com number.
Last tip - Uninstall Visilogic and run Visilogic installation as Administrator.
-
I totally agree with Flex. Image processing takes a long time. This upsets users who are beginning to study the process of creating displays.
The user usually needs a good picture - a background that graphically explains what this display used for. Above this background, we can place the elements we need - numbers, buttons, lamps, etc.
In fact, we can improve the picture itself using any graphics program as noted by Flex.
I often use to export a drawn display without any numbers and controls to a bmp file. On it I can manually fix the necessary components.
And this is where I constantly fall into the trap of an imperfect export process.
I can't export the display image itself. It is stored together with the black frame ... 😢😢😢😢😢
As you can see - if there was no frame - the image format would be fully consistent with the resolution of the PLC screen.
I have to accurately cut out the useful from the frame, then modify it to the desired appearance and set as the background of the future display. This way I know exactly what it will look like on the display and whether the proportions of the elements in the image are correct.
So maybe I'll try to ask the creators - is it possible to export only a useful display image with HMI display resolution without a black frame ?
-
On this image i try to explane....
I do not know how you build alarms in your project.
On image - if alarm source is active - "ALARM_1_ACTIVE" bit is enabled. If alarm source is disabled - ALARM_1_ACTIVE bit still enabled.
Only "RESET ALARMS" - disable "ALARM_1_ACTIVE" bit.
"ALARM_1_ACTIVE" bit Positive transition -|P|- set "Send SMS_bit".
"Send SMS_bit" is reset after SMS sended to user. Then SMS is sended once, next one is sended only if "ALARM_1_ACTIVE" bit is reset (by user) and set by alarm source.
P.S. Please note - this sample only for idea demonstration.
-
Great job Aus! Epson RTC on board!
Even now, with a wide range of modern PLCs in some solution i must
1 hour ago, Ausman said:.....using the tracks to run external SSRs instead of the onboard relays
One of my summer 2021 installation (retrofitting) with two V130-33-TR20 is slightly modified for high speed equipment.
>100000 operation per day on back folding clutch control.
The question arises why such a decision was applied. The answer is simple - only two identical PLCs with 3 HSC inputs were available from the supplier at that time. However, in this PLC it is impossible to quick control solid outputs. Therefore, the relay output has become "solid" in two new PLCs.
- 1
-
The main problem in your program is not sending SMS. The main problem is alarm management.
When an error occurs, you use the error bit as a sign that sends the message.
In my opinion, the bit of a certain error should set (via transition) the bit of sending the appropriate SMS message which will be automatically reset after its transmission.
The main thing to understand - you should not operate with the alarm status.
You must use only the fact of its change - transition to set and transition to reset SMS send bit for manage messages.
That is, operating in this way you will receive as many messages as the number of times the error occurred.
You are now sending a message all the time when the error is active.
-
The device is in excellent condition.
An interesting discovery for me is the presence of two polarity reversal positions for the DC measurement mode.
In my ancient stock lies my first multimeter of this type, but to change the polarity I had to rearrange the measuring conductors.
P.S. It is interesting to check the condition of the battery in my device
- 1
-
Please check JP11. It must be set to B for PT100 CM input 11.
-
-
There are many topics about PID present on forum. Try to search on forum.
Please post your furnance setup: hardware, sensor installation, heat source, ON-OFF slow PWM or fast PWM output used, temperature range.
If you use Autotuning - please try to set lower (-30 C) setpoint and start Autotuning.
Fix on paper P, I, D settings.
Then start Autotuning on normal setpoint.
You can see what changes appear in P, I, D and understand system behavior with different settings.
-
3 hours ago, Ausman said:
Kratmel loves/isreallygoodat this sort of thing! 🕵️♀️
Yes, my favorite hobby is finding the cause of inappropriate behavior in various industrial animals.
Unfortunately, I do not have such a PLC on the table - I would draw a diagram to solve this puzzle.
Despite the fact that there are many other different Unitronics PLC in my cave.
I am especially pleased when I manage to accurately repeat the behavior of the problem device by changing something in a working normal device.
Although it seems strange to someone else..... :)
-
Recently I had to modernize the well-known Swiss company machine control .
It was built when ...
2 hours ago, Ausman said:PLC..... ran on a pedal generator. The machine itself worked from 5000 mice running on a wheel)
So to my great surprise, the start signal of the motor converter is done by opening the electrical circuit with one of the closed contacts on each of the buttons that control the movement.
My brain exploded in surprise.
While my new PLC starts - the motor will turn a little.
My task of modernization has turned into a struggle between closed and open contacts.
No changes in buttons possible, NC contact must be open for RUN.... How to implement Emergency Switch and Safety relay.
P.S. PLC programmed, machine in working condition.
But in a few years someone will say - Who built such nonsense on the PLC. He can't guess that mice used to run here ...
-
One more tip.
You PLC is installed on site for some time. Some times i found problem with green connector pins corrosion (I think 11pin is defective) .
As test i recommend replace connector to new one or replace (if it possible) Input -output connectors.
-
10 hours ago, SanjayP said:
what could be interfering with the keypad being displayed.
Main quastions:
Is it happend with all Variables, passwords, ect ?
Is it time of keypad screen disable stable or varies with each keypad entry?
If it was happend in your project - some Display is loaded, reloaded or display sensor has some damaged area.
You can test display via Visilogic SI 40 -SI41.
If it is in OEM project and time of keyboard disable stable - maybe time of keypad active is shorted by programmer.
Visilogic Popup windows don't stay on correct multiple-screens
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
I agree, I may not have fully understood the problem.
It just so happened that I usually have one monitor. Although with two (or three) is probably more convenient.
Also my favorite ... This is a stable version with predictable behavior.