Skip to main content

4.2.9. SW220~249 Relay– GE Variables

4.2.9. SW220~249 Relay– GE Variables

 

l  Code

1101~1128

GE1 ~ GE128

The GE variable index is code-1000.

 

 

l  Reading / Writing

Reading

Continuously updated.

Reading 4 bytes of GE[index] - GE[index+3] as low word and high words

Writing

When the system variable index value changes (value should be 3100131128), the value inputted in the data low word will go through type conversion and then set in the GE variable.

 

 

l  Example (when using slot 1 and slot 2)

SW220

31001(dec)

Index: Setting GE (30000-based)

SW221

2(hex)

Setting 2 to GE1

SW222

-

SW223

31004(dec)

SW224

37(hex)

Setting 55 to GE4

SW225

-

SW220

1001(dec)

Index: Reading GE1 (0-based)

SW221

0002(hex)

SW222

3700(hex)

SW223

1002(dec)

Index: Reading GE2 (0-based)

SW224

0000(hex)

SW225

0037(hex)