Toshiba T2 Series user manual CPU Setup for the Modbus Module

Page 21

7. CPU Setup for the Modbus Module

Two lines of ladder logic are necessary to configure a T2 CPU for use with the Modbus module.

1Communications Priority: To insure uninterrupted communications between the CPU and the Modbus module, the communications priority bit S0158 must be set ON.

2.Initialization: To initialize the Modbus module, write the initialization parameter into data register D1470. Register D1470 must be set to H5555 (21845 Decimal) before the Modbus module will start communicating.

When using the Modbus module, the above logic should be placed in Block 1, Rung 1 and Rung 2 of the PLC program.

Page 15

Image 21
Contents Prosec T2-Series Important Information Hazard Classifications Safety PrecautionsAbout This Guide Contents Page Overview System Configuration To 1 ConfigurationModbus Module To N Configuration External Features and Switch Settings Specifications Modbus Function Code T2 Command Modbus Module Operation Modbus CommandsModbus Data Types and T2 Register Mapping Data Type Attribute Modbus No OffsetReg/Device Address T2 Modbus T2 Address mapping Example Restricted RegistersModbus Module Setup Modbus Module DIP Switch SettingsStation Number Reserved BR2 BR1 BR0Parity Check ASY and DLY switchesParity PEN EVNExample Configuration Settings ASY DLY Had BR2 BR1 BR0 PEN EVN Wiring Connection to the Modbus Module CPU Setup for the Modbus Module Trouble Shooting If the LED indicators are not flashing, check the followingIf the LED indicators are on solid Additional References Toshiba do BRASIL, S.A Toshiba International Corporation Toshiba Corporation