-
Posts
3,261 -
Joined
-
Last visited
-
Days Won
236
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Everything posted by Flex727
-
Use a positive transition of your button push to activate a Time TE. Use the output bit of the TE to activate your outputs. Something like this: You appear to have the Horn coil in both rungs 1 & 2. THAT WILL NOT WORK. You can only have a direct coil in one ladder rung.
-
Moved to the correct forum.
-
Remote web host
Flex727 replied to Deadplc's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
The UniStream line does allow for more complex web pages to be built more easily, but with either the Vision line or UniStream line you will need to have the PLC visible to the internet in order to view a web page from a remote location. That's not a function of the PLC, but rather a function of your network. It's not the most secure method, but I usually just do port forwarding from the router that has the internet connection to the local PLC. -
V700 + RTD Setup
Flex727 replied to Pendalar's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Ah, sorry, I misunderstood. -
V700 + RTD Setup
Flex727 replied to Pendalar's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Where are you getting a decimal point from? Everything in the context of this discussion involves integers only. Don't confuse the 4-20mA analog input with thermocouple or RTD inputs that provide temperature directly. Even with those, the input is still an integer with an implied decimal point. -
V700 + RTD Setup
Flex727 replied to Pendalar's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
It's 16383. There are 2^14 counts, but it starts at zero, so the highest number is 2^14-1 (all 14 bits on would be 2^14-1, or 16383). This is what goes into your linearization block, though you would likely never notice it in the real world if your linearization was off by 1 part in 16384. -
Retaining Memory Integers
Flex727 replied to bgics's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
This is correct. Thanks for expanding. -
This handy feature is available with Vision PLCs, but as far as I know it has not been incorporated in the UniStream line.
-
Retaining Memory Integers
Flex727 replied to bgics's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Oops, for some reason I thought I was in the UniLogic forum. With VisiLogic, all operands are retained through power cycle or reset if there is a working battery in place. -
Retaining Memory Integers
Flex727 replied to bgics's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
When you create the operand there is a setting to retain its value. -
Ethernet
Flex727 replied to JMorel's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
SB 2 _AND_ SB 142? Do NOT use SB 142 here. SB 142 turns on when the Ethernet card is initialized. It will never activate the Ethernet card initialization function block. Is your PC on the same subnet as the PLC (i.e. does your PLC Ethernet address begin with 192.168.100.xxx)? -
Ethernet
Flex727 replied to JMorel's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Use SB 2 instead of SB 142 to activate your Ethernet function blocks. -
A few other items of note: 1) Do NOT place multiple logic threads in a single ladder rung, as you are doing in the Szamlalo subroutine. 2) Do NOT use Direct Contacts to call an HMI screen - use Positive Transition Contacts. 3) No need to call the Start-Up Display with SB 2 - it will be called automatically at start up. 4) No need to set or reset operands with SB 2. Use the Power-Up checkbox for MIs and SET or RESET selection for MBs.
-
Not sure what you're trying to do here. All operands are retained through a power cycle (if there is a functioning battery installed). If you want the register to assume a particular value at start-up, then you use the Power-Up value to accomplish that. Looking at your program, MI 0, 1, & 9 have the power-ups checked. If you want MI 0, 1, & 9 to retain their last value, then uncheck that box.
-
Hey @Joe Tauser, I notice you place an inverted contact of SB 2 in front of the SCAN_EX FB. I've seen other people do this also, but I have never done it in any of my hundreds of projects over the last many years and never experienced a problem related to the slave scanning. Is there really a purpose or any advantage for this?
-
Briefly, (and perhaps over simplified), a Port is an address that is visible to the outside world. A Socket hosts the Port for the communications. You have 4 Sockets in your Unitronics PLC (numbered 0-3) and therefore you have 4 paths for communications over Ethernet. You can mix and match protocols as you wish, but you only have 4 that you can use at one time. Each of the 4 Sockets has a default configuration, but you can change that with a Socket Initialization FB. If you're going to use MODBUS TCP, you must have a MODBUS IP configuration FB for each Socket that will be using MODBUS TCP. Both the Socket Initialization and the MODBUS configuration should be activated with SB 2.
-
There are example programs that came with your VisiLogic installation that show you the proper way to set up MODBUS TCP communications. You can have a continuous connection with up to 4 MODBUS TCP devices by using the 4 available sockets. You will need to initialize the sockets with the proper protocol and port number, as well as set up your MODBUS IP configuration for each.
-
Yes you are. Use MI, not ML. For the above ASCII String, you will need a vector of 3 MIs to hold the 6 characters of your string. (I believe you can use MLs and hold 4 characters per register, but why complicate things.) In the Read Row FB, you need to assign an operand to every column in the Data Table Row. You can certainly make the operands contiguous so that you have a vector to operate on later, but you need an assignment for each element.
-
Mr
Flex727 replied to Gemefree39's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
There is no simulator software from Unitronics. The PLCs are inexpensive enough that purchasing a PLC for development purposes isn't an undue burden. There may be some third-party simulation software, but I've never used it and cannot say if it is reliable.