Schneider M340 Modbus Serial communication

Dan0218

Member
Join Date
Aug 2016
Location
Singapore
Posts
7
Hi everyone, im still new at programming and need your help with my

This is my first time to program a VFD(altivar320 ATV320U04M2C). I will not be using NOE module. Im using my BMXP432020 cpu so i will be using the normal rj45 cable from PLC to my VFD. I read that if not using noe module, i must use the read_var and write_var block in unity pro(also my first time to use this block). I just need to give a start command to my motor via modbus serial and read vfd frequency. i already wrote the logic but im not pretty much sure if i did it correctly so i need some expert advise from you guys.

I attached some screenshots of the logic and communication parameters which i think schnieder provided.

ModbusReadParameters = array[0..3] of int
InputFromVfd = array[0..15] of int
ModbusWriteParameters = array[0..3] of int
CMD_Write = array[0..15] of int
AG_01 = Start command

Thank you

Logic.jpg Serial.jpg communication parameters.jpg communication parameters2.jpg
 
First of you wont be able to start the drive by just setting one bit to 1. You have to read the status word first. Then according to the info the drive is providing (healthy, ready to start etc) you must enable then start etc. I will look for the code schneider provides for starting a atv71 in modtcp ip and post it here. The code will function exactly the same
 

Similar Topics

Hello, this is a message for specialists in Schneider, I am trying to establish communication in modbus tcp between a schneider M340 (P3420302)...
Replies
2
Views
1,612
Hi! I am currently working on a project where I need to gather data from 3 separate devices via Modbus TCP. Also connected to the PLC is a Citect...
Replies
12
Views
2,439
Hi, I'm using a PLC M340 (Master) to communicate with a M221 (Slave) PLC. To do this communication, I'm using "Read_var" and "Write_var" blocks...
Replies
6
Views
5,149
Hello all, Currently I am using a VSD ATV71 controlled by a schneider M340 with modbus TCP/IPusing IO scanning. For now i can start the motor and...
Replies
5
Views
3,725
Hello all, I am wanting to update the system clock via NTP in the M580/M340. I'm aware that we are able to connect to a NTP in the controller...
Replies
4
Views
136
Back
Top Bottom