A control system and method for translating code from one format to another format
are provided. In particular, code can be received from at least one field device.
In particular, the code is received in a first format, and the received code is
translated into a second format when the first format is different than the second
format. For example, the second format can have a format of a Function Block Logic
language, such as Foundation Fieldbus Function Block Logic language, and the first
format can have a format of a non-Function Block Logic language, such as an IEC
61131-x language.