Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - support

Pages: 1 ... 10 11 [12] 13 14 ... 212
166
Technical support / Re:Welding SCR application
« on: May 12, 2017, 11:10:10 PM »
Unfortunately it is not possible to use PWM to control the firing angle.

To properly control the firing angle you need a zero crossing detection and then compute the time lag until the SCR/TRIAC is fired.

The Fx2424 and Fx1616-BA and any SmartTILE-Fx based custom-made PLC support such built-in capability.

Please refer Chapter 18 (light Dimmer Control) of the Fx2424 User Manual for details.

You can download any user manuals from: http://www.triplc.com/documentations.htm

Thank you.

167
Technical support / Re:Blue Tooth
« on: April 28, 2017, 09:10:24 PM »
The SmartTILE, FMD and Nano-10 PLCs are all able to handle up to 10 incoming Ethernet connection simultaneously. Up to 5 Modbus TCP and up to 8 Hostlink connections are possible. The beauty of Ethernet is that you don't need 10 connectors to handle 10 incoming connection because the connections are virtual.

To understand how it works, you can try to open up a few i-TRiLOGI programs on your PC and connect all the i-TRiLOGI to the PLC simultaneously. Now if you change an I/O on one window you will see the same changes showing up on the other i-TRiLOGI instances. You can also connect a Modbus client software (e.g. the Modbus Poll program) to the PLC and you will see the Modbus register that are mapped to the I/O that you have changed showing the new values.

The PLC handles connection from client software automatically. So even if you have just transferred a blank program into the PLC and you can still use i-TRiLOGI clients and Modbus TCP clients to connect, monitor and change data on the PLC.  Give it a try and you will understand how it works.

168
Technical support / Re:Blue Tooth
« on: April 28, 2017, 11:17:16 AM »
Thanks again for the feedback. There is CAN bus hardware on the SmartTILE but no firmware support was developed for it. We are aware that CAN bus is widely used in car industry (as in in car entertainment, power windows etc) In Europe CANopen and CiA are widely used, but protocols that runs on CAN bus appear not too often mentioned for industrial automation in North America.

In any case today Ethernet support has become the most important communication interface, for which all our Super PLCs can handle very well. Unlike some PLCs that deploy Ethernet to serial interface that convert high performance Ethernet into low performance serial interface and therefore inherently limited, the Ethernet port on the TRi Super PLCs is tightly integrated into the hardware and firmware and therefore it is able to handle connections by multiple clients at the same time and support both Modbus TCP and Ethernet Hostlink command protocols simultaneously. It can even connect to a remote server to upload data to the cloud while simultaneously handle communication requests from all the connected clients.

169
Technical support / Re:Blue Tooth
« on: April 24, 2017, 03:54:26 PM »
Thank you for your feedback.

The current Super PLCs do not have built-in Blue-Tooth radio. So in order to use Blue Tooth one may need a RS232 to Blue-tooth converter. But that may not be what you want to use.

Our engineering has been evaluating some new generation of MCU with BT radio built-in and some time in future there is a plan to deploy a PLC with built-in BT or 802.15.4 radio. It could be a generic PLC or it could also be deployed in the form of a purpose-built PLC (such as the ALEC - http://alec.triplc.com).

At this point there is no firm plan for a release date yet unless there are confirmed volume requirement that can help accelerate the plan to release such a product.

170
Technical support / Re:StepMove and StepMoveAbs Documentation
« on: April 14, 2017, 03:29:05 PM »
Thank you for your comments and we should put that into the documentation. We will send the information to the relevant persons to update the programming manuals.

Have a Happy Easter weekend!

171
Technical support / Re:Data Logging
« on: March 28, 2017, 01:37:28 PM »
If you have extended file memory, then all you need to do is to use PRINT #8 to open a file, and then write data to it and close the file at the end. The file is now available for download via your web browser.

Note that the file names must be Zxxx.yyy e.g. Z001.TXT, Z002.CSV etc. You need to allocate enough data file space for the file.

Now you can point your browser to http://192.168.1.5:9080/Z001.TXT

and the file will appear on your browser.

172
Technical support / Re:Defaulting a PLC
« on: March 02, 2017, 09:24:40 AM »
1) When you transfer a new program to the PLC (say a blank program) the old program will automatically be wiped out.

