Schneider M221 Data logging

rjgabasa

Member
Join Date
Sep 2020
Location
philippines
Posts
1
Hello, pleasant day to all.

I am new to Schneider M221 plc programming using Machine Expert-Basic, I have read that one its features is data logging. I want to data log the pH value every hour from my Analog Input.

Stored my AI(%IW1.0) to %MW2, the converted into float (INT_TO_REAL) in order to scale it 0-14pH (%MF16). So i can call this address when i need it for data logging. Then i configured %DATALOG0(Historical data, 500kb, add timestamp) and put %MF16. I drag and drop the datalogging FB on the rung and set timer every minute(testing) to execute a data logging command. it seems not working, DONE is not giving value(True) if logging was successful.

My m221 unit is due to arrive next month. So i tried to test it using simulator only. Do I need the PLC unit to make it work?

Can anyone help me? any inputs would be a great help, thank you good sir's/ma'am's.
 

Similar Topics

Hello All, I am stumped on how to convert a %MW to a %MF using Machine Expert Basic and a Modicon M221. The help files show a word to a double...
Replies
1
Views
70
Hello, I need to access the bits from the fire system control panel through RS-485. So, I used Read Var block to read from the panel...
Replies
0
Views
212
Hi, I am stuck with these SE cartridges, I am trying to add a second serial port rs485 to a M221 PLC. What is the difference between TMC2CONV01...
Replies
1
Views
124
I am using a M221 PLC (TM221CE24R) which provides me 1 Rs485 port, which I am already using to communicate with a sensor (Rs485/Modbus). My...
Replies
1
Views
756
Hello, I am programming a schneider modicon M221 in machine expert basic. I am trying to calculate a value and then assign it to another memory...
Replies
3
Views
1,401
Back
Top Bottom