Definición de la estructura de ejecución y los OB del programa de PLC
7.5 Ejemplos de programación (SCL)
SCL
IRAuxfuT := FALSE,
IRAuxfuH := FALSE,
IRAuxfuE := FALSE,
OpKeyNum := 0,
Op1KeyIn := NULL,
Op1KeyOut := NULL,
Op1KeyBusAdr := 0,
Op2KeyIn := NULL,
Op2KeyOut := NULL,
Op2KeyBusAdr := 0,
Op1KeyStop := FALSE,
Op2KeyStop := FALSE,
Op1KeyNotSend := FALSE,
Op2KeyNotSend := FALSE,
OpUnitCommId :=1,
OpUnitInterfaceId :=262,
MCP1ConnectionId :=1001,
MCP2ConnectionId :=1002,
HTConnectionId :=1003,
Op1KeyConnectionId :=1004,
Op2KeyConnectionId :=1005,
IdentConnectionId :=1006,
MCP1LocalUdpPort :=16001,
MCP2LocalUdpPort :=16002,
HTLocalUdpPort :=16003,
Op1KeyLocalUdpPort :=16004,
Op2KeyLocalUdpPort :=16005,
IdentLocalUdpPort :=16006,
MaxModeGroup => "LBP_ConfigData".MaxModeGroup,
MaxChan => "LBP_ConfigData".MaxChan,
MaxAxis => "LBP_ConfigData".MaxAxis,
ActiveChan => "LBP_ConfigData".ActiveChan,
ActiveAxis => "LBP_ConfigData".ActiveAxis,
MaxNumUserDataInt => "LBP_ConfigData".MaxNumUserDataInt,
MaxNumUserDataHex => "LBP_ConfigData".MaxNumUserDataHex,
MaxNumUserDataReal => "LBP_ConfigData".MaxNumUserDataReal,
UserDataIntArray => NULL,
UserDataHexArray => NULL,
UserDataRealArray => NULL,
TMMagazines => NULL);
//INSERTAR PROGRAMA DE USUARIO AQUÍ
46
Manual de funciones, 01/2023, A5E47437861E AF
PLC