Bagaimana cara mengkonvert word( enumeration) pada string display di hmi gxu3512 ilmu saya terbatas, setahu saya 1 word sama dengan 1 karakter asci , mohon berbagi bapak2 rekan2 abang2 dan terutama expert2 do group ini
Solved! Go to Solution.
Halo @SaukiBullah ,
1 WORD tidak sama dengan 1 ASCII.
1 WORD = 2 Byte = 16 bit (0-65535)
1 huruf ASCII = 1 Byte = 8 Bit (0-255)
tapi untuk di komunikasi modbus, biasanya 1 ASCII di tempatkan pada 1 register (1 WORD).
untuk konversi bisa cek Table ASCII untuk masing-masing value (1-128)
Thanks
Halo @SaukiBullah ,
1 WORD tidak sama dengan 1 ASCII.
1 WORD = 2 Byte = 16 bit (0-65535)
1 huruf ASCII = 1 Byte = 8 Bit (0-255)
tapi untuk di komunikasi modbus, biasanya 1 ASCII di tempatkan pada 1 register (1 WORD).
untuk konversi bisa cek Table ASCII untuk masing-masing value (1-128)
Thanks
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!