Detailed instructions for use are in the User's Guide.
[. . . ] UM - TS03 * * * - E004
PROGRAMMABLE CONTROLLER
INSTRUCTION SET (LADDER, SFC)
Main Menu Contents
PROSEC
T-SERIES
Toshiba Corporation
Important Information Misuse of this equipment can result in property damage or human injury. Because controlled system applications vary widely, you should satisfy yourself as to the acceptability of this equipment for your intended purpose. In no event will Toshiba Corporation be responsible or liable for either indirect or consequential damage or injury that may result from the use of this equipment. No patent liability is assumed by Toshiba Corporation with respect to use of information, illustrations, circuits, equipment, or examples of application in this publication. [. . . ] * When the input is changed from OFF to ON, the device specified in operand A is set ON, and all other subsequent n-1 devices are set OFF. * The data range of operand n is from 1 to 64.
Input OFF ON
Action no execution execution when input chages from OFF to ON
Output OFF ON
Operand
Device opr n A name device size starting device X Y S L R Z T. I O X W Y W S W LW R W W T Register C D F IW OW I J K Consta nt Index
O O
X0000 · [ STIZ (10) R0300 ]
programming example
Operation * When the NO-contact X0000 is changed from OFF to ON, the step sequence starting device R0300 is set ON, other devices up to R0309 are all set OFF. * When the NO-contact X0000 is OFF, the initialisation is not executed. Step sequence initialisation example (when device size n = 10)
R0009 R0008 ON R0007 ON R0006 OFF R0005 ON R0004 OFF R0003 ON R0002 ON R0001 OFF R0000 OFF ON: 1 OFF: 0
before the instruction is executed after the instruction is executed
ON
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
ON
starting device is ON, others all OFF
NOTE
* This instruction is used together with the step sequence input instruction (STIN) and the step sequence output instruction (STOT). * This instruction is executed only when the input is changed from OFF to ON.
Instruction Set
197
STEP SEQUENCE INPUT
FUN 145 Step Sequence Input (STIN) The step sequence input condition contact.
Related Instructions Step Sequence Output Step Sequence Initialize
Input
[ STIN A ]
execution output
Functions * When the input to STIN is ON and the operand A device is ON, the output is turned ON.
Input OFF ON A = OFF
Action no execution A = ON
Output OFF ON OFF
Operand
Device opr A name step device X Y S L R Z T. I O X W Y W S W LW R W W T Register C D F IW OW I J K Consta nt Index
O
· [ STIZ (10) R0300 ] X0001 [ STIN R0300 ] X0000
programming example
Operation * When the NO-contact X0000 is changed from the OFF to ON step sequence initialize (ST17) is executed. (R0300 is ON, the other devices up to R0309 are all OFF. ) * Whilst the X0001 is OFF, R0300 is kept ON. (Possible to use maximum 11 within one rung)
X0000 X0001 R0300 R0301 R0302~R0309 ON/OFF ON/OFF ON/OFF ON ON ON ON
NOTE
* This instruction is used together with FUN 144 (step sequence initialize) and FUN 146 (step sequence output).
198
PROSEC T SERIES
STEP SEQUENCE OUTPUT
FUN 146 Step Sequence Output (STOT) It is the step sequence output.
Related Instructions Step Sequence Input Step Sequence Initialize
Input
[ STOT A ]
Functions * When the input of STOT is ON, and the operand A device is set ON and the devices used with the step sequence input instructions on the same rung are turned OFF.
Input OFF ON
Action no execution execution
Output
Operand
Device opr A name step device X Y S L R Z T. I O X W Y W S W LW R W W T Register C D F IW OW I J K Consta nt Index
O
R0000 · [ STIZ (10) R0300 ] X0001 [ STIN R0300 ] [STIN R0301 ] [ STIN R0305 ] [ STOT R0308 ] [ STOT R0309 ]
programming example
Operation * When NO-contact X0001 goes ON while R0300, R0301 and R0305 are ON, R0300, R0301 and R0305 are reset to OFF, devices R0308 and R0309 are set to ON. * This instruction can be used in parallel in programming examples similar to the above.
R0001 OFF R0300 R0301 R0305 R0308 R0309 ON ON ON OFF OFF
R0001 ON OFF OFF OFF ON ON
NOTE
* This instruction is used together with FUN 144 (step sequence initialize) and FUN 145 (step sequence input).
Instruction Set
199
FLIP FLOP
FUN 147 Flip Flop (F/F) Flip flop with reset input priority.
Related Instructions
flip flop set input reset input
flip flop output
S F/F R A Q
Functions * When set input is ON and reset input is OFF, the device specified by operand A and flip flop output are ON. * When reset input is ON, regardless of the status of the set input, the device specified by operand A and flip flop output are OFF. * When the set input and the reset input are both OFF, the status of the device specified by operand A is not changed; it is held in its prior status.
Input R=1 S=1 R=0 R=1 S=0 R=0
Action
Output OFF ON OFF previous status
Operand
Device opr A name F/F device X Y S L R Z T. I O X W Y W S W LW R W W T Register C D F IW OW I J K Consta nt Index
OOOOO
R010E S F/F R011E R R023F 0 Y0010 ()
O
programming example
Operation * Only when the set input R010E is ON and the reset input R011E is OFF, the output and the device R023F are set to ON. * When the reset input R011E is ON, regardless of the status of the set input R010E, the output and the device R023F are set to OFF. * When both the set input and reset input are OFF, the status of the output and R023F are not changed.
set input reset input
(R010E) (R011E)
Flip flop device (R023F) flip flop output Y0010
200
PROSEC T SERIES
TIMER TRIGGER
FUN 148 Timer Trigger (TRG) Starts up the time count up action.
Related Instructions
Input
[ TRG A ]
time-up output
Functions * The input changes from OFF to ON, the count up action by timer register specified by the operand A, begins from 0, when it reaches the maximum value of 65535, the output is ON. * If the input goes OFF during the count up, the count up action continues. * The timer registers which can be specified by operand A are T000 -T063. The maximum count up is up to 655. 35 seconds.
Operand
Device opr A name timer register X Y S L R Z T. I O X W Y W S W LW R W W T Register C D F IW OW I J K Consta nt Index
O
R0100 03263 [ TRG T016 ] R0002 ()
programming example
Operation * The NO-contact R0100 changes from OFF to ON, the timer register T016 begins the count up from 0. If the NOcontact R0100 changes to OFF during count up, the count up action continues. When the count reaches to the maximum value (65535), the timer device T. 016 and the coil R002 are set to ON. [. . . ] PAGE
FEXP FG FIX FLL FLOG FLT FNEG FOR FPID FPID2 FPID3 FRT FSIN FTAN FUL
floating point exponential function function generator fixed point conversion floating point lower limit floating point logarithm floating point conversion floating point sign inversion FOR-NEXT loop (FOR) floating point PID floating point deviation square PID floating point essential PID floating point square root floating point sine function floating point tangent function floating point upper limit
230 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
H
HTOA hex to ASC11 conversion 62 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
I
I/O INTG IRET direct I/O integral interrupt return 235 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
J
JCR JCS JUMP jump control reset jump control set conditional jump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [. . . ]