pascal Posted January 13, 2022 Report Share Posted January 13, 2022 Hi, maybe I'm doing something wrong or I'm missing something in my mind 😁 I have a URB-TCP remote IO with expansion module DI02E (fast counter) i'm using the first input as a counter up -> counter mode 0Xb02 so unilogic is making in IO -> URB adapter input a page with 2 inputs Uint32 and a output page with some bits ( state of the countermode) when I put a 24V signal pulse to my input , then I hoped the value of the input value 0 (Uint32) would go from 0 to 1, and when giving another pulse to the input he goes from 1 to 2 and so on.... but no, nothing is changing ...... the value of the counter is staying at 0.... Am I missing something here ? Quote Link to comment Share on other sites More sharing options...
pascal Posted January 13, 2022 Author Report Share Posted January 13, 2022 did some tests..... when configuring the input as counter up with reset (mode 0xb5), then it works fine.... So a bug in unilogic ? Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted January 13, 2022 MVP 2022 Report Share Posted January 13, 2022 Hi, i do not find diagram in manual but i think you must connect 0 Aph Input+ Ch# 0 to signal pulse source, and 1 Aph Input - Ch# 0 to commom 0V (-24Vpower supply). Quote Link to comment Share on other sites More sharing options...
pascal Posted January 13, 2022 Author Report Share Posted January 13, 2022 hardware is ok, pulse output on Aph+ input and 0VDC on Aph-input but like I said, when configuring channel 1 as up counter with reset (Bph input) then it works like it should be. I made a movie of this on youtube..... first counter configured as conter up with reset (mode 5) and then you can see that the value of the input is changing afterwards I change the configuration into mode 2 (only up counter) and then you see that the value is "frozen" Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted January 13, 2022 MVP 2022 Report Share Posted January 13, 2022 One quastion. Is it correct (possible) to change IO module mode on the fly? Maybe some restart or power cycle needed? Quote Link to comment Share on other sites More sharing options...
pascal Posted January 14, 2022 Author Report Share Posted January 14, 2022 yes you can... without restarting the PLC ! But problem is solved by support of Unitronics -> due to the changing of the hardware of the DI02E module, the numbering of the modes are changed ! (but not the documentation 😬) Quote Link to comment Share on other sites More sharing options...
AlexUT Posted January 14, 2022 Report Share Posted January 14, 2022 Hi pascal and all, There was unit FW changes and we will update UniLogic for the next release, currently to solve this: Don't configure on HW config, but use the 4 bits for each channel on the struct to set the mode according to the mapping below: The spec was changed by the manufacturer since FW version 1.02 (component change due to shortages). The module will work, just numbering changed, so UP is 0x00 and Frequency is still 0x0D but both channels have to be set like that: Hope this solve your problem. BR, Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted January 14, 2022 MVP 2022 Report Share Posted January 14, 2022 @AlexUT Please take this the right way. Surely such a fundamental change should have had a warning notice and the above details as a slip of paper in the box with the unit. Pascal did everything "correctly" yet wasted lots of time due to the differences involved. It's fine to change components due to shortages, but let the user know so they aren't chasing their tail. What do those who don't even use the forum do? Scratch head? Bad mouth the product? cheers, Aus Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted January 15, 2022 MVP 2022 Report Share Posted January 15, 2022 I support Ausman's words about the need to provide information. As we can see from this topic, at first I thought that the connection of the wires to the module was wrong, but at the same time I could not find the right diagram in the documentation that would illustrate this. Without the wiring diagram and due to the erroneous table of modes - we have a complete lack of information about this new product. Quote Link to comment Share on other sites More sharing options...
pascal Posted January 17, 2022 Author Report Share Posted January 17, 2022 Hello, I've found a brief diagram in the help page online : https://support.unitronics.com/index.php?/selfhelp/view-article/Remote-IO---URD-0200E but the documentation on this page was also not updated concerning the different modes of the IO card... it's like the help file of unilogic..... outdated ! 😱 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.