Search the Community
Showing results for tags 'cif11'.
Found 5 results
-
Hallo my name is Danu, i have a CP1E wirh CP1W-CIF11 and connect to modbus RTU device, i have done with write single coil, write single register, read single register and read multiple register. But i try to write multiple register, the indicator of CP1W-CIF11 is off and if i check d memory its no data. I attached my cx programmer. Can you help me create write multiple register in cx programmer? Thank you AD4402-modbus edit edit edit edit edit.cxp
-
Hi guys, this is my first topic on this forum. I need an help with modbus communication through NX1P2+CIF12 and slaves inverter. I have never used this board, so i need an example to understand. Thanks
-
Hi dears I have one CP1H CPU and CIF11 option port on it. CP1H will be slave and I want to use modbus slave function. (ABB is Master and CIF11 is slave) I check the logic with modbus poll and i didnt have any Receive from CIF11. I have some questions: 1- which terminal in CIF11 must be used? SDA+,SDA- or RDA+,RDA- ( I use Modbus RS485 two wire ) 2- I mounted CIF11 on port 2 and in setting of port 2 I Choose RS-232C in Mode, Stop bit=1, parity=none , Data bit=8. is there another settings? 3- I set CIF11 DIP switches ( ON,ON,ON,OFF,OFF,ON) is it OK? 4-I change 4,5 DIP Switches to ON in CP1H. Thanks
-
ModBus RTU communication between Omron CP1E (CP1W-CIF11) and an Arduino using MAX485 RS485 transceiver
José Silva posted a topic in CX-Programmer
Hello everyone! Briefly introduction, I would like to communicate and test the following hardwares: 1- Omron CP1E (using an Option Port CP1W-CIF11) ; and 2- Arduino Nano using MAX485 RS485 transceiver. The CP1E will operate in "Modbus-RTU simple master" as illustrated in image 01. The arduino will be in slave mode address 1 and the library used is "SimpleModbus NG" ( https://github.com/angeloc/simplemodbusng/tree/master/SimpleModbusSlave ). Taking the sample in official manual ( https://industrial.omron.eu/en/services-support/technical-tools/downloads#cp1e ) , pages 248-253 in the "CP1E CPU Unit Software User's Manual" (Image 04) describes a sample communication to an "Inverter Slave". I want to use the Arduino Slave as the Inverter Slave just to be sure that all previous steps are correct. Therefore, I would like to know: 1- As illustrated in Image 02, Am I missing any resistors? 2- Should I connect the GND to the FG? 3- In this scenario, the DIP switch setup should be as illustrated in image 03? Only DIP4 is OFF. 4- Can I test it just forcing A641.00 and checking the DM Area Data, as shown in Image 05? The code used in it is the following: // Wiring: Arduino and MAX485 // RX0 - RO // TX1 - DI // D2 - DE/RE #include "SimpleModbusSlave.h" enum { REGISTER_0, REGISTER_1, REGISTER_2, REGISTER_3, REGISTER_4, REGISTER_5, REGISTER_6, REGISTER_7, REGISTER_8, TOTAL_REGS_SIZE }; unsigned int holdingRegs[TOTAL_REGS_SIZE] = { 0, 1, 2, 3, 4, 5, 6, 7, 8 }; void setup() { modbus_configure(&Serial, 9600, SERIAL_8N1, 1, 2, TOTAL_REGS_SIZE, holdingRegs); } void loop() { modbus_update(); } Any answer can be helpful. Thank you for your time! Regards, Jose. -
Hi, I want to sent simply frame using FB mady by JPV from Omron France. It should send just frame 01030FA60002273C to slave #1 When I check Multiway - it seems that frame is OK, but slave no reply. I checked different soft to monitor serial port and frame looks different - some bytes are sent twice. I attached screenshot and you can see the difference - Can you explain why it happened. Both frame I got when I set W30.0 in PLC and I saw just one blink LED Hmm I also attached screenshot from my serail port configuration. I tried also diiferent set of CP1W-CIF11 dip switches, but the same effect. Any clue??? thanks in advance
- 3 replies
-
- cj2m
- cp1w-cif11
-
(and 1 more)
Tagged with: