necyil Member N Join Date Nov 2004 Location Turkey Posts 102 Mar 3, 2017 #1 Dear All, I try connect CP342-4 to remote ı/o Conection look like ok. But i cant find I/O address. you can find my configuration on picture. Many thnak for all help fot that config. what is input adresses? best regards
Dear All, I try connect CP342-4 to remote ı/o Conection look like ok. But i cant find I/O address. you can find my configuration on picture. Many thnak for all help fot that config. what is input adresses? best regards
adfox Member Join Date Jun 2006 Location Poland Posts 334 Mar 3, 2017 #2 Address Your DI from 0. Create a DB consisting of Array[0.63] of byte, point the address to DP_RECV as for example DB100.DBX0.0 BYTE 64. You'll find Your Inputs there.
Address Your DI from 0. Create a DB consisting of Array[0.63] of byte, point the address to DP_RECV as for example DB100.DBX0.0 BYTE 64. You'll find Your Inputs there.
necyil Member OP N Join Date Nov 2004 Location Turkey Posts 102 Mar 4, 2017 #3 many thanks for your answere..may you send me a DB with array? i have anotheer im153 conneted 8X32 module DQ
many thanks for your answere..may you send me a DB with array? i have anotheer im153 conneted 8X32 module DQ
adfox Member Join Date Jun 2006 Location Poland Posts 334 Mar 4, 2017 #4 DBX0.0 corresponds to Your I0.0 on your CP342-5 from DP_RECV DB, in DP_SEND DB it will be transferred to outputs. http://imgur.com/RkUNUaq
DBX0.0 corresponds to Your I0.0 on your CP342-5 from DP_RECV DB, in DP_SEND DB it will be transferred to outputs. http://imgur.com/RkUNUaq
necyil Member OP N Join Date Nov 2004 Location Turkey Posts 102 Mar 4, 2017 #5 Dear Adfox, I will add 6 IM153-1 to Cp342-5. All D I/O. For every IM153-1 Send and recive function? or just one send/recive function for all IM? many many thanks for your answers best regards
Dear Adfox, I will add 6 IM153-1 to Cp342-5. All D I/O. For every IM153-1 Send and recive function? or just one send/recive function for all IM? many many thanks for your answers best regards
adfox Member Join Date Jun 2006 Location Poland Posts 334 Mar 4, 2017 #6 DP_RECV for inputs DP_SEND for outputs. You need one set of those instructions per CP.
necyil Member OP N Join Date Nov 2004 Location Turkey Posts 102 Mar 6, 2017 #7 cp342-5 Dear Adfox, Mant thanks for you help I was try but cant see when input. You can see some picture on attached. On my hwconfig. alos added 1 cp343-1 Lean. Possible use both cp with cpu317? Need your idea about what is my mistake best regards nec
cp342-5 Dear Adfox, Mant thanks for you help I was try but cant see when input. You can see some picture on attached. On my hwconfig. alos added 1 cp343-1 Lean. Possible use both cp with cpu317? Need your idea about what is my mistake best regards nec