Homepage

Mostrando las entradas con la etiqueta panasonic. Mostrar todas las entradas
Mostrando las entradas con la etiqueta panasonic. Mostrar todas las entradas

miércoles, 20 de julio de 2016

Industrial - PLC FPX C14R Panasonic - Slave Modbus RTU RS232



The Panasonic PLC in this case the FP-x Family has embedded Modbus protocol, setting the test be conducted Panasonic PLC Modbus RTU Slave.


Serial RS485 Modbus RTU network 


We will communicate with a Modbus simulator right through RS232.
Documentation for panasonic in the family FPX there is a routing table registers between native Modbus registers and records plc.

PLC fpx C14 R + Cassette COM4



The Panasonic PLC without requiring code speaks default modbus slave.

Table commands supported by the PLC as a slave



Addressing detailed records PLC - Modbus


Test

They have been determined test Registers:

Coil 0 (000001)                   = Output Y0
Holding Register 0 (400001) = Register DT0

1 Configure communication port (COM1 or COM2) that support modbus, the tool does not support port.

  COM2 - Master / Slave Modbus RTU



2 - For testing the Holding Register 0, the DT0 has addressed the value of potentiometer V0 (0 -1000).

Potenciometer.


Strategy

DT0 = DT90040 (POT V0)


Video
PLC Panasonic Slave Modbus RTU





Downloads:

Related projects:

More Info:


Youtube Channel





lunes, 11 de julio de 2016

Introduction to OPC Servers



The OPC (OLE for Process Control) is a communication standard in the field of control and monitoring of industrial processes, based on Microsoft technology, which provides a common interface for communication that allows individual software components to interact and share data. The OPC communication is done through a client-server architecture. The OPC server is the data source (such as a hardware device at plant level) and any OPC-based application can access that server to read / write any variable offered by the server. It is an open and flexible to the classic problem of proprietary drivers solution. Virtually all major manufacturers of control systems, instrumentation and process have included OPC in their products.

Taken from Wikipedia OPC.

In short this industry standard allows intercommunication between devices and controllers Indistriales protocols almost all brands, performed monitoring and control from HMI, SCADA, PLC and RTU PAC'S

The OPC servers contain the drivers and / or communication protocols of the vast majority of industrial controllers

The OPC clients can be created in a variety of programming languages for reading and / or writing data to the server and there to the industrial controllers.

Examples of Architecture OPC (PLC Sensors Actuators - OPC Server and Client OPC)





Iconics test server OPC UA Server




More Info:

Youtube Channel
PDAControl

lunes, 20 de junio de 2016

PLC Connection Fpx C14 Panasonic and Google spreadsheets (Google docs) with ESP8266



You want to monitor values of a PLC, controller, OPC, HMI or SCADA that is Master Modbus RTU and write in spreadsheets from Google (Google Docs), In this case we will monitor the value of potentiometer V0 PLC from 0 to 100%:

Potentiometer V0 (0-1000 SCALE 0 -100%)



Architecture


ESP8266 Connection Script and Google - Google Spreadsheets
-01 ESP8266 connecting with Google Script and connection with the spreadsheet from Google (Google Docs) Direct.

Based on the library HTTPS Redirect for ESP8266 of electronicsguy Github I have set and have made several improvements, I created the following tutorial full to Connect ESP8266 with (Google Script) and (Google Spreadsheets)


Connection ESP8266 and Panasonic PLC via Modbus RTU (RS232)
Modbus RTU Slave ESP8266 -01 PLC Panasonic FPX C14R Master Modbus RTU (RS232),

Video Complete Test



Google  Spreadsheets




In a nutshell
ESP8266 monitors the values in Registers Holding PLC and insert them into the spreadsheet.

 MAX232 (RS232) + MAX485 (RS485) + ESP8266 - 01  



Data insertion time
Every 15 seconds minimum, to avoid saturating the ESP8266.

Materials 
1 PLC FPX C14R Panasonic
1 Cassette COM4 RS232
1 ESP8266-01
1 MAX232
1 Regulator 5v a 3.3v
1 Power supply 5v

