Jump to content

Modbus_New_V5_1-[259]-(Courtesy of SleepyWombat)


Recommended Posts

Posted
Hello I have been experimenting with the ModbusPM code posted by Sleepy Wombat, using a CJ1M/CPU21 with an SCU32 connected to my laptop via a MOXA Uport 1150 RS485 to USB adapter. I am running the code without modification (other than the necessary CPU and Comms changes) and am using Multiway in slave mode on the PC. Testing the Read_03 ladder of the Master_sample: 1) This works perfectly when Multiway is connected. 2) The error loop is never entered when Multiway is disconnected. P1_Seq_Aborted (1509.13) never becomes true. P1_Seq_End behaves correctly. I haven't been able to find a description of the conditions under which P1_Seq_Aborted changes value. 3) The RD1 light on the SCU32 always flashes in 2-wire mode, but operates correctly in 4-wire mode. I would be grateful for comments on these observations and some pointers towards the appropriate documentation. I have been using Microsoft windows search on the following: Serial Communications-cj1w-scu_ds_csm2151 M11R1330405-FunctionBlockIntro W336-E1-10+CS-CJ-Series+OperManual w340e1_3 - CS1G and H W344-E1-12-CX-Protocol V1.9 Operation Manual w347-e1-06-DevicenetSlaves W394-E1-14+CS-CJ-Series+ProgrammingManual W462-E1-07+CP1L-CPU+OperManual - Has EasyModbus W472-E1-08 W473-E1-07+CJ2+Software+UsersManual W474-E2-08A+CJ_CS+InstrManual w494-e1-01-CJ-series CJ1W-SCU_SerialComms Many thanks in advance for any help you can give me - Edmund
Posted
Manual to be referenced is W336-E1-10 : SYSMAC CS/CJ Series - Serial Communications Boards and Serial Communications Units - Programming Manual. The correct field to be used is Sequence Abort Completion Flag - (1509.10 for unit 0) I'd be glad if someone will confirm this. Regards - Edmund
Posted
Can someone throw any light on Point 3? [3) The RD1 light on the SCU32 always flashes in 2-wire mode, but operates correctly in 4-wire mode.] Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...