Practical TCP/IP and Ethernet Networking... Steve Mackay Practical Data Communications for Instrumentation and Control Steve Mackay, Edwin Wright, John Park Practical Digital Signal Pr
Trang 2Practical TCP/IP and Ethernet Networking
Trang 3Steve Mackay)
Practical Data Communications for Instrumentation and Control (Steve Mackay,
Edwin Wright, John Park)
Practical Digital Signal Processing for Engineers and Technicians (Edmund Lai) Practical Electrical Network Automation and Communication Systems (Cobus
Strauss)
Practical Embedded Controllers (John Park)
Practical Fiber Optics (David Bailey, Edwin Wright)
Practical Industrial Data Networks: Design, Installation and Troubleshooting (Steve
Mackay, Edwin Wright, John Park, Deon Reynders)
Practical Industrial Safety, Risk Assessment and Shutdown Systems for
Instrumentation and Control (Dave Macdonald)
Practical Modern SCADA Protocols: DNP3, 60870.5 and Related Systems (Gordon
Clarke, Deon Reynders)
Practical Radio Engineering and Telemetry for Industry (David Bailey)
Practical SCADA for Industry (David Bailey, Edwin Wright)
Practical TCP/IP and Ethernet Networking (Deon Reynders, Edwin Wright)
Practical Variable Speed Drives and Power Electronics (Malcolm Barnes)
Trang 4Practical TCP/IP and
Ethernet Networking
Deon Reynders Pr Eng, BSc BEng, BSc Eng (Elec)(Hons), MBA
Edwin Wright MIPENZ, BSc(Hons), BSc(Elec Eng), IDC Technologies, Perth, Australia
Trang 5
Copyright 2003, IDC Technologies All rights reserved
No part of this publication may be reproduced in any material form (including
photocopying or storing in any medium by electronic means and whether
or not transiently or incidentally to some other use of this publication) without
the written permission of the copyright holder except in accordance with the
provisions of the Copyright, Designs and Patents Act 1988 or under the terms of
a licence issued by the Copyright Licensing Agency Ltd, 90 Tottenham Court Road, London, England W1T 4LP Applications for the copyright holder’s written
permission to reproduce any part of this publication should be addressed
to the publisher
British Library Cataloguing in Publication Data
A catalogue record for this book is available from the British Library
ISBN 07506 58061
Typeset and Edited by Vivek Mehra, Mumbai, India
(vivekmehra@tatanova.com)
Printed and bound in Great Britain
For information on all Newnes publications, visit
our website at www.newnespress.com
Trang 66XKLGIK ^\OO
1 /T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