Posted 17 Mar 2016 I have a OMRON PLC CJ2M and a SCU42 Modbus Card . I am trying to communicate with a Danfoss FC051 by Modbus protcol . But I can not find a testprog that lets me talk between the SCU & FC051 . Is there some one that can help me with a example ( test ) prog Share this post Link to post Share on other sites
Posted 18 Mar 2016 Download this file and use protocol macro to load to your SCU42 card. http://forums.mrplc.com/index.php?/files/file/867-easy-to-use-modbus-rtu-master-for-cp1l-cp1h-cj1-cj2-cs1/ Share this post Link to post Share on other sites
Posted 21 Mar 2016 Thanks Jay . wil try if the program works . I let you if Y encounter any problems . Share this post Link to post Share on other sites
Posted 21 Mar 2016 Hallo Jay . If I tell teh program I am using a CJ2M plc it shows these warnings . WARNING: Symbol Consecutive_Writes's data type (INT) is not compatible with the data type (UINT) for this instruction operand at rung 8 ( 6, 0 ). [Ladder Section Name : Polling] WARNING: Symbol Consecutive_Writes's data type (INT) is not compatible with the data type (UINT) for this instruction operand at rung 0 ( 2, 1 ). [Ladder Section Name : Responses] WARNING: Symbol TemporaryStartingDMErrorLocation's data type (DWORD) is not compatible with the data type (INT) for this instruction operand at rung 3 ( 6, 16 ). WARNING: Symbol TemporaryStartingDMErrorLocation's data type (DWORD) is not compatible with the data type (UINT) for this instruction operand at rung 3 ( 1, 16 ). WARNING: Symbol TemporaryStartingDMErrorLocation's data type (DWORD) is not compatible with the data type (DINT) for this instruction operand at rung 3 ( 6, 12 ). [Ladder Section Name : PMCR] [Ladder Section Name : END] CJ1CJ2CS1ModbusSinglePort - 0 errors, 32 warnings. What do I have to do to correct this ? regards Johan Share this post Link to post Share on other sites
Posted 22 Mar 2016 Don't worry about warnings; just worry about errors. They're just data type issues and won't affect the program. Share this post Link to post Share on other sites
Posted 24 Mar 2016 Hallo Jay . I have a erh light on . how do I correct this ? Share this post Link to post Share on other sites
Posted 24 Mar 2016 Hallo Jay . I am have a error on the SCU42 unit . the error log is reponding Error Code 0301/0103 Protocol macro operation error and I do not know how to correct this . With rung do I need to change I just want to read these registers . Function code 03Hex Read Holding Registers Fieldname Example Description Slave Adress 05 Hex Adress 5 Function 03 Hex Read holding registers Starting Adress Hi 0B Hex Start adres register 2910 (2909 base 0) Starting Adress Lo 5D Hex No. Of Registers Hi 00 Hex 6 registers No. Of Registers Lo 06 Hex Error Check (CRC) - Share this post Link to post Share on other sites
Posted 25 Mar 2016 Did you load the psw file using protocol macro? Share this post Link to post Share on other sites
Posted 30 Mar 2016 Hallo Jay . I have loaded the psw file into the PLC , but then encounter a connection error . I used this Ethernet (Fins/TCP) to connect to the PLC . Network : 1 Unit : 1 But after loading the pws file to the plc . I could not connect the plc with the setting above , and I can only use Ethernet/IP the alarm is gone but it looks like the program cannot find the SCU42 unit . If you want I can attatch the program to you so you can mark where I went wrong . regards Johan Share this post Link to post Share on other sites
Posted 30 Mar 2016 What is the unit Number of the SCU42? Share this post Link to post Share on other sites
Posted 1 Apr 2016 The unit number is 2 try the numbers from 2 untill 15 but still no luck . this my i/o table . Share this post Link to post Share on other sites
Posted 2 Apr 2016 The program is setup for Unit 15. Also load the .psw file to Unit 15 with CX Protocol Share this post Link to post Share on other sites
Posted 7 Apr 2016 Hallo Jay . I have loaded the psw file to unit 15 . but could still not communicate with the SCU42 . I have enter the port number ; coil numbers and still no communication . Is there a way that a OMRON CJ1M cpu 31 can communicate with a Danfoss FC051 VLT ?? Thanks for all the support Share this post Link to post Share on other sites
Posted 8 Apr 2016 On 7-4-2016 at 3:35 AM, Johanb said: Hallo Jay . I have loaded the psw file to unit 15 . but could still not communicate with the SCU42 . I have enter the port number ; coil numbers and still no communication . Is there a way that a OMRON CJ1M cpu 31 can communicate with a Danfoss FC051 VLT ?? I have used the EXEL program to setup the coil read request , but now I cannot find the the rungthat I have to replace . Thanks for all the support Share this post Link to post Share on other sites