```pascal #Type_01.IN_CPM_Max := WORD_TO_INT(PEEK_WORD(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 30)); #Type_01.IN_Diammeter_Step := WORD_TO_INT(PEEK_WORD(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 34)); #Type_01."IN_Adjustement_%" := WORD_TO_INT(PEEK_WORD(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 40)); #Type_01."IN_Minimun_%" := WORD_TO_INT(PEEK_WORD(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 42)); POKE(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 20, value := #"01_Signal_type"); POKE(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 4, value := #"01_Signal_PEW"); POKE(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 60, value := ROUND_UINT(#Type_01."OUT_ACT_Speed%")); POKE(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 64, value := ROUND_UINT(#Type_01.OUT_ACT_CPM)); POKE(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 66, value := ROUND_UINT(#Type_01.OUT_ACT_mm_sec)); POKE(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 62, value := ROUND_UINT(#Type_01.OUT_ACT_Use)); POKE(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 68, value := ROUND_UINT(#Type_01.OUT_PEW)); POKE(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 56, value := DINT_TO_UDINT(#"01_Signal_Ethernet_IN" * 10)); POKE(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 80, value := DINT_TO_UDINT(#"02_Signal_Ethernet_IN" * 10)); POKE(area := #cArea_DB, dbNumber := #Machine_DB, byteOffset := 106, value :=ROUND_UDINT(#Type_01.OUT_ACT_CPM * 60.0)); ``` ![[Pasted image 20240508153312.png]] * cArea_DB = 16#84 // Input AREA