Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Prayuktibid

Pages: [1]
1
Technical support / FMD88-10 PLC's MODBUS TCP client malfunctioning
« on: May 10, 2019, 02:44:10 AM »
I have FMD88-10 PLC I wanted to perform Modbus read and write operation form this PLC for monitoring and control purpose. I have one Fronius solar Inverter and one Sinexcel Battery Inverter both are connected with PLC using Modbus TCP protocol. The ladder logic is written in this way that performing read and write operation in a continuous manner with respect time like in a never-ending loop. but PLC can able to perform read and write operation in these two devices one time means at the first time or the first cycle is able to read the value from Modbus register of that device but in next cycles, it was unable to fetch data from those devices.

I didn't find any reason behind this,  why it is behaving like this? I have attached my PLC code with this message. Please help me to find the error and its solutions. Thank You.

2
Hello,
        I was trying to read Input and holding register's values from Woodward MR4A relay through Modbus RTU communication. This woodward MRA4 relay connected with i-Trilogi FMD88-10 PLC through RS485 port and this MRA4 relay support 8data bits, 1 stop bit, even parity with baud rate 19200. I have used two custom functions to check  'command status" by using STATUS(2) and "incoming massage in comm port" by using INCOMM(ch)  but the STATUS(2) gives '0' return and b]INCOMM(ch)[/b] gives '-1' return.

This is my i-Trilogi code..

[Fast Scan]
Code: [Select]
'SETSYSTEM 1, &HFF
'SETSYSTEM 2, &HFF
SETPROTOCOL 3,1 'set port 3 for fixed ModbusRTU protocol
SETPROTOCOL 2,1 'set port 2 for fixed ModbusRTU protocol
SETBAUD 3, &H44 'set port 3  as 8 data bits, 1 stop bit, even parity, baudrate 19200
SETBAUD 2, &H44 'set port 2  as 8 data bits, 1 stop bit, even parity, baudrate 19200

[Every Scan]

Code: [Select]
SETSYSTEM 6,4 ' set seytem for modbus function code 04
READMB2 12,1,20146,DM[1],2 'read through port 2
call Checkstatus
call checkcom
TIMERPV[T1]=50
CLRIO T1
SETSYSTEM 6,3 ' set system for modbus function code 03
READMB2 12,1,32500,DM[4],6 'read through port 2
call CheckStatus1
call checkcom

custom function [checkstatus] - to check command status
Code: [Select]
FOR I=1 to 1000
A = STATUS(2)
IF A=1 RETURN:
ELSE
SETLCD 1,1,"ReadFailuire"
ENDIF
NEXT

custom function [checkcom] - to check incoming massage in port 2 or 3
Code: [Select]
FOR J=1 to 1000
D = INCOMM(2):
IF D>0 RETURN:
ELSE
SETLCD 3,1,"Nothing receive"
ENDIF
NEXT

3
Technical support / How to read 32bit data from Modbus Registers?
« on: August 24, 2017, 09:23:46 PM »
Hello Folks,
I am using Trilogi PLC FDMD88-10 model and I am using it for Industrial purpose. My question is how to read 32 bit data from modbus register also how can I configure my code for Big-endian and Little-endian data fromat while read or write any data in modbus register?

4
Technical support / MODBUS/TCP CONNECTION Problem
« on: August 24, 2017, 04:02:26 AM »
Hello Folks,
 I am using Trilogi PLC FDMD88-10 model and I am using it for Industrial purpose. I was trying to Connect with a Cluster Controller(MODBUR RTU and MODBUS TCP both are supported)  to Read Modbus Registers value from it through MODBUS/TCP.  I could not connect with CLUSTER CONTROLLER. I have given proper IP address of Cluster Controller, Proper Input Register address also I have checked the Connection Status from INPUT$() function it also returns nothing. I don't understand what is my fault. I have uploaded my PLC code my humble request is please check the code and help me to solve my problem.

5
Technical support / How to protect my PLC code from others?
« on: June 22, 2017, 09:20:19 PM »
Hello folks,
I am using Trilogi PLC FDMD88-10 model and I am using it for Industrial purpose. So I  would like to know how can I secure my code for confidential purpose such that no one can copy, view my code. what are the procedure to authenticate my Code?
Please suggest me. Thank you.

Pages: [1]