-
Posts
407 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Everything posted by Gabriel Franco
-
I use Hercules Setup Utility (https://www.hw-group.com/software/hercules-setup-utility), very simple, not installation required.
-
The PLC does not send information, it is the SCADA that gathers and/or put data from/to PLC using Modbus TCP protocol. I´m not sure if USR-W630 is the most convenient device here because it´s a gateway (Modbus RTU/Modbus TCP) and basically what you need is an Ethernet to WiFi converter or an Ethernet switch with WiFi capabilities (unless you can wire). Be aware of WiFi networks can be unstable and based on data rate collection, you may loose important data; that being said, it's better to have a wired connection between SCADA and PLC.
-
Jeferson. I would connect the PLC to the same network of the SCADA using Ethernet (wired) to WiFi converters, either acting as repeaters, AP or point-to-point. Then, add the PLC as a new Modbus TCP slave and configure registers as per your needs. Also, modify the PLC program to enable it as a Modbus TCP slave.
-
Try these: - Remove the CPU, re-attach it and power on the system. - Remove the CPU, apply power to panel. The application should load whit CPU warning. From this point you can ignore the message and get access to Uniapps to obtain the MAC address. If it keeps rebooting, then I guess is hardware failure.
-
Taken from "Version changes & bug reports" document. Personally, I haven´t noticed major time-saving using development mode but Quick sync is a great tool.
-
In my experience, Autotune FB does not provide the best PID values to all processes. Sometimes a manual tuning is better. If CV is not changing, the most probable cause is wrong Kp., Ki, Kd, ST values. Check the convenience of having CV limits from 0 to max AO value. For a reference, I´ve limited CV about 20% ... 80% based on process characteristics.
-
In the Modbus IP Configuration FB, you can assign the IP address of the slaves to MI registers and then assign them from HMI If you are talking about Unistream Series (as I suspect you do), it is possible to modify the IP of the slaves from Uniapps rather than change program and download it to the PLC.
-
Modbus client
Gabriel Franco replied to Bituga's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Server (IP 10.0.60.1, as per your wrote) and client (IP 10.60.1.3) are in different networks. Why do you set mask to 255.255.255.240? It limits devices the PLC can talk to. In your code, Port 2 are set to wrong port number, should be 502. -
Convert RS232 - 8 bits of HEX to decimal number
Gabriel Franco replied to timboekhorst's topic in UniLogic Software
The message composer option in combination with parse message FB is the best way I´ve used to achieve tasks like the one you described. You can find more information about it searching "third-party protocol functions" in help. -
Strange Ping behavior
Gabriel Franco replied to Flex727's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
maybe subnet used by another NIC -
Access UINT16 data from EIP EDS files
Gabriel Franco replied to Mike Johnson's topic in UniLogic Software
As you create EIP Scanner using EDS files, the tags are created automatically. You can access them as a regular tag, in your case should be EDS_GC_Series_Input.p_30th detailed error code Individual bits inside UINT tags, cannot be directly accesed. Use Test Bit FB. -
First of all, not all devices accept UPD. Initialize Ethernet, Modbus and socket as usual. There is not need to connect/disconnect to/from each slave. As you mentioned, just select a slave index and use Modbus FB to poll trhough all slaves. It may be necessary to add a little delay between devices (in my experience, minimum 100 ms), because of the fact of not having all datagram control present in TCP. However, this delay compared with connect/disconnect times makes UDP by far better than TCP in the overall performance.
-
Reading strings from modbus slaves result with wrong text
Gabriel Franco replied to Hoops123's topic in UniLogic Software
1. Create a new tag buffer type (array long enough to hold string lenght) and a new tag string-ascii type. 2. Create a new Modbus operation using buffer name. 3. In ladder, use copy buffer to tag. -
The following message is displayed on the screen sporadically: PLC Date/Time Date and time was set automatically to local time Press OK to continue The time and date do not change when the message is displayed. What does it mean? USP-070-B10 + USC-P-B10 Unilogic 1.33.236 PLC is connected to Internet, time auto-sync enabled.
-
Try 4 instead of 40004 (and so on) in address.
-
A common mistake some of us had made and you may double check: ethernet cable connected to ethernet port instead of Expansion port.
- 16 replies
-
- communication
- connection
-
(and 2 more)
Tagged with: