Download Modicon M340 Using Unity Pro S
Transcript
Modicon M340 PLCs Addressing Example of Modicon M340 CANopen Addressing At a Glance With this type of addressing, a master station can access different slaves connected to CANopen bus. Addressing Rules The syntax of CANopen addressing is ADDM (‘r.m.c.node’) . The meaning of the string parameter is as follows: z z z z r: rack address. The processor’s rack address is always 0. m: module address. The Modicon M340 processor’s slot number in the rack is always 0. c: channel address. The Modicon M340 CANopen port is always channel 2. node: slave number to which the request is being sent. The range for configured slave numbers is from 1 to 127. Example In the following example, the Modicon M340 processor’s bus manager addresses the Lexium 05 device at connection point 28: Address settings of slave 28: ADDM(‘0.0.2.28’). NOTE: In addition to the address defined by ADDM, the READ_VAR and WRITE_VAR functions use another parameter NUM, which must be defined to address the SDO to be read or written. 35013341 07/2011 51