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 - bahpulo

Pages: [1]
1
Technical support / Control outputs using DM
« on: May 30, 2012, 12:15:44 PM »
Am back again, can anyone help. I want to be able to switch an output on and off using DM. How can I possibly do this?
I used the following codes below but seems not to be working.
if DM[1]=1 then
setio pump
endif

if DM[1]=0 then
ClRIO pump
endif

2
Technical support / 32 bit modbus slave
« on: May 21, 2012, 12:01:25 PM »
Can anyone please help? I have a flow meter which can speak either modbus ASCII or modbus rtu. The data format to read the modbus registers through the rs485 are in the form of real4. I am using a nano 10 plc to connect to this flow meter, so that I can read the registers into the nano 10 plc. I need to be able to do this so that my scada software can read data from the nano 10. However since nano 10 is 16 bits, I  want to know how I can read 32 bit real registers from the flow meter  into the nano 10 using modbus ASCII or RTU through the rs485 port.

Pages: [1]