Connections






Downloads - Complete Project

Related Projects

More Info:

Youtube Channel





miércoles, 11 de mayo de 2016

ESP8266 Scada SVG Modbus RTU Display Oled PLC Panasonic FPX C14R


Taking up and improving the applicability of this project integration Scada Web-based SVG ESP8266, it has decided to communicate the ESP8266 with a PLC (Programmable Logic Controller) Brand Panasonic FPX C14R, atravez protocol Modbus RTU Serial RS232, Being the PLC Panasonic Master Modbus RTU and Modbus RTU slave ESP8266.
It has an integrated OLED display 128 x 64 communicated via I2C with the ESP8266 for visualization features of the modbus PLC registers.

General objective of the Project
1 ESP8266-01 module with Max232 will connect to the serial port RS232 PLC Panasonic.
2 Integrating Modbus master is routine in the PLC Panasonic with previously programmed strategy in Control FPWIN His Panasonic -Pro software, it is planned to create a monitoring solution Concerning Industrial Controllers values is PLC, PAC, HMI or OPC.


Project Specific Objective

the value of potentiometer V0 PLC Panasonic in a range of 0-1000 escalizado in ESP8266 from 0 to 100% was displayed, the value in a Mini scada webserver based on SVG is visualized, the variation of the potentiometer is noticed almost instantly, for communication between the PLC and ESP8266 is via RS232 Modbus RTU.

 Potentiometers Panasonic PLC


Diagram


1  - PLC FPX C14R Panasonic + Comunication  Cassette COM4

By default, the PLC only has 1 Puerto Panasonic 5-pin minidin similar to the PS2 port, the communication port and / or RS232 port programming called Toolport, which can only be configured as:
1 general purpose communication (scales, barcode readers and serial printers)
2 Slave Mewtocol - FP series (Panasonic programming protocol)
Note: No toolport port allows configuration as Master - Slave Modbus RTU

COM4 casette is a expasion communication with 2 ports COM1 (RS485) and COM2 (RS232)
It was used COM2 (RS232).

Additional port settings

Modbus RTU Master Routine
Control Strategy in FPWIN Pro



 
(* Potenciometer -Potenciometro V0 *)
Pot_PLC:=sys_iPotiInputV0/10; (* Convert value 1000 -> 100 *)

(* Escritura de PLC Como Maestro Modbus RTU *)
(* Write de PLC Como Maestro Modbus RTU *)
IF (sys_bPulse1s AND sys_bIsComPort2F145F146NotActive  ) THEN
 
