/** * Copyright (c) 2013-2016 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package Moka7; /** * * @author Davide Nardella * @since 1.9.0 */ // See ยง33.19 of "System Software for S7-300/400 System and Standard Functions" public class S7Protection { public int sch_schal; public int sch_par; public int sch_rel; public int bart_sch; public int anl_sch; protected void Update(byte[] Src) { sch_schal = S7.GetWordAt(Src,2); sch_par = S7.GetWordAt(Src,4); sch_rel = S7.GetWordAt(Src,6); bart_sch = S7.GetWordAt(Src,8); anl_sch = S7.GetWordAt(Src,10); } }