-
Posts
3,261 -
Joined
-
Last visited
-
Days Won
236
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Everything posted by Flex727
-
Issues with Japanese (hiragana) characters displaying on a US7-B5
Flex727 replied to benS's topic in UniLogic Software
Moved to correct forum. -
This simple program was posted on this forum some time ago. It's for VisiLogic, but you may be able to adapt it. Here is a screenshot of the relevant logic in case you don't have VisiLogic installed: V570_Random_number_generator.vlp
-
Has anyone come up with a way to set a Vision PLC clock from the internet? I have a V1210 connected to the Internet and I'd like to keep the clock reasonably accurate. I can go online with it at any time and set it from my PC through VisiLogic, but I need to find a way to automate the process to keep it accurate.
-
communication between PLC
Flex727 replied to meuhporg's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Also, do NOT use SB 3 for your communications. If one second intervals are sufficient for your communications, use SB 13. SB 3 will cause the PLC to attempt comms on every PLC scan for fully half of each second. You want to trigger communications with a transition contact or SB 13, which is automatically a transition contact. And place an inverted contact of MB 100 in front of the comms FB. -
communication between PLC
Flex727 replied to meuhporg's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
First of all, you need to Read Holding Registers (R.H.R #3), not Read Input Registers (R.I.R #4). Also, you can read and write bits (coils) directly using Read Coils #1 and Force Coils #5 or #15. But the simplest method when you are communicating between two Unitronics Vision PLCs is to use the FB Read/Write Mixed Data. This FB allows you to enter a mix of operands and read or write them directly using a single function call. -
Be sure you are running Version Swapper from the latest version of VisiLogic you have installed. Do not use the Version Swapper from the older versions of VisiLogic.
- 6 replies
-
- windows 10 visilogic
- version swapper
-
(and 1 more)
Tagged with:
-
KepServer to V700
Flex727 replied to Yuri7811's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Output coils start at address 4000h (16384 decimal). Or you can assign an MB to the Output coils and read those instead. -
KepServer to V700
Flex727 replied to Yuri7811's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
The Socket will revert to Port 20258 when the PLC is power cycled or Reset. Add the Socket 2 Initialization block to your program to prevent that. -
Modbus TCP/IP
Flex727 replied to carlosm78's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
It looks like the FATEK supports MODBUS/TCP. Just set up your FATEK with the MODBUS TCP parameters as a slave and assign IP addressing, port number, etc. Match that on the V700 side as Master and it should work easily. There are example projects that came with your VisiLogic installation that will show you what to do in the V700 for MODBUS TCP Master. -
I don't have time to got through your logic in detail, but here are a few suggestions as to best programming practices: 1) Do not rename the Main Routine. Use it for Power-Ups, configurations blocks, and subroutine calls only. 2) Do not place multiple logic threads in a single ladder rung, as you have done in Rung 4 of Relay Control. 3) It is usually best to keep the logic simple and use more ladder rungs. You will not run out of rungs. 4) Rung 1 of Relay Control should probably be simplified (break it up into multiple rungs) and I think it's odd that you are using a direct contact activating an Increment function. You will be incrementing that register on every scan until the HMI button is released. Use a Positive Transition contact unless you are trying to count how many scans go by during a button press for some unfathomable reason. That said, most of your code looks pretty good and your HMI screens are terrific.
-
Pawar
Flex727 replied to Vijaykumar Pawar's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
I moved this to the correct forum. You're unlikely to find someone to write your software for you for free. I recommend that you either hire a programmer to write your software, or undertake the task of learning how to program. If you do that and have questions or difficulty, the kind folks on this forum will help you. -
This is ambiguous. Do you want the output to turn on for 2 seconds after the button is pressed (this is what you have), or do you want the output to turn on after the button has been held down for 2 seconds? Also, you appear to have the Power-Up for O0 as SET. This will turn on the output as soon as the PLC boots up. Is this what you intended?
-
Did you confirm in Device Manager that COM 3 is the correct com port? If you had to change hard drives, you may have a different driver for your USB to Serial adapter. Try re-installing that driver.
-
Make sure you have selected the proper COM port in the U90 Ladder, as it can sometimes change. Go to Device Manager to confirm.