/
TC_S

TC_S

 

It has only one digital value from TC module. It is used to get only one digital value if the FB name is finished with "_S".

 

 

Variable Name

I/O

Type

Device

BASE

Input

Word

Write Base number 0~16

SLOT

Input

Word

Write Slot number

CM1 : 0 ~ 11 / CM2 : 1 ~ 4 / CM3 : 1 ~ 11

CH

Input

Word

Write Channel number. (Ex. Ch2 : Write 2)

OUTPUT

Output

Word

Write Word type device address that you want to save the converted value

(Except :X / F / TS / TC / CS / CC / S)

 If you write wrong SLOT number or BASE number, CPU will have an error.

 

 

System Library type

  • CM1_TC_S

  • CM2_TC_S

  • CM3_TC_S

 

 

Buffer Memory Index

  • CM1 TC : 21 ~ 28 (Ch.1~8 : Digital conversion value)

  • CM2 TC : 21 ~ 28 (Ch.1~8 : Digital conversion value)

  • CM3 TC : 21 ~ 24 (Ch.1~4 : Digital conversion value)

 

 

Example) CM1_TC_S

 

You can get a digital value from Ch4 at slot #0 in Local base and save it to D00. When it works, D00 will be turned ON.

 

 

Example) CM3_TC_S

 

You can get a digital value from Ch3 at slot #11 and save it to D00.

 

 

Related content