The following information may have errors; It is not permissible to be read by anyone who has ever met a lawyer. Use should also be confined to Engineers with more than 370 course hours of electronic engineering and should only be used for theoretical studies. All content entered becomes and is (C)2007 Transtronics, Inc. the property of Transtronics, Inc. Rest assured that your contributions won't be sold and will be publicly available.
T-PDS
From Transwiki
[edit] Starter Questions
[edit] What is Ladder Logic?
[edit] How do you find the addresses of the inputs and outputs?
- Connect the PLC to your computer in halt mode - set the comport set up under Option/Communication. Then run PLC/IO_allocation/I/O_allocation. Click the Automatic I/O Allocation button. By toggling the "Toggle Address/Number of Words setting you can see the size and the starting address point of the inputs and additional slots listed.
[edit] How do you work with analog values?
The input data is read as XW000 (with the zeros replaced with an address) and the analog outputs are written similarly as YW00.
The following snipit of code is an example of working with and analog input at address 0 and an analog output at address 4
| | 3|[XW000 * 10000 -> D0601.D0600][D0601.D0600 DIV 04000 -> D0602] | | | 4|[D0602 MOV D1000]------------------------------------------------------| | | 5|[D1000 PID3 D1010 -> D1030]--------------------------------------------| | | 6|[D1030 * 04000 -> D0605.D0604][D0605.D0604 DIV 10000 -> D0606] | | | 7|[D0606 MOV YW004]------------------------------------------------------|
[edit] Mode mismatch error
- Mode refers to Halt, Run or Stop and you will need to be on line to change that from the software. The error Mode mismatch refers to trying to do some operation that requires the PLC to be in a certain mode that it is not in. You will also get this error if the switch on the PLC is in the halt mode.
[edit] First-time errors
- Be sure that coils are only defined once. The same goes for anything that gets written to (registers, counter Registers).
- Don't forget the end statement
[edit] Fault light errors:
- Reuse of counter registers can cause this.
[edit] Sequence Instructions:
- Don't try to use the STIN in a line that doesn't have a STOT. Use a contact with the Rxxx that specifies the register for an output instead.
[edit] Changing Block and program number
- This is hidden in the Windows menu. To use the high speed counter with it's own interrupt you will need to put the interrupt in it's own program block.
[edit] Computer Link
- Be sure SW38 = 0
[edit] Operator interface on a T2
- You will probably want to set it up so you program via the auxiliary port. to do this you start TPDS with the T2 plugged into the programming RS232 port. Then under
Options/Communications/Setup com link. You want to set up the aux as the programming port. The Cable to connect the Operator interface to a T2 is NOT a standard serial cable - you need to have the Toshiba one.
[edit] How do you link a PLC with a MODEM?
- Download modem_control for documentation.
[edit] Subroutines
To get to the sub routine function click on the icon on the top right hand side of the screen to change to the extra screen.
[edit] Timer ranges
The timer ranges in the T-Series PLCs are fixed
| 0.01 Sec | 0.1 Sec | |
|---|---|---|
| T1 | T0-T31 | T31-T63 |
| T1S | T0-T63 | T64-T255 |
| T2 | T0-T63 | T64-T255 |
If you are moving a program in a T1 to a T1S or T2, setting for timers T32-T63 will be different.
[edit] Links
- Toshiba PLCs This wiki
- Toshiba PLC Pricing
