I have a little project. I need to communicate with the PLC which is MicroLogix1400 to read all tables (not just some) and I came to the conclusion that Ethernet/IP messaging should be used. I am evaluating all the possibilities and I have found that LabVIEW can possibly do it.
NI makes an Ethernet/IP driver that allows your computer to act as a I/O Adapter. Normally PLCs assume the role of I/O Scanner, which is needed to communicate with an I/O Adapter. If you're not familiar with Ethernet/IP roles, I have found this document to be helpful. Please take note: NI's driver does not have the ability to act as an I/O Scanner, and therefore I recommend you first confirm the PLC acts as an I/O Scanner.
If you're only going to communicate with EthernetIP using explicit messaging (e.g. non-process data aka config data), our driver can act as both Server and Client (these roles are also defined in the above link).
I could make changes specific to each type of PLC in LV, then produce the lib file and my c++ code wouldn't change at all. I would really advocate this solution with my client but I need to understand the pricing and licence:
How is the DSC Run-Time System Licensed?
The DSC RTS is distributed to customers on CD media only with a single license. A new license with media needs to be purchased for every machine that needs to run an EXE that uses DSC components.
In the link I have found -us/shop/product/labview-datalogging-and-supervisory-control-module.html the pricing is 1K$ but it is not clear if the license is for developer of deployment machine or per installation as it seems from your link.
We are having difficulty communicating with a micrologix 1400 series B.
We are using RSLogix 500
We are connected using eWon Flexy
In eCatcher the Flexy is called GP Gatorade Can Line Flexy
We have the ip address, but we are having trouble entering the I:O addresses
The 1766-L32BWA is a discontinued Programmable Logic Controller (PLC) that is manufactured by Allen Bradley. This controller belongs to the MicroLogix 1400 product family. It is especially compatible for use in machine level automation or small processes.
This controller has embedded Twelve (12) Fast 24V DC Inputs, Eight (8) standard 24VDC inputs and Twelve (12) Relay outputs. The High-speed inputs support fast switching devices with rated frequency of 100 kHz. The standard 24VDC Inputs is used for general purpose application while the Relay Outputs may be operated with different voltage categories, for energizing electrical loads with different nominal voltage actuations.
When configured as MODBUS RTU via RS485 wiring, daisy chain topology may be implemented where up to 32 devices may be connected. This is an ideal solution for integrating Power Meters and other MODBUS devices. DNP3 is typically used in substation automation for communicating with Intelligent Electronic Devices (IEDs). Ethernet protocol is the most modern and user-friendly protocol for communicating with multiple devices in linear topology. ASCII protocol is typically used in factory automation especially in the manufacturing area. Most common application is the reading of barcode data of a specific product.
The Allen-Bradley 1766-L32BWA is a part of the MicroLogix 1400 Programmable Logic Controller series. It combines the features of previous MicroLogix 1100 controllers, such as EtherNet/IP, online editing capabilities, and an LCD with enhanced features. It also features a backlight on the LCD for setting network configuration, viewing the controller and I/O status, monitoring, and manipulation.The 1766-L32BWA controller requires 120 to 240 VAC input power and has battery-backed RAM. It supports 32 digital I/O points that consist of Twelve (12) digital fast 24 Volts DC inputs, Eight (8) digital normal 24 Volt DC inputs, and Twelve (12) relay outputs. It can be expanded with up to Seven (7) 1762 expansion I/O modules. It has dimensions of 3.5 x 7.08 x 3.43 inches and a weight of 2 pounds.For communication, the 1766-L32BWA has an isolated RS-232/485 port, an Ethernet port, and a non-isolated RS-232 port. It also has an embedded real-time clock to provide a reference for applications that need time-based control. For installation, it has Panel or DIN-Rail mounting options with an open enclosure. It is suitable for use in a clean, dry industrial environment with circuits not exceeding Over Voltage Category II. The 1766-L32BWA controller has various enhanced features that its predecessors lack. The Ethernet port provides DNP3 protocol support as well as a web server and email capabilities. It has 2 Serial ports with DH485/DF1/Modbus RTU/DNP3/ASCII protocol support. It has up to 6 embedded 100 kHz high-speed counters (only for DC controllers). It also has 20 KB of memory for user programs and data.
This Micro-Logix processor is capable of controlling 20 inputs and 12 outputs with a built-in 24v DC power supply. This device can be communicated with through either the 9 or 8 pin RS-232 cable as well as via EtherNet. The LCD will display I/O status as well as change processor modes and much more. The 1766-L32BWA is powered by 120-240v AC at 50-60 Hz.
Close Topics Topics Cybersecurity Best Practices Cyber Threats and Advisories Critical Infrastructure Security and Resilience Election Security Emergency Communications Industrial Control Systems Information and Communications Technology Supply Chain Security Partnerships and Collaboration Physical Security Risk Management How can we help? GovernmentEducational InstitutionsIndustryState, Local, Tribal, and TerritorialIndividuals and FamiliesSmall and Medium BusinessesFind Help LocallyFaith-Based CommunityExecutivesHigh-Risk Communities Spotlight Resources & Tools Resources & Tools All Resources & Tools Services Programs Resources Training Groups News & Events News & Events News Events Cybersecurity Alerts & Advisories Directives Request a CISA Speaker Congressional Testimony CISA Conferences CISA Live! Careers Careers Benefits & Perks HireVue Applicant Reasonable Accommodations Process Hiring Resume & Application Tips Students & Recent Graduates Veteran and Military Spouses Work @ CISA About About Culture Divisions & Offices Regions Leadership Doing Business with CISA Site Links Reporting Employee and Contractor Misconduct CISA GitHub CISA Central 2023 Year In Review Contact Us Free Cyber Services#protect2024Secure Our WorldShields UpReport A Cyber Issue
A remote unauthenticated attacker may be able to send a specially crafted Modbus packet allowing the attacker to retrieve or modify random values in the register. If successfully exploited, this may lead to a buffer overflow resulting in a denial-of-service condition. The FAULT LED will flash RED and communications may be lost. Recovery from denial-of-service condition requires the fault to be cleared by the user.
Rockwell Automation recommends users with the affected controller to mitigate risk. They encourage, when possible, to combine this guidance with the general security guidelines for a comprehensive defense-in-depth strategy. Please subscribe to updates to this advisory and the Industrial Security Advisory Index to stay notified.
All users, if applicable, may disable Modbus TCP support if it is not necessary for their MicroLogix 1400 implementation. Without Modbus TCP enabled, a potential attacker does not have access to exploit the device using this vulnerability.
CISA recommends users take defensive measures to minimize the risk of exploitation of this vulnerability. CISA reminds organizations to perform proper impact analysis and risk assessment prior to deploying defensive measures.
CISA also provides a section for control systems security recommended practices on the ICS webpage on us-cert.cisa.gov. Several recommended practices are available for reading and download, including Improving Industrial Control Systems Cybersecurity with Defense-in-Depth Strategies.
Additional mitigation guidance and recommended practices are publicly available on the ICS webpage on us-cert.cisa.gov in the Technical Information Paper, ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation Strategies.
Organizations observing any suspected malicious activity should follow their established internal procedures and report their findings to CISA for tracking and correlation against other incidents.
Hi all,
first of all sorry for my bad english.
This is my first big project with arduino mega. i'm collecting datas from D18B20 sensors with arduino and trying to send datas to my PLC (micrologix 1400). totally i have 45 sensors. and i use xbee to transfer datas from one place to other place.
anyway, my question is ;
how should i connect my arduino (or directly xbee) to my PLC?
which is the easiest way?
i searched about it, as i understand i should use RS232 to TTL as hardware and modbus library on arduino. with this way, i can send datas to plc. but how?
anyone can help me?
If you want to use the Modbus Protocol, you need to set up your Arduino as a Slave device.
Are your sensors digital or analogic?
If you already have your sensor read by your Arduino, then you need to create some data structure, Modbus uses words, and set up this data to be in the modbus read/write area
Let me know some more about your project/code
lmanuel thank you for your reply,
my sensors are digital and i've already created words to send.. i just don't know how to send these datas to plc.
i want to send this words to plc in every 1 or 5 minutes with rs232 or rs485. this is the only thing that i'll do.
what should i use, how should i configure.. i don't have an idea about it. because i've never done it before..
The Mega would be a modbus slave device. The plc would have to poll the slave for data
What is your data format? Float or Int?
You need a data structure to store the data . Then you map this to modbus holding registers 4XXXX , Mega reads analog data. Scale it and moves it to the data structure to be read by the modbus master
I have used the mudbus lib on tcp and it works