Amr Hassan
Member
- Join Date
- May 2005
- Posts
- 340
hi
i am converting s5 to s7 program
as i understand this function converts the integer to bcd , therfore it should be equivelant to to ITB in s7
but when i see the output parameters of the s5 function , there is a bcd1 which is a word a bcd2 which is a byte
in s7 the result is in one word only , can someone explain to me what should be the contents of bcd1 and bcd2 so that i can create a function having the same parameters
best regards
i am converting s5 to s7 program
as i understand this function converts the integer to bcd , therfore it should be equivelant to to ITB in s7
but when i see the output parameters of the s5 function , there is a bcd1 which is a word a bcd2 which is a byte
in s7 the result is in one word only , can someone explain to me what should be the contents of bcd1 and bcd2 so that i can create a function having the same parameters
best regards