Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Technical support / Re: Input[1] to Input[5] Operation
« Last post by uknanoman on January 06, 2023, 07:00:29 PM »
Hi Gary
          Thanks for this response. On the face of what you are explaining it would appear that the wx100 must default to set system 16,5 because inputs 81 onwards seem to retain a forced state via the monitor I/o control or as I have found out by using input[6]=dm[10]. In these cases it seems not to be overwritten with a 0. So with your suggestion in mind I will try a set system 16,1 and see how it responds when I get back to work next week. You may be wondering at my thought process regarding storing of (data) at input points. It is simply that because the (data) is data related to physical inputs from a remote i/o block via modbus, I prefer to map them into into an input area of the plc for the clarity of inputs being inputs and subsequently being prefixed with an (i) eg i81 when looking at a ladder diagram. As you have rightly perceived data is after all data whether it is I/O or other my problem is that I can get a bit picky sometimes about how I want that data to appear in the context of the program. Thanks for your input into this post much appreciated, I will let you know how I get on.
Regards Peter
42
Technical support / Re: Erratic Online Monitoring of I/O Tables with WX100
« Last post by support on January 06, 2023, 01:38:21 PM »
We have sent you the firmware upgrader and latest i-TRiLOGI software download links. I believe the new firmware and software has resolved your reported issues.
43
Technical support / Re: Input[1] to Input[5] Operation
« Last post by garysdickinson on January 06, 2023, 01:25:10 PM »
Your attempt to use INPUTs as general purpose data storage has a small problem. When the PLC ladder logic is running it will overwrite all of the INPUT values during each scan of ladder logic. You are using INPUTs that your PLC does not physically have but the ladder logic code does not know how many INPUTs your PLC actually has (or are actually being used) so it scans  the maximum number of INPUTs that ladder logic can handle.  This number is way more that 16. This is why your are seeing your "special" INPUTs getting cleared to 0.

I suggest that you store data in either DM[] or RELAYs. If you store your DATA in RELAYs you can make it visible on the first page of the simulator / on-line monitor.

If you insist on using INPUTs for data storage you may need to use the SetSystem 16,n statement on the the first scan of your PLC program. The SetSystem 16,n sets the number of I/O pins that will be accessed.  The "n" argument affects the number of I/Os to access. When n=1 the I/0 pins 1-16 will be scanned. When n=2 then pins 1-32 will be scanned.

SetSystem 16,n is intended to help speedup the execution of ladder logic by restricting the number of I/Os that must be processed on each pass thru the ladder logic.

I use SetSystem 16,n for it's intended purpose to speed up the ladder logic execution. It works for this purpose You will need to test and verify if SetSystem 16,1 will solve the problem that you have created. 

Gary Dickinson
44
Technical support / Input[1] to Input[5] Operation
« Last post by uknanoman on January 06, 2023, 07:57:41 AM »
Hi Support.
                In my application I am getting data from a remote i/o block via modbus and placing it into a register say dm[10].
I then used Input[2] = DM[10] to place the remote input data into the wx100 plc inputs area starting at input 17. However I have found that this area keeps clearing the data back to zero. I am using a WX TERM 8 with my WX100 so this only uses 8 inputs so I assumed that I should avoid at least the 1st 16 inputs and place the data in Input[2] area. I then used the i/o monitor to force various inputs on /off and noticed that I could only correctly set / reset inputs starting at input 81 which relates to input[6] which seems to indicate that you have reserved the first 80 inputs for remote tri-plc input useage?. Anyway its not a massive problem as I can simply place my input data by using input[6] = dm[10].
the only problem with this is that I cannot monitor on the screen, inputs 1 - 8 at the same time as monitoring inputs 81 onwards. So I was wondering if there is a system switch somewhere that can be set according to the number of input points used. In this way I can bunch my inputs on the monitor screen and see them all at the same time.
Regards Peter     
45
Technical support / Re: WX100 WIFI Connection Status
« Last post by support on January 04, 2023, 05:05:31 PM »
Thank you for the report.

We have added the following section to the Wx100 online documentation:

https://docs.triplc.com/#7304
46
Technical support / Re: WX100 WIFI Connection Status
« Last post by uknanoman on January 04, 2023, 12:39:47 PM »
Hi Support
               Thanks for the prompt response. I notice that the online manual for the WX100 doesn’t seem to document this. Is it documented elsewhere?

Regards Peter
47
Technical support / Re: WX100 WIFI Connection Status
« Last post by support on January 04, 2023, 11:18:38 AM »
You can use STATUS(22) which indicates a successful WiFi connection when it returns a 1.

E.g.

IF STATUS(22) <> 1      ' WiFi is not yet connected. Do nothing now.
   RETURN
ENDIF
48
Technical support / WX100 WIFI Connection Status
« Last post by uknanoman on January 04, 2023, 10:38:01 AM »
Hi Support
               In my current application I would like to know the status of the WIFI Connection, is there a specific bit I can test that gives me the connection state of the WIFI so that I can make decisions based on whether it has connected to a WIFi network or not? I did have a look at the STATUS(14) bit 6 command but I am not sure if this distinguishes between the fact that the WX100 is connected to a wireless network or that a client (remote user) is connected through that network? My end game here is to only allow my application main code to run if the wx100 has connected to the local WIFI network and if not, then display a message to indicate the fact. Some extra clarification would be appreciated.
Regards Peter     
49
Technical support / Re: Erratic Online Monitoring of I/O Tables with WX100
« Last post by uknanoman on January 03, 2023, 04:29:43 AM »
Hi Tech Support
                       Here's an attached screen shot of the problem when just after the failure occurs. In this case the monitoring lasted for about 10 secs before locking. The time period before locking does appear to be variable. The dos window contains everything from a clean restart of the iTrilogI so it seems to include the initial connection data log.

Regards Peter
50
General Discussions / Re: PC6 File naming
« Last post by BetterBath on December 26, 2022, 02:39:19 AM »
Thank you for sharing the information.
HandymanRoofers
Pages: 1 ... 3 4 [5] 6 7 ... 10