/
LOADCELL_M

LOADCELL_M

It has digital value from Loadcell module and this digital value will be save in D device.  It is used to get more than two digital values if the FB name is finished with "_M".

 

 

Variable Name

I/O

Type

Device

BASE

Input

Word

Write Base number 0~16

SLOT

Input

Word

Write Slot number

CM1 : 0 ~ 11

ADDR

Input

Word

Write D address. (Ex. D150 : Write 150)

SIZE

Input

Word

Write number of Channel

(Ex. Ch.1 : Write 1, Ch.1~3 : Write 3)

OUTPUT

Output

Bit

When it works, it will be turned ON

Tip : The converted value is composed high and low. (Double Word)

For example, if you write 150 at the ADDR and 2 at the SIZE, the value will be saved as below.

Channel1 AD converted high word value → D150

Channel1 AD converted low word value → D151

Channel2 AD converted high word value → D152

Channel2 AD converted low word value → D153

 

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

According to CPU type, D device address range will be different.

 

 

System Library type

  • CM1_LOADCELL_M

 

 

Buffer Memory Index

  •  CM1 Loadcell : 12 / 27 / 42 / 57 (Ch.1~4 : AD converted value)

 

 

Example) CM1_LOADCELL_M

 

You can get a digital value from Ch1 to Ch4 at slot #0 in 1st expansion base and save them to D2000, D2001, D2002, and D2003 in sequence. When it works, M500 will be turned ON.

 

 

 

Related content