Functional description and allocation of terminal pins Manual BG41/BG42/BG43
3-62 Rev. 99/49
Cycle OB
OB1
:SPA FB 52
NAME #ANA_IN
ADR =KF +128 Base address of the SSM PY128
K/EI =KY 1,1 Module’s channel number, number of the input
channel
WERT =MW 20 Flag word MW20 for the analogue input value
FEHL =MB 55 Error code to be filed in MB55
:SPA FB 57
NAME #IN_MW
ADR =KF +128 Base address of the SSM PY128
K/EI =KY 1,1 Module’s channel number, number of the input
channel
WERT =MW 20 Flag word MW20 for the analogue input value
FEHL =MB 55 Error code to be filed in MB55
:A DB20 Open data block DB20
:SPA FB 58
NAME #IN_DW
ADR =KF +128 Base address of the SSM PY128
K/EI =KY 1,1 Module’s channel number, number of the input
channel
WERT =DW 20 Data word DW20 for the analogue input value
FEHL =MB 55 Error code to be filed in MB55
:SPB FB 53
NAME #ANA_OUT
ADR =KF +128 Base address of the SSM, PY128
K/OU =KY 1,1 Module’s channel number, number of the output
channel
WERT =MW 52 Flag word MW52 for the analogue output value
FEHL =MB 54 Error code to be filed in MB54