Roger, You are are right, DATYPE=3 should allow for the 06 command to be sent. The problem is that I need to write a number into the modbus register to engage the relays in the field unit and not a single bit. For example, I need to write a hex 0900 for relay 1, 0A00 for relay 2, 0B00 for realy 3, and so on. The output from the GDEV block is a boolean ( COUT_1 or COUT_2). Each Six Realy Board unit has 6 relays and we have three pumps configured per SRB unit. Relay 1 starts pump 1, relay 2 stops pump 1, relay 3 starts pump 2, relay 4 stops relay 2, and so on. Therefore, when I start pump 1 (COUT_1 in the GDEV block is set to true) I need to write a 0900 into an ouput register and sent it with the 06 command. If I stop the pump (COUT_2 set to true) a 0A00 has to be written. The question is how I write these values into the output register whenever the parameters COUT_1 and COUT_2 of the 3 pumps are set. Regards, Douglas Roger Smith <RSmith@xxxxxxxxxxxxxxxx>@freelists.org con fecha 28/11/2001 12:25:09 PM Por favor, responda a foxboro@xxxxxxxxxxxxx Enviado por: foxboro-bounce@xxxxxxxxxxxxx Destinatarios: "'foxboro@xxxxxxxxxxxxx'" <foxboro@xxxxxxxxxxxxx> CC: Asunto: Re: [foxboro] Connecting Limitorque & Integrator 30 If your MDSCAN block is configured with DATYPE=3, function code 06 should be used for the writes. While this data type is for registers ("analog" type data or Modicon 16 bit data type 4xxxx), you can still access individual bits with CIN, COUT, MCIN, MCOUT, etc. For example, if the MDSCAN has DATYPE=3, and RDADDR=1, a COUT can be configured for PNT_NO=1.2 to set the second bit in that register. I believe the same should be true with the MOVLV but I have always used COUT's. You can actually read several contiguous registers, treating some as analog (using AIN, AOUT etc) and others as Boolean. I can't remember if the bit mapping between Foxboro and Modicon is reversed (i.e. low order versus high order) but once you figure that out it should be simple. Roger B. Smith Process Control Engineering Waste Water Services City of Atlanta -----Original Message----- From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On Behalf Of DOUGLAS NAVARRO Sent: Wednesday, November 28, 2001 10:33 AM To: foxboro@xxxxxxxxxxxxx Subject: [foxboro] Connecting Limitorque & Integrator 30 Does anybody have any experience connecting Limitorque's two wire valve system (with UEC and Six Relay Board units) via an I/A Series Integrator 30 for modbus ? We are trying to configure an Integrator 30 to be connected to the DCS port of a DC100 master station for Limitorque's two wire system. We are using the MOVLV and the GDEV blocks to configure valves and pumps respectively, but we have encountered a problem with sending commands to the SRB units whose 6 relays(K1 throuhg K6) are commanded by the modbus 06 command (Preset single register) instead of the 05 command (Force single coil) which is used for UEC units. As far as I can see the output of the MOVLV and GDEV blocks are boolen values suited for the 05 command and not an integer value which would be required for the 06 command. I would appreciate hearing from anyone who has tackled this situation before. Regards, Douglas *************** PDVSA4S INTERNET E-MAIL USE *************** This message may contain information solely of the interest of PDVSA or its businesses. Copying, distribution, disclosure or any use of the information contained in this transmission is permitted only to authorized parties. If you have received this e-mail by error, please destroy it and notify webmaster@xxxxxxxxx or the sender by reply email. ****** USO DEL CORREO ELECTRONICO DE PDVSA HACIA INTERNET ****** Esta nota puede contener informacion de interes solo para PDVSA o sus negocios. Solo esta permitida su copia, distribucion o uso a personas autorizadas. Si recibio esta nota por error, por favor destruyala y notifique al remitente o a webmaster@xxxxxxxxxx ___________________________________________________________________ This list is neither sponsored nor endorsed by The Foxboro Company. Use the information obtained here at your own risk. For disclaimer, see http://www.thecassandraproject.org/disclaimer.html#maillist list info: //www.freelists.org/list/foxboro subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave ___________________________________________________________________ This list is neither sponsored nor endorsed by The Foxboro Company. Use the information obtained here at your own risk. For disclaimer, see http://www.thecassandraproject.org/disclaimer.html#maillist list info: //www.freelists.org/list/foxboro subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave *************** PDVSA´S INTERNET E-MAIL USE *************** This message may contain information solely of the interest of PDVSA or its businesses. Copying, distribution, disclosure or any use of the information contained in this transmission is permitted only to authorized parties. If you have received this e-mail by error, please destroy it and notify webmaster@xxxxxxxxx or the sender by reply email. ****** USO DEL CORREO ELECTRONICO DE PDVSA HACIA INTERNET ****** Esta nota puede contener informacion de interes solo para PDVSA o sus negocios. Solo esta permitida su copia, distribucion o uso a personas autorizadas. Si recibio esta nota por error, por favor destruyala y notifique al remitente o a webmaster@xxxxxxxxxx ___________________________________________________________________ This list is neither sponsored nor endorsed by The Foxboro Company. Use the information obtained here at your own risk. For disclaimer, see http://www.thecassandraproject.org/disclaimer.html#maillist list info: //www.freelists.org/list/foxboro subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave