Analog Outputs - Bipolar ( -+10V )

Hi, I’m having some issues trying to write a negative value to a analog output set as -10V to 10V. In the DataList I can only assign a UINT and a WORD but not an INT ( which is a 16 bits ) to the process data of type Bitstring16.
I’m using a AXL F AI2AO2 module with the outputs set as -+10V.
Do you have any suggestions ? Thank you.

Hello jordisita,
according to the data sheet of your module, a value of + 10 V is represented by the hexadecimal value 7530 or 30000 decimal. A value of -10 V is represented by a hexadecimal value of 8AD0 or -30000 decimal. You can also download a library from the PLCnext store PLCnext Store | AXL_Analog. It contains a specific function block for your module.

hi Stefan, thanks for the quick response. I totally overlooked the IO hex column in the datasheet :slight_smile: . haha.
image.png