09-24-2012 10:25 PM
Here is an iquiry I sent to Automationdirect tech support last week.
I have not had a response from them yet so I thought I would throw it up here.
Hello, I am starting a new project with the P3K and I am using Lookout 6.5. This is my fourth installation with this combination and I have learned a bit more about the Modbus communication each time. I use the Modbus serial object in Lookout to communicate via RS-232. With my first project, I learned to set the "Modbus Server Settings" in the P3000 software to map to a single 16 bit Modbus register to get the communications working with Lookout and making sense with the analog registers. For a 10V input I would linear scale in the PAC 0 to 65535 = 0 to 10000 then in Lookout I simply divide by 1000 to get the decimal in the right place. On the most recent project, I discovered I could map/scale my analog inputs to 32 bit foats, select the "map to two consecutive integers" in the P300 software properties and then in Lookout, I could read the register properly with an "F" like "modbus1.F400001". Now I have a P3-16DA-2, ±10V output module. I can't get the float to work and it crashes the communication repetitively. It will communicate properly if I stick to 16 bit Modbus register for the "Analog Output, Integer, 32 bit" on the Modbus server settings. However, I have the register swap issue reminiscent of the DL205 bi-polar input. It outputs 0 to 10V from 0 to 32767 and -10 to 0 from 32768 to 65535. I remember having to add logic in the DL260 PLC and then in Lookout I would use the numerical IF; "(nif(DL3.C102,DL3.V2102*-1,DL3.V2102))*-1" What a pain that was. Is there an easy solution? Thanks in advance. John B
10-09-2012 12:16 PM
Bipolar setups are a pain, it seems your if() is similar to what we did as well. Added a rung and set a coil...
Only have a few and have not used the P3000 myself,