Page 1

TI505 Ladder Listing |Serial input from TC-003 temperature sensor to digital input. | |SERIAL INPUT copy of | |T1 input | | X1 C1 | 0+-------] [---------------------------------------------------------( )----+ | | | | |Start bit copy of Start bit | |detect input detected | | C3 C1 C2 | 1+----] [--------]/[----------------------------------+----(SET)----------+-+ | | | | | |bit counter reset | | | | C6 | | | +-----( )-----------+ | |Detect 500mS start pulse | |copy of Start pulse | |input detect | | C1 +----------------+ C3 | 2+---] [----------------------------------+---------+ TMRF 0 +-( )-+ | | | | | | | | P = 350 | | | +---------+ | | | | | | | +----------------+ | |Detect 0 bit = 100mS on , 1 bit = 200mS on. | |Start bit copy of Bit length | |detected input detect | | C2 C1 +----------------+ C4 | 3+----] [-----+---] [------+------+-------+---------+ TMRF 1 +-( )-+ | | | | | | | | | | | | | | P = 130 | | | | | | +---------+ | | | | | | | | | | |timer hold | | +----------------+ | | |on | | | | | C5 | | C4 C5 | | +----] [-----+ +---------------]/[-------------------( )-| | | |Load received bit into V1 shift register | |Bit length | |detect do once | | C4 C8 +-----------------+ +-----------------+ C1 V1.0 | 4+----] [--+--]/[------+ MULT +-+ MOVW +-] [----(SET)-+ | | | | | | | | | | A : V1 | | A : V101 | | | | | B : 2 | | B : V1 | | | | | CC: V100 | | N = 1 | | | | +-----------------+ +-----------------+ | | | do once| | | C8 | | +-----------------------------------------------------------( )-+ | Count 16 bits received | |Start bit Bit length | |detected detect bit counter | | C2 C4 +----------------+ C7 | 5+----] [--------] [--------------------------------+ CTR 2 +-( )-+ | | | | | C6 C7 | P : 16 | | +----]/[--------]/[--------------------------------+ | | | +----------------+ | |Temperature reading in degC x 10 is in V2 | | | |bit counter | | C7 +-------------+ C2 | 6+-----] [------------------------+ MOVW +---------------------(RST)-+ | | | | | | A : V1 | | | | B : V2 | | | | N = 1 | | | +-------------+ | | | 7+--------------------------------------------------------------------[END]-+

http://www.veederline.com.au/mmedia/TCE/TI505%20PLC1  

http://www.veederline.com.au/mmedia/TCE/TI505%20PLC1.pdf

Read more
Read more
Similar to
Popular now
Just for you