2) As for the non volatile memory accessible by SAVE_EEPROM, you can run a small FOR NEXT loop to clear out everything:

E.g.

FOR I = 1 to 6000   ' all User FRAM data for Fx PLC
     SAVE_EEP 0, n  ' clear all the FRAM to 0
NEXT

3) If you are using the retentive parameters by turning on DIP switch #1, simply turn it off and do a power on reset to clear the retained memory data (A to Z, A# to Z$ etc).

4) You may also want to reset the Ethernet parameters. You can go to iTRiLOGI and select "Controller" -> "Ethernet & ADC Configuration" and then click "Factory Default" which will populate all the fields with default data. Then click "Save Parameters to PLC" button to transfer the settings to the PLC.

5) One more area to reset is the server file space where you may need to use FTP client software such as FileZilla to transfer either the default web app (http://www.triplc.com/yabbse/index.php?board=2;action=display;threadid=2090) or your own webapp to the PLC.

Once you have covered the above the PLC would pretty much be set back to the factory default settings.



173
Technical support / Re:DM TO ASCII
« on: February 22, 2017, 10:36:57 PM »
Try the following custom function:


A$ = "HELLO"

J = LEN(A$)

' Convert A$ into DM with each DM contains 1 character.
FOR I = 1 to J
   DM = ASC(A$,I)
NEXT

' Now convert DM[1] to DM[5] back to String and store in B$

B$ = ""

FOR I = 1 to 5
   B$ = B$ + CHR$(DM)
NEXT

174
Technical support / Re:Variables
« on: February 22, 2017, 10:21:04 PM »
A to Z, A# to Z# and A$ to Z$ are different variables and they occupy different memory space inside the PLC. Yes they can appear in the same program and within the same custom function without any conflict.

Note that TBASIC does not automatically convert string type to numeric type (integer and floating points are both numeric). But there are functions that allow you to convert from one variable type to another variable type. E.g. STR$(n), HEX$(n), VAL(n) HEXVAL(n).  A# to Z# can be assigned to A to Z with some loss of precision.

E.g.   A = Z#*1.2345/A#   ' the floating point computation result is converted to integer and assigned to A.

175
Technical support / Re:SmartTile Digital I/O Expansion Timing Bug
« on: February 22, 2017, 09:55:46 PM »
Thank you for your report and suggestions. You obviously are very familiar with how the SmartTILE-Fx expansion output circuit works - which is by cascading 8-bit shift registers over multiple stages throughout the expansion I/O space.

The shift registers data are shifted at the rising edge of the shift clock and therefore the cascading output Q7S changes state during the rising edge of the shift clock and not during the falling edge of the shift clock.

The SmartTILE-Fx board actually has already implemented a first stage of digital expansion circuitry to drive output 1 to 4 and the 3 status LEDs (RTC.ERR, PAUSE and RUN_ERR). The CPU firmware only has control to the data line input to this first stage and it has to drive the shift clock and data line in the correct sequence so that output 1-4 and the 3 status LEDs can work correctly. The Q7S output from this first stage of shift register then connected to pin B20 for use by user’s expansion I/O board. In other words, the CPU firmware has no control of the timing of the signal appearing on pin B20.

The CPU does have direct control over the shift clock signal. However, in order to  increase the drive current of the shift clock provided to the expansion board, the shift clock signal from the CPU passes through an additional stage of buffer driver (74HCT245) both to increase the drive current as well as to convert the 3.3V logic output from the CPU to the 5V TTL logic level and this is connected to the B19 line.

A potential issue with cascading the shift register is the different propagation delay between the shift clock and the data input arriving in the later stage. A delay on the shift clock signal pin can mean that the data is not shifted correctly. To resolve that problem we always add a 4.7nF capacitor to the data line at each stage to ensure that the propagation delay of the shift clock will not cause a problem to the next stage. With this 4.7nF caps added the circuit is much more robust and forgiving even when driven over a longer distance (such as through several feet of expansion cable)

In the SmartTILE Design Guide Figure 4.6 the 4.7nF caps is shown on the schematic diagram for the digital I/O expansion.

If your carrier board does not have the 4.7nF but it worked previously it may be working at the margin. For standard logic parts such as 74HCT595 and 74HCT245, we use a mix of brand such as ON semi, TI, Fairchild and NXP. Even though they are the same logic part number their timing characteristics such as propagation delays are not always identical and that may explain why your expansion board works previously but not this time.

We would love to be able to help you fix this issue with a firmware change. However,  as the B20 signal comes from the shift register output from the 1st stage expansion circuit on board the SmartTiLE-Fx, it is beyond the control of the firmware and it is unlikely an issue that can be fixed by firmware.

We suggest that you add the 4.7nF ceramic cap to your carrier board design. Meanwhile you should be able to resolve this issue by soldering a 4.7nF through-hole ceramic capacitors between PIN B20 and the +5V power circuit at the bottom of your PCB.









176
Technical support / Re:PWM output
« on: February 21, 2017, 09:47:18 AM »
Do remember that the IRF530 is N-channel MOSFET. You have to wire its Drain to the low side of the load, and the Source to the 0V of the load. The +12V is applied to the high side of the load.  

IRF520 is turned on by a positive gate voltage of >= 10V with respect to Source (S terminal). If your IRF520 is turned ON fully regardless of the PWM waveform you should use a multi-meter to check the voltage at the gate. If the voltage is low but the IRF520 is fully turned on it means that it could already have died and short circuited. Try changing the MOSFET.

IRF520 is a pretty old MOSFET. For high current application you can look for many new generation of MOSFET with very low RDS On and cost not much more.

E.g. STP160N3LL is N-channel MOSFET that can handle 120A of current continuously (with heat sinking, of course but the RDS is pretty low - 3.2m ohm @60A)

177
Technical support / Re:PWM output
« on: February 15, 2017, 08:52:39 AM »
When you said the SSR is too slow

1) Are you using one with a DC output driver? The AC output type (TRIAC) will not work