F145_WRITE_DATA_TYPE_OFFS(Port := SYS_COM2_PORT, 
   SlaveAddress := 1, 
   MasterWordData := Pot_PLC, 
   SlaveWordAddressType := DT0,  
   SlaveWordAddressOffs := 0, 
   NumberOfWords_BitsInWords := 16#001);          

END_IF;
 




2 - ESP8266-01 + MAX232

Has made the connection module for 3.3V TTL serial part to a MAX232 (TTL to RS232 converter) for voltage levels between the communication ports are the same, the module must not exceed feed this voltage 3.3v .




3 - HTML SCADA BASED ON SVG

By typing the IP address assigned to the module ESP8266 from any browser will connect directly to this website which will display the following screen shot.

Technically an HTML web server (ESP8266) which seeks an SVG file created, modified and updated in the server root (ESP8266) is created, which makes the entire website is not updated only part that is the SVG this think it is allowing more dynamic to create the SVG directly into the HTML which would require upgrading the entire website.



OLED DISPLAY 128 X 64 + -ESP8266 - 01

It has also built an OLED display 128 x 64 connected to ESP8266 via I2C protocol, connected by GPIO 0 and 2, it has been added to make the value display in real time and allows it to be more
complete the test, the displayed value is the value from 0 to 100% relative to the potentiometer PLC.





Materials 

1 PLC Panasonic FPX C14R
1 Casette COM 4
ESP8266 - 01
1 Display Oled 128 x 64 I2c
1 Supply 5 VDC 
1  LD1117V33 Regulator 5v to 3.3v   
1 MAX232 

Video Complete Test



martes, 19 de abril de 2016

PLC Panasonic FPX C14 R

Serie FP-X 


I present the Panasonic FP-X (Nais -Aromat) series Controllers PLCs or Programmable Logic has evolved, this series the successor to the FP1 series with a small and larger memory size and speed processing value optimized for control systems motion has a varidade of cassettes Ethernet communication protocols RS232 - RS422 and RS485 has the possibility of expansion of inputs and outputs also allows control of the units or expasiones inputs and outputs FP0R his cousin.


Special characteristics
-Speed Scan very fast 0.32μs program
-Protection Program with a password of 8 digits
-Allows Use 3 communication ports simultaneously.
Easy upgrade program is only connect and program.
-Allows The creation and configuration of high precision PID loops
-Total Hardware and software compatibility with any PLC of the Panasonic brand.



Presentation PLC Panasonic



Integrations Panasonic PLC and Arduino
The main idea is to make integration of this PLC (Harware Industrial) ESP8266 with the Arduino platform and using the Protocol itself and Panasonic FP series supported Modbus RTU protocol



Panasonic PLC -integration Raspberry pi Python and Emoncms



Module ESP8266 used as a bridge for programming PLC Panasonic


Panasonic PLC -ESP8266 Arduino + COM5 Protocol Our FP series supported


                       - Arduino PLC Panasonic FPX C14 + COM1 Protocol Our FP series supported









miércoles, 23 de marzo de 2016

Modbus RTU Master tests with Arduino via RS232 and PLC Panasonic FPX C14R



This time I have communicated the Arduino with Panasonic PLC and I checked the Arduino useful in the industrial field direfencia of the previous tutorials I've tested both devices communicating via RS - 232.


Summary
1. The arduino send via modbus ADC value 0 to Holding Register 0 and the plc into a strategy compared as follows Arduino
If ADC> 500
 relay output PLC = 1
else
PLC relay output = 0
2. The PLC send the value 2 of its potentiometers from 0 to 1000 and displayed on the display arduino Oled, the respective values





PLC FPX C14R Panasonic




Programmable Logic Controller used in industrial in this case the family FPX panasonic (Aromat - Nais)
This PLC has Modbus RTU protocol as master and slave To configure a teacher must create a strategy, if set as slave does not require code as the default plc is a slave and records are automatically routed.

DT0 = Holding Register [0]
DT1 = Holding Register [1]

The control strategy of these PLC is done in the FPWIN Pro software:

Serial Ports settings


Implemented strategy


















Arduino code
The arduino is configured as RTU Master to read and write 10 - 10 Holding Registers

Part 1 Arduino Modbus RTU Master

Part 2 Arduino RS232 Modbus RTU Master




Video Final Test With Panasonic PLC






Github Code ARDUINO
https://github.com/JhonControl/Arduino_Modbus_Master_in_5_minutes 

Instructables

http://www.instructables.com/id/Arduino-Modbus-Master-RTU-and-PLC-Panasonic-FPX-C1



martes, 22 de marzo de 2016

Modbus RTU Master tests with Arduino via RS232 and screen Panasonic GT01



On this occasion I made our arduino communication with HMI Panasonic GT01 monochrome display via RS232 Modbus RTU, Arduino screen as Master and slave.

Summary
1 The value of the ADC 0 of arduino from a potentiometer 100 k will be displayed on the HMI Panasonic
2 The value entered from a keypad from the HMI was displayed from the arduino oled screen.

one Max232 physical is required for communication between the Arduino and the Panasonic screen



GTWIN Panasonic 
The Panasonic GT01 screen is programmed into the software GTWIN
records are redirected follows:
GDT0 = Holding Register [0]
GDT1 = Holding Register [1]

1. Communication parameters Screen

2. Modbus RTU Slave

3. Design Screens

Arduino code
Arduino is configured for reading and writing 10 log 10 records.