2) What frequency are you driving the SSR? You need to check the maximum frequency that the SSR can handle without distorting the output waveform and keep your PWM frequency well below the maximum.

If you do not want to use off-the-shelf SSR you should still construct a circuit with an opto-isolator and a MOSFET output driver to drive your motor since the current is so high there are lots of inductive noise arising from switch the motor coil. Ensure that you have used a high speed snubber to bypass the inductive kick.  Use a separate power supply for the motor.

When a MOSFET drives 7A of current you have to mount it on a heat sink due to the power dissipated at the junction from the finite ON resistance on the solid state driver.


178
Technical support / Re:Missing Screen Numbers in Flexsoft
« on: February 14, 2017, 10:41:25 AM »
We are currently unable to find a permanent solution in the software for the cases where eligible screen numbers cannot be overwritten (those not tied to tasks).

However, the HMI department is able to manually recover programs with such behaviour, so please email your Flexisoft program with a list of the screens that don't show the screen number in the properties window to support@triplc.com and it will be forwarded to the HMI department for recovery.

179
Technical support / Re:Number being forced into DM[1036]
« on: February 14, 2017, 10:29:02 AM »
Since you have also posted about the FP4030MR HMI, is it possible that the value is being written to DM[1036] from the HMI?

Or if you have another device or software transmitting data via Modbus, could that be the reason?

It is also possible that your program is looping through DM[]s with a variable index and you would not be able to directly search for DM[1036] in this case. Please check your FOR and WHILE loops that reference DM[]s in case the index could reach DM[1036].

If not, please email your program to support@triplc.com

180
Technical support / Re:Found bug in FlexSoft
« on: February 14, 2017, 10:22:53 AM »
Thanks for letting us know. We are investigating the issue with the HMI department anyways in case the behaviour repeats.

If it does happen again, a potential workaround is to set different bits as the release task for each key individually. Then your PLC program should set a third bit only if the first two bits are set by the HMI. It's effectively the same, but requires some additional programming in the PLC.

Pages: 1 ... 10 11 [12] 13 14 ... 212